Skip to main content

click

Click or tap an element.

Fields

FieldTypeDescriptionDefault
buttonstringOptional. Kind of click to perform.

Accepted values: left, right, middle
elementTextstringOptional. Display text of the element to click. If combined with selector, the element must match both the text and the selector.
selectorstringOptional. Selector of the element to click. If combined with elementText, the element must match both the text and the selector.

Examples

true
"right"
{
"button": "left",
"elementText": "Element text"
}
{
"selector": "#elementToScreenshot",
"elementText": "Element text",
"button": "middle"
}