browser_click
Clicks a page element by its snapshot number, refusing missing, moved, or covered targets so browser automation acts only on verified elements.
Instructions
Click an element by its number (emsn) from the latest snapshot. The kernel asks the page where that element is right now and refuses if it has gone, moved out of reach, or is covered by something else — it does not pretend to succeed. Passing x/y instead skips all of that checking, so prefer emsn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Fallback pixel X; only when no emsn fits. | |
| y | No | Fallback pixel Y; only when no emsn fits. | |
| emsn | No | Element number from the snapshot. | |
| tabId | No | Tab to act on. Defaults to the foreground tab of that window. | |
| button | No | Default left. | |
| windowId | No | Window to act on. Defaults to the frontmost window. | |
| clickCount | No | 2 for a double click. | |
| snapshotId | Yes | The snapshotId from the browser_take_snapshot you picked the emsn out of. An element keeps its emsn while the page stays (no navigation or reload), so with an emsn any snapshot of the current page is accepted; with x,y only the latest one is. A number whose element has gone is refused rather than clicked. |