Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TouchAction.moveTo() assumes relative coordinates on iOS and absolute coordinates on Android #5847
Using Appium Java Client 3.2.0
TouchAction.moveTo(int x, int y) assumes absolute coordinates on Android.
On iOS however it assumes relative coordinates.
This breaks the platform independence.
We recreated this with the following Java test:
new TouchAction(driver).longPress(start.getX(), start.getY()).moveTo(end.getX(), end.getY()).release().perform()