Answers for "ios appium scroll to element"

0

ios appium scroll to element

TouchActions action = new TouchActions(driver);
action.scroll(element, 10, 100);
action.perform();
Posted by: Guest on August-14-2020
0

ios appium scroll to element

// Java
JavascriptExecutor js = (JavascriptExecutor) driver;
Map<String, Object> params = new HashMap<>();
params.put("direction", "down");
params.put("element", ((RemoteWebElement) element).getId());
js.executeScript("mobile: swipe", params);
Posted by: Guest on August-14-2020

Browse Popular Code Answers by Language