perch_wait
Wait for a CSS selector or visible text to appear or disappear in a preview after clicks or edits, so assertions run only when the UI is ready.
Instructions
Wait for a selector or visible text to appear (or vanish with gone:true) in the preview. Use after a click/edit before asserting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | Wait for it to DISAPPEAR instead. Default false | |
| text | No | Visible text to wait for | |
| frame | No | Default preview | |
| timeout | No | ms. Default 15000 | |
| selector | No | CSS selector or 'text=Visible Text' |