spa_wait_idle
Wait for DOM mutations to cease, ensuring Single-Page Applications reach a stable state before proceeding with automation.
Instructions
Wait for DOM to become idle (no mutations). Useful for SPAs that update the DOM frequently.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spa_wait_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxWait | No | Maximum wait time in ms | |
| session | No | Session ID | default |
| idleTime | No | Required idle time in ms |