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
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
bl is actionable
Check actionability of an element (Visible, Stable, ReceivesEvents, Enabled, Editable)
Usage
bl is actionable [url] [selector] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable 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: falsebl is checked
Check if a checkbox or radio is checked
Usage
bl is checked [selector] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
Examples
bl is checked "input[type=checkbox]"
# Prints true or falsebl is enabled
Check if an element is enabled
Usage
bl is enabled [selector] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
Examples
bl is enabled "button[type=submit]"
# Prints true or falsebl is visible
Check if an element is visible on the page
Usage
bl is visible [selector] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
Examples
bl is visible "h1"
# Prints true or false