veil_wait_for_selector
Polls the page until a CSS selector matches, with an optional requirement for visibility. Returns when the element is found or times out with an error.
Instructions
Poll until a CSS selector matches, then return (the selector-shaped convenience over veil_wait_for). Pass visible:true to also require the element to be laid out and not display:none/visibility:hidden. Errors on timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ms before giving up (default 10000) | |
| visible | No | also require the element to be visibly rendered (default false) | |
| selector | Yes |