| title | vibium is |
|---|
Check element state (visible, enabled, set, actionable).
vibium is [flags]
vibium is [command]
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 checkCheck if an element is enabled.
vibium is enabled [selector] [flags]
--fail Exit non-zero when the answer is false
vibium is enabled "button[type=submit]"
# Prints true or falseCheck if a checkbox or radio is checked.
vibium is set [selector] [flags]
--fail Exit non-zero when the answer is false
vibium is set "input[type=checkbox]"
# Prints true or falseCheck if an element is visible on the page.
vibium is visible [selector] [flags]
--fail Exit non-zero when the answer is false
vibium is visible "h1"
# Prints true or false