Have tried several of the methods mentioned in these forms already. the problem im running into is that the double tap on android is performing inconsistently, and will often register as two slow single taps, which doesnt work for what we are testing.
Here are couple of things we have tried:
actions = TouchAction(driver)
actions.double_tap(element)
actions.perform()
action = TouchAction(self.driver)
action.tap(element=element, count=2).perform()
new TouchAction(driver).press(element).release().perform().press(element).release().perform();
On Android platform a double tap action should have the following limitations to be recognised properly:
move cursor to the target position
pointer down
delay for not more than 100ms
pointer up
delay for 40 to 300 ms
pointer down
delay for not more than 100ms
pointer up
perform
Read https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/actions.md and https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/ViewConfiguration.java#121 for more details
gorphas
February 10, 2021, 5:03pm
3
thank you this seems to be working for android.