Setup

bl map

Map interactive page elements with @refs

Map interactive page elements with @refs

Usage

bl map [OPTIONS]

Options

OptionDescription
--selector <value>Scope to elements within this CSS selector
--headlessHide browser window (visible by default)
--jsonOutput as JSON
--session <value>Run this command in the named session (env: BL_SESSION; default: "default")

Global options

OptionDescription
-v, --verboseEnable 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

On this page