browser_wait_for
Wait for a condition (text, selector, URL, network idle, or time) in a browser session and receive a fresh snapshot. Use to synchronize with page state before proceeding.
Instructions
Wait for a condition then return a fresh snapshot. Pass exactly one condition:
text — text to become visible (searched across all frames including iframes).
text_gone — text to disappear.
selector — CSS/Playwright selector to become visible.
url — URL glob/regex to wait for (SPA client-side navigation).
network_idle — wait until no network requests for 500ms (SPA render complete).
time — wait N seconds unconditionally.
timeout_ms — max wait in ms (default 30 000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| text | No | ||
| text_gone | No | ||
| selector | No | ||
| url | No | ||
| network_idle | No | ||
| time | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |