Click
browser_clickClicks a page element identified by a snapshot ref or Playwright selector to perform UI actions in an automated browser session.
Instructions
Click an element identified by ref or 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 | Element ref from browser_snapshot, e.g. "e12" | |
| force | No | Skip actionability checks | |
| button | No | ||
| selector | No | Playwright selector (CSS, text=..., role=..., xpath=...) used when no ref is given | |
| snapshot | No | Return an accessibility snapshot of the page after the action (default from BROWSER_MCP_SNAPSHOT_AFTER_ACTIONS) | |
| modifiers | No | ||
| doubleClick | No |