page_click
Clicks elements by CSS selector. For form controls (buttons, inputs), uses a JavaScript click; for links and other elements, dispatches real mouse events at coordinates. Returns 'ok' on success.
Instructions
Click an element by CSS selector. For form controls (buttons, inputs), uses a JS click; for links and other elements, dispatches real mouse events at coordinates. Prefer page_click_ref when you have a page_a11y ref — it scrolls into view first and is more reliable on web-component UIs. Returns 'ok' on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| selector | Yes | CSS selector. | |
| session_id | Yes |