wait_for
Pauses browser automation until a selector reaches a specified state, text appears or disappears, a URL substring matches, the network is idle, or a timeout elapses.
Instructions
Wait for selector state (visible/attached/hidden), text present or gone, url substring, network idle, or time ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ref from snapshot, e.g. e3 | |
| tab | No | tab id, defaults to current | |
| url | No | ||
| idle | No | ||
| text | No | ||
| time | No | ||
| state | No | ||
| timeout | No | ||
| selector | No | CSS selector | |
| textGone | No | ||
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |