browserlane
CLI referenceInspect page

bl is

Check element state (visible, enabled, checked, actionable)

Check element state (visible, enabled, checked, actionable)

Usage

bl is [flags]
bl is [command]

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

bl is actionable

Check actionability of an element (Visible, Stable, ReceivesEvents, Enabled, Editable)

Usage

bl is actionable [url] [selector] [flags]

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

Examples

bl is actionable https://example.com "a"
# Output:
# Checking actionability for selector: a
# ✓ Visible: true
# ✓ Stable: true
# ✓ ReceivesEvents: true
# ✓ Enabled: true
# ✗ Editable: false

bl is checked

Check if a checkbox or radio is checked

Usage

bl is checked [selector] [flags]

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

Examples

bl is checked "input[type=checkbox]"
# Prints true or false

bl is enabled

Check if an element is enabled

Usage

bl is enabled [selector] [flags]

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

Examples

bl is enabled "button[type=submit]"
# Prints true or false

bl is visible

Check if an element is visible on the page

Usage

bl is visible [selector] [flags]

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

Examples

bl is visible "h1"
# Prints true or false

On this page