wait
Wait for a page condition or event to occur before continuing. Checks URL, modals, captchas, loading state, or custom JS expressions.
Instructions
Block until a condition (poll) OR a page event. Conditions (ANDed): urlContains, hasModal, hasCaptcha, notLoad…
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | Event mode: dialog_open, dialog_close, n… | |
| pollMs | No | Default 400 | |
| script | No | Wait until JS expression truthy | |
| hasModal | No | ||
| selector | No | ||
| timeoutMs | No | Default 10000 | |
| hasCaptcha | No | ||
| notLoading | No | ||
| urlContains | No | ||
| pendingDialogsGt | No |