File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 4848 * @method void postAlert_text($jsonText) Sends keystrokes to a JavaScript prompt() dialog.
4949 * @method void accept_alert() Accepts the currently displayed alert dialog.
5050 * @method void dismiss_alert() Dismisses the currently displayed alert dialog.
51- * @method void moveto($jsonCoordinates) Move the mouse by an offset of the specified element (or current mouse cursor).
5251 * @method void click($jsonButton) Click any mouse button (at the coordinates set by the last moveto command).
5352 * @method void buttondown() Click and hold the left mouse button (at the coordinates set by the last moveto command).
5453 * @method void buttonup() Releases the mouse button previously held (where the mouse is currently at).
@@ -305,7 +304,7 @@ public function moveto($parameters)
305304 {
306305 try {
307306 $ result = $ this ->curl ('POST ' , '/moveto ' , $ parameters );
308- } catch (WebDriverException \ScriptTimeout ) {
307+ } catch (WebDriverException \ScriptTimeout $ e ) {
309308 throw WebDriverException::factory (WebDriverException::UNKNOWN_ERROR );
310309 }
311310
You can’t perform that action at this time.
0 commit comments