Using native_app context here, and I still get the message "Not yet implemented" when trying to scroll left/right with javascript executor.
In our case, we cannot scroll to text because it is a horizontal row of images buttons with no text. I just need to scroll to last item listed on the far right.
Using latest appium 1.4.1 and java client 2.2.0.
Am I doing something wrong?
Using doc provided via the docs:
Of course with my own different coordinate points, but pretty much directly as per the doc.
JavascriptExecutor js = (JavascriptExecutor) driver;
HashMap swipeObject = new HashMap();
swipeObject.put("startX", 0.95);
swipeObject.put("startY", 0.5);
swipeObject.put("endX", 0.05);
swipeObject.put("endY", 0.5);
swipeObject.put("duration", 1.8);
js.executeScript("mobile: swipe", swipeObject);