Click Element
clickClick an element on a web page using its element ID or viewport coordinates, then receive an updated page snapshot reflecting the changes.
Instructions
Click an element (by eid) or at viewport coordinates. Prefer eid for reliability; use coordinates only for canvas or non-semantic targets. Returns a fresh page snapshot with the changes the click produced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate for the click. When used with eid, relative to the element top-left corner. When used without eid, absolute viewport coordinate. | |
| y | No | Y coordinate for the click. When used with eid, relative to the element top-left corner. When used without eid, absolute viewport coordinate. | |
| eid | No | Element ID from find results or the page snapshot. Every interactive element has a unique eid. | |
| page_id | No | The ID of the page containing the element. | |
| modifiers | No | Modifier keys to hold during the click (e.g., Shift for multi-select, Control for ctrl-click). |