browser_click
Click page elements by CSS selector to automate interactions and capture a screenshot of the result for verification.
Instructions
Click an element on the page by CSS selector.
Returns a screenshot of the result. Common selectors:
"#login-button" — element with id
".submit-btn" — element with class
"button:contains('Submit')" — button by text
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 |
|---|---|---|---|
| selector | Yes | CSS selector for element to click | |
| wait_after_ms | No | Milliseconds to wait after click |