click
Click or tap an element.
Fields
Field | Type | Description | Default |
---|---|---|---|
button | string | Optional. Kind of click to perform. Accepted values: left , right , middle | |
elementText | string | Optional. Display text of the element to click. If combined with selector , the element must match both the text and the selector. | |
selector | string | Optional. 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"
}