browser_click
Click a page element using a snapshot ref or CSS selector, scrolling it into view and hit-testing the click point to confirm the click landed on the intended element.
Instructions
Click an element. Prefer ref from browser_snapshot — it is a fact about the node the browser reported, not a guess about the page's CSS. selector still works. Scrolls into view and hit-tests the click point first; the result reports hit (whether the point really was that element) and landedOn (what was actually there).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Ref from the latest browser_snapshot, e.g. e12 | |
| selector | No | CSS selector (use ref instead when you have one) |