browser_wait_for
Wait for a CSS selector to reach a specified state (visible, hidden, attached, detached) or for navigation to complete. Supports configurable timeout and tab targeting.
Instructions
Wait for a selector to appear or disappear, or wait for navigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | State to wait for (default: visible). | |
| tab_id | No | Stable tab id from browser_tabs list; preferred when multiple agents run in parallel. Mutually exclusive with tab_index. | |
| timeout | No | Max wait time in ms (default: 10000). | |
| selector | Yes | CSS selector to wait for. | |
| tab_index | No | Tab index from browser_tabs list. If omitted, uses the lowest-index tab. Mutually exclusive with tab_id. |