driver.swipe (int startx,int start y ,end x,end y , time) does not work in Appium 1.6.5
self.get_driver().swipe(346, 124,-100,124,1000);
Tried mobile:swipe as well
self.get_driver().execute_script(‘mobile: swipe’, {‘direction’: ‘Left’, ‘element’: element})
Tried touch action action = TouchAction(self.get_driver());
action.press(self.task1,346, 124).wait(2000).move_to(self.task1,-100, 124).release().perform();
What the java client version u r using?
Python client version 0.22 2
I am using java client version latest BETA. And facing issues with swipe.
Try with JavaScriptExecutor.
Sample code for mobile gestures is available @ Mobile Gestures
Even I faced the same issue with Swipe, PickerWheel with inbuilt methods. Then I started using the JavaScriptExecutor and after that I am not facing any issues.
Swipe method is deprecated in latest Appium . Please use touch action class
for any swipe or scroll