|
32 | 32 | * @method void dismiss_alert() Dismisses the currently displayed alert dialog. |
33 | 33 | * @method void doubleclick() Double-clicks at the current mouse coordinates (set by moveto). |
34 | 34 | * @method array execute_sql($jsonQuery) Execute SQL. |
35 | | - * @method array file($jsonFile) Upload file. |
| 35 | + * @method array execute_async($jsonScript) Inject a snippet of JavaScript into the page for execution in the context of the currently selected frame. |
| 36 | + * @method string file($jsonFile) Upload file. |
36 | 37 | * @method void forward() Navigates forward in the browser history, if possible. |
37 | 38 | * @method void keys($jsonKeys) Send a sequence of key strokes to the active element. |
38 | 39 | * @method array getLocation() Get the current geo location. |
39 | 40 | * @method void postLocation($jsonCoordinates) Set the current geo location. |
| 41 | + * @method void moveto($jsonElementCoordinates) Move the mouse by an offset of the specified element. |
40 | 42 | * @method string getOrientation() Get the current browser orientation. |
41 | 43 | * @method void postOrientation($jsonOrientation) Set the current browser orientation. |
42 | 44 | * @method array print() Print page. |
@@ -93,6 +95,7 @@ protected function methods() |
93 | 95 | 'execute_sql' => array('POST'), |
94 | 96 | 'keys' => array('POST'), |
95 | 97 | 'location' => array('GET', 'POST'), |
| 98 | + 'moveto' => array('POST'), |
96 | 99 | 'orientation' => array('GET', 'POST'), |
97 | 100 | 'window_handle' => array('GET'), // see also getWindowHandle() |
98 | 101 | 'window_handles' => array('GET'), |
|
0 commit comments