Skip to content

Commit e492075

Browse files
committed
Merge pull request php-webdriver#284 from javigomez/patch-1
Enhance moveToElement method description
2 parents 054cae0 + 0f3048f commit e492075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Interactions/WebDriverActions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ public function moveByOffset($x_offset, $y_offset) {
168168
}
169169

170170
/**
171-
* Move to the middle of the given WebDriverElement. If offset are provided,
172-
* move the an offset from the top-left cornerof that element.
171+
* Move to the middle of the given WebDriverElement.
172+
* Extra shift, calculated from the top-left corner of the element, can be set by passing $x_offset and $y_offset parameters.
173173
*
174174
* @param WebDriverElement $element
175175
* @param int $x_offset

0 commit comments

Comments
 (0)