Skip to content

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.

VariantBecomes 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:

Terminal window
vibium wait "button.continue"

Wait for a path change:

Terminal window
vibium wait url "/results"

Wait for a result to be rendered:

Terminal window
vibium wait text "Results for"