Hello!
So I'm currently trying scroll to a button that is not shown unless I scroll down on the page.
Basically all searches I do I get the impression im supposed to use "scrollTo()" method but it doesnt work in the
v1.4.16 appium version im using together with java client 4.1.2.
Tried the following:
1. touchActions() but I just can't grap how Im supposed to make it work.
- A javascript executor like this
`JavascriptExecutor js = (JavascriptExecutor) driver;
HashMap HiddenButton= new HashMap();
HiddenButton.put("direction", "down");
js.executeScript("mobile: scroll", HiddenButton);
This code snippet gives me :org.openqa.selenium.WebDriverException: ERROR running Appium command: string is not a function .
So my question to you guy is, how do I scroll down to the buttom of a native app page easiest?
Appreciate all help.
Java, Appium, POM, TestNG,
`