click
Clicks a specified element in a Safari tab using CSS selector, subject to denylist and safety gates.
Instructions
Click an element. Check it with find_elements first.
Passes through the denylist and then the local safety gate, either of which may refuse — the refusal explains itself and is worth relaying verbatim rather than retrying.
Args: tab: Tab index within window 1, or a substring of its URL or title. selector: CSS selector for the element. index: Which match to click when the selector hits several. Default 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| index | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |