Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comments on Java Actions.moveToElement #6974

Merged
merged 2 commits into from
Apr 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/client/src/org/openqa/selenium/interactions/Actions.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public Actions doubleClick() {

/**
* Moves the mouse to the middle of the element. The element is scrolled into view and its
* location is calculated using getBoundingClientRect.
* location is calculated using getClientRects.
* @param target element to move to.
* @return A self reference.
*/
Expand All @@ -365,7 +365,7 @@ public Actions moveToElement(WebElement target) {

/**
* Moves the mouse to an offset from the center of the element.
* The element is scrolled into view and its location is calculated using getBoundingClientRect.
* The element is scrolled into view and its location is calculated using getClientRects.
* @param target element to move to.
* @param xOffset Offset from the center. A negative value means coordinates left from
* the element.
Expand Down