CLI referenceInspect page
bl map
Map interactive page elements with @refs
Map interactive page elements with @refs
Usage
bl map [flags]Flags
| Flag | Description |
|---|---|
--selector string | Scope to elements within this CSS selector |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-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