Wait for condition
wait_forBlocks browser automation until specified text appears or disappears, a CSS selector matches a visible element, the network is idle, or a fixed time passes, bounded by a timeout.
Instructions
Waits until text appears or disappears, a CSS selector matches a visible element, the network is idle, or a fixed time passes. Always bounded by timeoutMs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Wait until this text is visible on the page. | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| timeMs | No | Just wait this many milliseconds. | |
| selector | No | Wait until this CSS selector matches a visible element. | |
| textGone | No | Wait until this text is no longer visible. | |
| timeoutMs | No | Give up after this many milliseconds (default 10000). | |
| networkIdle | No | Wait until no network request has been in flight for 500 ms. |