Click an element
browser_clickClicks the first element matching a CSS selector using a real mouse action at its center. Use it to interact with page elements during browser automation.
Instructions
Click the first element matching a CSS selector with a real mouse action (pointer move, down, up) at its centre.
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": {
"selector": "<selector>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Tab context id (default: the active tab) | |
| selector | Yes | CSS selector |