A click action.
Indicates which mouse button was pressed during the click. One of left, right, wheel, back, or forward.
left
right
wheel
back
forward
Specifies the event type. For a click action, this property is always click.
click
The x-coordinate where the click occurred.
The y-coordinate where the click occurred.
The keys being held while clicking.
A double click action.
The keys being held while double-clicking.
Specifies the event type. For a double click action, this property is always set to double_click.
double_click
The x-coordinate where the double click occurred.
The y-coordinate where the double click occurred.
A drag action.
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg
[ { x: 100, y: 200 }, { x: 200, y: 300 } ]
The x-coordinate.
The y-coordinate.
Specifies the event type. For a drag action, this property is always set to drag.
drag
The keys being held while dragging the mouse.
A collection of keypresses the model would like to perform.
The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.
Specifies the event type. For a keypress action, this property is always set to keypress.
keypress
A mouse move action.
Specifies the event type. For a move action, this property is always set to move.
move
The x-coordinate to move to.
The y-coordinate to move to.
The keys being held while moving the mouse.
A screenshot action.
Specifies the event type. For a screenshot action, this property is always set to screenshot.
screenshot
A scroll action.
The horizontal scroll distance.
The vertical scroll distance.
Specifies the event type. For a scroll action, this property is always set to scroll.
scroll
The x-coordinate where the scroll occurred.
The y-coordinate where the scroll occurred.
The keys being held while scrolling.
An action to type in text.
The text to type.
Specifies the event type. For a type action, this property is always set to type.
type
A wait action.
Specifies the event type. For a wait action, this property is always set to wait.
wait