New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TouchAction.moveTo() assumes relative coordinates on iOS and absolute coordinates on Android #5847
Comments
@rshanley - please try Appium 1.5 Let me know if the issue persists. |
@scottdixon this issue still persists. we have been using a workaround. |
Can confirm this is reproducible with the python client on Appium 1.5.3. |
Closing. If this problem still occurs on Appium 1.6.x please post the error logs and I'll re-open it. |
At the time of giving "(new TouchAction(driver)).tap(341, 44).perform();" this below mention error is showing. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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()
The text was updated successfully, but these errors were encountered: