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

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.

With 1.4 following were applicable for scrolling

scrollTo()
scrollToText()
swipe()
TouchActions class - moveToElement()

2 months later