click
Click page, popup, or sidepanel elements in Chrome extensions by CSS selector; supports single and double clicks for UI testing.
Instructions
Click an element by CSS 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": {
"selector": "<selector>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Which context to interact with | page |
| selector | Yes | CSS selector of the element to click | |
| doubleClick | No | Double-click instead of single click |