browser_wait_for
Wait for a specified condition (text, selector, URL, network idle, or value) and return a fresh page snapshot.
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).
value_ref + value — wait until the element at value_ref HOLDS `value` (substring). Confirms a
field/dropdown actually committed (e.g. value_ref=<country picker>, value='Germany').
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 | ||
| value_ref | No | ||
| value | No | ||
| time | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |