browser_click
Clicks an element by ref or selector to automate browser interactions such as pressing buttons, following links, and submitting forms.
Instructions
Click an element by ref or selector.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | ||
| target | Yes | Element ref like e3 from a prior browser_snapshot, OR a raw Playwright selector (css=, xpath=, text=, role=). | |
| element | No | Human-readable element description for logging only. | |
| modifiers | No | ||
| doubleClick | No |