I am automating a hybrid app and I want scroll vertically from top to bottom in a page which is in web view. I am using java client-5.0.4 and appium version is v1.7.2
You can swipe in an app with appium using the press
method. Eg :
TouchAction().press(el0).moveTo(el1).release()
It also works with coordinates if you wish to use that instead of webelements.
More information on touch actions can be found here : https://appium.io/docs/en/writing-running-appium/touch-actions/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.