chrome_click
Click a webpage element by CSS selector. Use the ensureInteractive option to trigger hover, focus, and click sequences for React, Vue, or Angular single-page apps.
Instructions
Click on an element using a CSS selector. For React SPAs, use ensureInteractive option to trigger synthetic event handlers.
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": "chrome_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector for the element to click | |
| ensureInteractive | No | If true, performs hover → focus → wait → click sequence for SPA compatibility (React, Vue, Angular). Use when standard click fails to trigger modals/handlers. |