wait_for
wait_forWait until text appears (or text_gone: disappears), a ref/selector shows, or the URL changes. Use one text condition. Better than fixed delays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | plain delay, max 10000 (prefer a condition) | |
| ref | No | ||
| text | No | visible text to appear | |
| secret | Yes | session secret from create_session | |
| timeout | No | seconds, default 10, max 30 | |
| ref_gone | No | ||
| selector | No | CSS selector visible | |
| snapshot | No | page view after the action (default diff) | |
| text_gone | No | ||
| session_id | Yes | session id from create_session | |
| url_contains | No |