click
Simulate a user click on the active Chrome tab using a DOM node ID, viewport coordinates, CSS selector, or visible text to interact with page elements.
Instructions
Click on the active tab. Prefer node_id (from snapshot) or x+y (viewport coordinates); selector/text use Playwright and may be less reliable when Codex shares the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Viewport X coordinate. | |
| y | No | Viewport Y coordinate. | |
| text | No | Visible text to match. | |
| tab_id | No | Optional tab id. | |
| node_id | No | DOM node id from a visible-dom snapshot. | |
| selector | No | CSS selector. |