Skip to navigation

Find element and click

Referenced In

Fields

FieldTypeDescriptionDefault
buttonstringOptional. Kind of click to perform.

Accepted values: left, right, middle
—
durationintegerOptional. How long to hold the press, in milliseconds. A long-press (touch-and-hold) on mobile app surfaces; press-and-hold of the button on desktop apps and browsers. Omit for a normal click.

Minimum: 1
—

Examples

{
"button": "left",
"duration": 42
}