spa_click
Click an element using a CSS selector and automatically wait for the DOM to stabilize, designed for single-page applications like React, Vue, or Angular.
Instructions
Click an element with SPA-aware waiting. Waits for DOM to stabilize after click.
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": "spa_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to navigate to first (optional) | |
| session | No | Session ID | default |
| spaMode | No | ||
| selector | Yes | CSS selector to click | |
| screenshot | No | Take screenshot after action | |
| waitForIdle | No | Wait for DOM idle after click |