spider_browser_wait_for
Wait for a CSS selector to appear in the DOM or for page navigation to finish, ensuring dynamic content is fully loaded before proceeding.
Instructions
Wait for a condition on the page. Use after navigation or actions that trigger dynamic content loading.
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": {
"session_id": "<session_id>"
},
"name": "spider_browser_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max wait time in ms. Default: 30000 | |
| selector | No | CSS selector to wait for (element must appear in DOM) | |
| navigation | No | Wait for the next navigation to complete | |
| session_id | Yes | Session ID from spider_browser_open |