Hi,
I use appium 1.6.0 and java. When I try to long press on an element, I get an error of:
org.openqa.selenium.WebDriverException: Support for gestures other than Tap is not yet implemented. Please contact an Appium dev (WARNING: The server did not provide any stacktrace information)
Make sure your positions are correct. I was seeing that error message when my positions where incorrect. I was implementing a UISlider slider animation.
@d.iheaka Are you able to swipe from bottom to the top to bring the Wi-Fi control panel? Please send me your code. I am using python client and I am able to swipe from left to right and top to bottom. However, swiping from bottom to the top and right to left does not work. Here is my code that swipes from left to right:
action = TouchAction(self.driver)
action
.press(x=0, y=300)
.waitAction(int(10))
.move_to(x=768, y=300)
.release()
action.perform()
Could you help with what I need to do to swipe from right to left and bottom to top? Window size in my case is {u’width’: 768, u’height’: 1024}
Thanks!
Unfortunately not @kmec, I’ve been able to do the same gestures as the ones you mentioned but still not able to implement from Bottom to the Top I’m afraid.