Hi!
I wrie automated tests for Android native application and forced with scroll/swipe problem.
I need to scroll through Android application, and use next method for this : http://appium.io/docs/en/commands/interactions/touch/scroll/22
TouchActions action = new TouchActions(driver);
action.scroll(element, 10, 100);
action.perform();
But in first line I’m getting an exception " java.lang.ClassCastException: io.appium.java_client.android.AndroidDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen"
My environment is: java, jdk 1.8.0_65, appium 1.6.1
created
Aug '18last reply
Dec '18- 4
replies
- 1.2k
views
- 4
users
- 1
like
- 2
links