File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/client/src/org/openqa/selenium/interactions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -364,12 +364,12 @@ public Actions moveToElement(WebElement target) {
364
364
}
365
365
366
366
/**
367
- * Moves the mouse to an offset from the top-left corner of the element.
367
+ * Moves the mouse to an offset from the center of the element.
368
368
* The element is scrolled into view and its location is calculated using getBoundingClientRect.
369
369
* @param target element to move to.
370
- * @param xOffset Offset from the top-left corner . A negative value means coordinates left from
370
+ * @param xOffset Offset from the center . A negative value means coordinates left from
371
371
* the element.
372
- * @param yOffset Offset from the top-left corner . A negative value means coordinates above
372
+ * @param yOffset Offset from the center . A negative value means coordinates above
373
373
* the element.
374
374
* @return A self reference.
375
375
*/
You can’t perform that action at this time.
0 commit comments