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.
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 |