Could anyone help with scrolling in iOS.
created
May '18
last reply
Aug '18
- 3
replies
- 606
views
- 3
users
Could anyone help with scrolling in iOS.
Try with this (Using Appium 1.8.0 and Java client 5.0.4 +):
new TouchAction(driver.getDriver()).press(x_start, y_start).waitAction(Duration.ofMillis(1000)).moveTo(x_end, y_end).waitAction(Duration.ofMillis(1000)).release().perform();
You need to insert start x, y coordinates and end x, y coordinates.