vibium is
Check element state (visible, enabled, set, actionable).
Synopsis
Section titled “Synopsis”vibium is [flags]vibium is [command]Subcommands
Section titled “Subcommands”vibium is actionable
Section titled “vibium is actionable”Check actionability of an element (Visible, Stable, ReceivesEvents, Enabled, Editable).
vibium is actionable [url] [selector] [flags]vibium is actionable "a"# Output:# Checking actionability for selector: a# ✓ Visible: true# ✓ Stable: true# ✓ ReceivesEvents: true# ✓ Enabled: true# ✗ Editable: false
vibium is actionable https://example.com "a"# Navigate first, then checkvibium is enabled
Section titled “vibium is enabled”Check if an element is enabled.
vibium is enabled [selector] [flags] --fail Exit non-zero when the answer is falsevibium is enabled "button[type=submit]"# Prints true or falsevibium is set
Section titled “vibium is set”Check if a checkbox or radio is checked.
Nightly only. This command is in the nightly builds but not yet in the latest npm release. See What’s in Nightly.
vibium is set [selector] [flags] --fail Exit non-zero when the answer is falsevibium is set "input[type=checkbox]"# Prints true or falsevibium is visible
Section titled “vibium is visible”Check if an element is visible on the page.
vibium is visible [selector] [flags] --fail Exit non-zero when the answer is falsevibium is visible "h1"# Prints true or false