wait_for
Wait for an element to appear, disappear, or for a URL navigation, synchronizing your React debugging steps with the page state.
Instructions
Wait for an element to appear/disappear or for navigation to a URL
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": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL pattern to wait for (alternative to selector) | |
| state | No | State to wait for (default: visible) | |
| timeout | No | Timeout in ms (default: 30000) | |
| selector | No | CSS selector to wait for |