click
Interact with page elements by CSS selector to simulate mouse actions for React debugging.
Instructions
Click on an element matching the given 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 |
|---|---|---|---|
| button | No | Mouse button (default: left) | |
| timeout | No | Timeout in ms (default: 30000) | |
| selector | Yes | CSS selector for the element to click | |
| clickCount | No | Number of clicks (default: 1) |