This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 2
Nov 2017

Hi all,
I am using java-client-5.0.4 for iOS simulator (Xcode8 iphone 6s) to perform the swiping bottom to top action.
I found that name of the API : public TouchAction moveTo(int x, int y) is misleading:

The correct approach should be:

action.press(startX, startY).waitAction(Duration.ofSeconds(2)).moveTo(deltaX, deltaY).release().perform();

Instead of:

action.press(startX, startY).waitAction(Duration.ofSeconds(2)).moveTo(endX, endY).release().perform();

Thanks.