click
Activates a target by ref, coordinates, or selector, auto-waiting for visibility, stability, enabled and uncovered state; returns navigation, tab, dialog, download, alert, and console-error effects.
Instructions
Click a target (ref, "x,y", or selector). Auto-waits for the element to be visible, stable, enabled and not covered. Returns an effect summary (navigation, new tabs, dialogs, downloads, live-region announcements as → alert (not JS dialogs), console errors).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id such as "t3"; default is the active tab | |
| count | No | ||
| force | No | Skip actionability checks | |
| button | No | ||
| target | Yes | A ref from snapshot/find ("e12"), a point "x,y" in the last screenshot's pixels, or a Playwright selector (text=…, role=button[name="…"], #id, css=…, xpath=…) | |
| snapshot | No | true attaches a full-page snapshot after the effect summary; false skips the viewport snapshot attached when the action opens a new document (call snapshot for the whole page) | |
| modifiers | No | ||
| timeout_ms | No | Timeout in ms; default is the configured action/navigation timeout |