browser_wait_for_selector
Wait until an element matching a CSS selector is stable in the DOM, optionally visible, to synchronize scraping or automation after dynamic content loads.
Instructions
Wait until an element matching the CSS selector is stable in the DOM. Set visible=true to also require the element to be visible (not hidden).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | No | Also require the element to be visible, not just present in the DOM (default false) | |
| selector | Yes | CSS selector to wait for | |
| session_id | Yes | Session ID returned by browser_navigate |