Skip to content Skip to sidebar Skip to footer

Double Tap In Ios Simulator Not Working

I am trying to double tap an element in IOS Simulator using appium but unable to do so. Methods tried: action.tap(x=xx, y=yy, count=1).release().perform() 2 times in a row,but i

Solution 1:

I call it in a similar way the first method you listed, its not as fast as double tap, but its less than one second delay Appium::TouchAction.new.tap(x: xx, y: yy, count: 2).perform

.tap dont need to use release, only .press need it

Solution 2:

You should do both of the press commands before calling perform():

action.press(x=xx, y=yy).release().wait(500).press(x=xx, y=yy).release().perform()

Post a Comment for "Double Tap In Ios Simulator Not Working"