browser_click
Click a browser element by ref, CSS selector, or visible text to trigger interactions, returning the updated page snapshot for AI coding hosts.
Instructions
Click an element by ref (preferred), selector or text. Returns the updated snapshot.
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 | Element ref from browser_snapshot, e.g. "e12" | |
| text | No | Visible text to match (alternative to ref) | |
| button | No | ||
| selector | No | CSS or Playwright selector (alternative to ref) | |
| snapshot | No | ||
| modifiers | No | ||
| doubleClick | No |