Bring 0.18.x changes into 1.0 branch

This commit is contained in:
Jonathan Lipps
2014-04-09 10:57:07 -07:00
4 changed files with 27 additions and 20 deletions
+1
View File
@@ -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);
```