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.