.exports() Suggest edits
Click at the current mouse coordinates (set by .moveTo()).
The button can be (0, 1, 2) or ('left', 'middle', 'right'). It defaults to left mouse button.
Since v2.0, this command is deprecated. It is only available on older JSONWire-based drivers. Please use the new User Actions API.
Usage
Parameters
| Name | Type | description |
|---|---|---|
button |
string | number | The mouse button |
callbackOptional |
function | Optional callback function to be called when the command finishes. |