browserlane
CLI referenceInspect page

bl map

Map interactive page elements with @refs

Map interactive page elements with @refs

Usage

bl map [flags]

Flags

FlagDescription
--selector stringScope to elements within this CSS selector

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-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