mirror of
https://github.com/appium/appium.git
synced 2026-05-03 08:51:18 -05:00
Bring 0.18.x changes into 1.0 branch
This commit is contained in:
@@ -244,6 +244,7 @@ cases.
|
||||
JavascriptExecutor js = (JavascriptExecutor) driver;
|
||||
HashMap<String, String> scrollObject = new HashMap<String, String>();
|
||||
scrollObject.put("direction", "down");
|
||||
scrollObject.put("element", ((RemoteWebElement) element).getId());
|
||||
js.executeScript("mobile: scroll", scrollObject);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user