| title | vibium wait |
|---|
Block until something appears on the page.
vibium wait "<selector>"
vibium wait url "<path>"
vibium wait text "<text>"
wait is how you synchronize with asynchronous browser behavior — navigation,
network responses, animation, dynamic re-renders. It blocks until its
condition becomes true, then exits successfully. If the condition never
becomes true within Vibium's wait timeout, the command exits with an error.
| Variant | Becomes true when… |
|---|---|
vibium wait "<selector>" |
An element matching <selector> is on the page. |
vibium wait url "<path>" |
The current URL contains <path>. |
vibium wait text "<text>" |
<text> appears anywhere in the visible page. |
Wait for a button to appear:
vibium wait "button.continue"Wait for a path change:
vibium wait url "/results"Wait for a result to be rendered:
vibium wait text "Results for"vibium go,vibium click— actions that often warrant awaitafterward.vibium diff map— alternative way to confirm a change.