Skip to content

Commit 84569a5

Browse files
committed
Set origin of move when using W3C actions
Assuming relative to the current position of the mouse.
1 parent 6889cd7 commit 84569a5

File tree

1 file changed

+1
-1
lines changed
  • java/client/src/org/openqa/selenium/interactions

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/interactions/Actions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public Actions moveByOffset(int xOffset, int yOffset) {
432432
}
433433

434434
return tick(
435-
defaultMouse.createPointerMove(Duration.ofMillis(200), null, xOffset, yOffset));
435+
defaultMouse.createPointerMove(Duration.ofMillis(200), Origin.pointer(), xOffset, yOffset));
436436
}
437437

438438
/**

0 commit comments

Comments
 (0)