click
Activate a page or native UI element by reference to press buttons, follow links, toggle checkboxes, or choose menu items; returns result and fresh page state.
Instructions
Click one element by ref: a page element through the DOM, or a native control through UI Automation.
Use for buttons, links, checkboxes, menu items, list items and tabs. Clicks on controls whose name suggests an
irreversible effect (Send, Pay, Delete, Submit, ...) first show the human a native confirmation box and are refused
if it is declined or times out. Returns a RESULT line (ok or ERROR with the reason) followed by a fresh observation,
so you do not need a separate observe call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from the latest observation, e.g. 'b12' for a page element or 'd7' for a native window or dialog control. Refs are renumbered on every observation, so always use the most recent tree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |