browser_click
Click a web element using its snapshot reference or CSS selector to automate browser interactions. Optionally wait for another element to appear after the click.
Instructions
Click an element by its snapshot reference (@1, @2, ...) or CSS selector.
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 | Reference from snapshot (e.g. '@1') | |
| trusted | No | Dispatch trusted CDP hardware mouse events (isTrusted: true) | |
| selector | No | CSS selector if ref is not used | |
| wait_for | No | Optional CSS selector or @ref to wait for after clicking |