Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

vibium find

Locate an element by a semantic attribute and return its reference.

vibium find text "<text>"
vibium find label "<label>"
vibium find placeholder "<text>"
vibium find role <role>

find matches elements the way a human would describe them, returning one or more @eN references you can pass to interaction commands.

VariantMatches
vibium find text "<text>"Elements whose visible text contains <text>.
vibium find label "<label>"Form fields whose <label> is <label>.
vibium find placeholder "<text>"Inputs with that placeholder.
vibium find role <role>Elements with the given ARIA role (button, searchbox, link, …).

Each match is printed in the same form as vibium map: a line per element with its @eN reference, role, and a short description.

Terminal window
vibium find text "Sign in"
vibium find label "Email"
vibium find placeholder "Search..."
vibium find role button

Typical workflow — find, then act on the reference:

Terminal window
$ vibium find label "Email"
@e2 input label="Email"
$ vibium fill @e2 "alice@example.com"