There was an error while loading. Please reload this page.
2 parents c3e30d7 + d7874ca commit 0721b56Copy full SHA for 0721b56
src/main/java/io/appium/java_client/TouchAction.java
@@ -105,9 +105,11 @@ public TouchAction moveTo(WebElement el) {
105
}
106
107
/**
108
- * Move current touch to an absolute position on the screen
109
- * @param x x coordinate
110
- * @param y y coordinate
+ * Move current touch to a new position relative to the current position on
+ * the screen. If the current position of this TouchAction is (xOld, yOld),
+ * then this method will move the TouchAction to (xOld + x, yOld + y).
111
+ * @param x change in x coordinate to move through
112
+ * @param y change in y coordinate to move through
113
* @return this TouchAction, for chaining
114
*/
115
public TouchAction moveTo(int x, int y) {
0 commit comments