scrollObject.put(“toVisible”, “true”);
scrollObject.put(“element”, elementID);
driver.executeScript(“mobile: scroll”, scrollObject);
The above code scrolls the entire page. but doesnt stop the scrolling at the place of element.
Appium version 1.14