When I navigate to webview after positioning page elements, how to achieve by scrolling the screen.
I tried several ways, but did not take effect.
Please tell me how appium can be used to slide the screen on the webview
【
JavascriptExecutor scroll = (JavascriptExecutor) driver;
scroll.executeScript(“window.scrollBy(0, 250)”, “”);
or
driver.swipe(width / 4, height / 2, width * 3 / 4, height / 2, during);
None of them have any effect
】
thanks