vibium find
Find elements and return @eN refs for later commands.
Synopsis
Section titled “Synopsis”vibium find [description] [flags]vibium find [command] --all Find all matching elements --details Print diagnostics: method, model, raw scores --limit int Maximum number of elements to return (with --all) (default 10) --strategy string How to resolve: auto, cv (local image matching only), vlm (vision model only), or tree (page tree only) (default "auto") --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)AI Flags
Section titled “AI Flags”--ai-base-url string AI provider API base URL, not the site under test (env: VIBIUM_AI_BASE_URL); empty resets the provider default--model string Model ID for the provider; see Model IDs below (env: VIBIUM_AI_MODEL)--provider string AI provider: openai, xai, anthropic, google, openai-compatible, or local (env: VIBIUM_AI_PROVIDER); changing it requires --model and resets endpoint/effort defaults--reasoning-effort string none, minimal, low, medium, high, xhigh, or max; not for anthropic or google (env: VIBIUM_AI_REASONING_EFFORT); empty uses the model defaultModel IDs
Section titled “Model IDs”openai https://developers.openai.com/api/docs/modelsxai https://docs.x.ai/developers/modelsanthropic https://platform.claude.com/docs/en/models/overviewgoogle https://ai.google.dev/gemini-api/docs/modelsopenai-compatible the model name your server serveslocal the model name your server servesNew in nightly (not yet in the npm release): --ai-base-url, --details, --model, --provider, --reasoning-effort, --strategy
Subcommands
Section titled “Subcommands”vibium find alt
Section titled “vibium find alt”Find element by alt attribute.
vibium find alt [alt] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find alt "Logo"vibium find css
Section titled “vibium find css”Find element by CSS selector.
Nightly only. This command is in the nightly builds but not yet in the latest npm release. See What’s in Nightly.
vibium find css [css] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find css "button.primary"# → @e1 [button] "Submit"
vibium find css "a" --all# → @e1 [a] "Home" @e2 [a] "About" ...vibium find description
Section titled “vibium find description”Find element by natural-language description.
Nightly only. This command is in the nightly builds but not yet in the latest npm release. See What’s in Nightly.
vibium find description [description] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)AI Flags
Section titled “AI Flags”--ai-base-url string AI provider API base URL, not the site under test (env: VIBIUM_AI_BASE_URL); empty resets the provider default--model string Model ID for the provider; see Model IDs below (env: VIBIUM_AI_MODEL)--provider string AI provider: openai, xai, anthropic, google, openai-compatible, or local (env: VIBIUM_AI_PROVIDER); changing it requires --model and resets endpoint/effort defaults--reasoning-effort string none, minimal, low, medium, high, xhigh, or max; not for anthropic or google (env: VIBIUM_AI_REASONING_EFFORT); empty uses the model defaultModel IDs
Section titled “Model IDs”openai https://developers.openai.com/api/docs/modelsxai https://docs.x.ai/developers/modelsanthropic https://platform.claude.com/docs/en/models/overviewgoogle https://ai.google.dev/gemini-api/docs/modelsopenai-compatible the model name your server serveslocal the model name your server servesvibium find description "the Add to Cart button"# Same as a bare string; explicit when the text could read as a locatorvibium description --provider local --model my-model --ai-base-url http://127.0.0.1:8080/v1 --reasoning-effort ""# Uses these settings for one invocation; credentials still come from the environment.vibium find image
Section titled “vibium find image”Find where a reference image appears on screen.
Nightly only. This command is in the nightly builds but not yet in the latest npm release. See What’s in Nightly.
vibium find image [path] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)AI Flags
Section titled “AI Flags”--ai-base-url string AI provider API base URL, not the site under test (env: VIBIUM_AI_BASE_URL); empty resets the provider default--model string Model ID for the provider; see Model IDs below (env: VIBIUM_AI_MODEL)--provider string AI provider: openai, xai, anthropic, google, openai-compatible, or local (env: VIBIUM_AI_PROVIDER); changing it requires --model and resets endpoint/effort defaults--reasoning-effort string none, minimal, low, medium, high, xhigh, or max; not for anthropic or google (env: VIBIUM_AI_REASONING_EFFORT); empty uses the model defaultModel IDs
Section titled “Model IDs”openai https://developers.openai.com/api/docs/modelsxai https://docs.x.ai/developers/modelsanthropic https://platform.claude.com/docs/en/models/overviewgoogle https://ai.google.dev/gemini-api/docs/modelsopenai-compatible the model name your server serveslocal the model name your server servesvibium find image ./thumbnail.png# → @e1 [img] "Product thumbnail"
vibium find image ./thumbnail.png --all --json# Every occurrence, with bounding boxes
vibium find image ./icon.png --strategy cv# Local feature matching only; nothing leaves the machinevibium image --provider local --model my-model --ai-base-url http://127.0.0.1:8080/v1 --reasoning-effort ""# Uses these settings for one invocation; credentials still come from the environment.vibium find label
Section titled “vibium find label”Find input by associated label text.
vibium find label [label] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find label "Email"# → @e1 [input type="email"] placeholder="Email"vibium find placeholder
Section titled “vibium find placeholder”Find element by placeholder attribute.
vibium find placeholder [placeholder] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find placeholder "Search..."# → @e1 [input] placeholder="Search..."vibium find role
Section titled “vibium find role”Find element by ARIA role.
vibium find role [role] [flags] --name string Accessible name filter --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find role button# → @e1 [button] "Submit"
vibium find role heading --name "Example"# Find heading with accessible name "Example"vibium find tag
Section titled “vibium find tag”Find element by HTML tag name.
Nightly only. This command is in the nightly builds but not yet in the latest npm release. See What’s in Nightly.
vibium find tag [tag] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find tag h1# → @e1 [h1] "Example Domain"vibium find testid
Section titled “vibium find testid”Find element by data-testid attribute.
vibium find testid [testid] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find testid "submit-btn"# → @e1 [button] data-testid="submit-btn"vibium find text
Section titled “vibium find text”Find element by text content.
vibium find text [text] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find text "Sign In"# → @e1 [button] "Sign In"vibium find title
Section titled “vibium find title”Find element by title attribute.
vibium find title [title] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find title "Close"vibium find xpath
Section titled “vibium find xpath”Find element by XPath expression.
vibium find xpath [xpath] [flags] --timeout timeout Max time to wait, e.g. 5s or 5000 (bare number = milliseconds) (default 30s)vibium find xpath "//div[@class='main']"# → @e1 [div.main] ...Description
Section titled “Description”find matches elements the way a human would describe them, returning one or
more @eN references you can pass to interaction commands.
| Variant | Matches |
|---|---|
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.
Examples
Section titled “Examples”vibium find text "Sign in"vibium find label "Email"vibium find placeholder "Search..."vibium find role buttonTypical workflow — find, then act on the reference:
$ vibium find label "Email"@e2 input label="Email"
$ vibium fill @e2 "alice@example.com"See also
Section titled “See also”vibium map— list every element instead of finding one.vibium click,vibium fill— act on the result.