click
Activates a webpage element by snapshot ref or visible text, so automation survives layout changes; risky actions wait for user approval and browser dialogs can be accepted.
Instructions
Click an element: ref from the latest snapshot (e.g. "e12"), or its visible text
(e.g. "Messages"), which keeps working when the page layout changes.
confirmed: set to true only after the user approved this exact action. Buttons that send, post, buy, delete, connect, etc. are paused until then. accept_dialog: if the click opens an "Are you sure?" browser box, press OK instead of Cancel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| text | No | ||
| confirmed | No | ||
| session_id | Yes | ||
| accept_dialog | No |