Skip to content

Commit feaf742

Browse files
committed
Closes #137 - revert 99b3135 "fixes #118 - remove obsolete moveto()"
1 parent e00cba2 commit feaf742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/WebDriver/Session.php

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* @method void keys($jsonKeys) Send a sequence of key strokes to the active element.
3838
* @method array getLocation() Get the current geo location.
3939
* @method void postLocation($jsonCoordinates) Set the current geo location.
40+
* @method void moveto($jsonCoordinates) Move the mouse by an offset of the specified element (or current mouse cursor).
4041
* @method string getOrientation() Get the current browser orientation.
4142
* @method void postOrientation($jsonOrientation) Set the current browser orientation.
4243
* @method array print() Print page.
@@ -93,6 +94,7 @@ protected function methods()
9394
'execute_sql' => array('POST'),
9495
'keys' => array('POST'),
9596
'location' => array('GET', 'POST'),
97+
'moveto' => array('POST'),
9698
'orientation' => array('GET', 'POST'),
9799
'window_handle' => array('GET'), // see also getWindowHandle()
98100
'window_handles' => array('GET'),

0 commit comments

Comments
 (0)