GlobalMouse Class
Global mouse object handling global mouse commands
Constructor
Item Index
Methods
_moveTo
(
protected
-
elementId
-
xOffset
-
yOffset
Move the mouse by an offset of the specified element. If no element is specified, the move is relative to the current mouse cursor. If an element is provided but no offset, the mouse will be moved to the center of the element. If the element is not visible, it will be scrolled into view.
_requestJSON
(
private
-
method
-
path
-
[body]
Performs a context dependent JSON request for the current session. The result is parsed for errors.
Returns:
:
click
(
-
[button=Mouse.BUTTON_LEFT]
Click any mouse button at the current location of the mouse cursor
Parameters:
-
[button=Mouse.BUTTON_LEFT]
Number optional
clickAt
(
-
xOffset
-
yOffset
-
[button=Mouse.BUTTON_LEFT]
Click any mouse button at an offset relative to the current location of the mouse cursor
doubleClick
()
Double-clicks at the current location of the mouse cursor
doubleClickAt
(
-
x
-
y
Double-clicks at the current location of the mouse cursor