Setup
bl map
Map interactive page elements with @refs
Map interactive page elements with @refs
Usage
bl map [OPTIONS]Options
| Option | Description |
|---|---|
--selector <value> | Scope to elements within this CSS selector |
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
Examples
bl map
# Lists interactive elements with refs like @e1, @e2
# Use refs with other commands: bl click @e1
bl map --selector "nav"
# Only map elements inside the <nav> element