Browser

bl daemon

Manage the browserlane daemon (background browser process)

Manage the browserlane daemon (background browser process)

Usage

bl daemon [OPTIONS]
bl daemon <command>

Options

OptionDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON

Global options

OptionDescription
-v, --verboseEnable debug logging

bl daemon start

Start the browserlane daemon

Usage

bl daemon start [OPTIONS]

Options

OptionDescription
--foregroundRun daemon in foreground (for debugging)
--idle-timeout <value>Shutdown after this duration of inactivity (0 to disable) (default 30m)
--connect <value>Connect to a remote BiDi WebSocket URL instead of launching a local browser
--connect-header <value>HTTP header for WebSocket connect (repeatable, format: "Key: Value")
--headlessHide browser window (visible by default)
--jsonOutput as JSON

Global options

OptionDescription
-v, --verboseEnable debug logging

Examples

bl daemon start
# Starts daemon in background

bl daemon start --foreground
# Starts daemon in foreground (for debugging)

bl daemon start --idle-timeout 30m
# Auto-shutdown after 30 minutes of inactivity

bl daemon start --connect ws://remote:9515/session
# Connect to a remote browser instead of launching a local one

bl daemon stop

Stop the daemon, the shared browser process, and every session

Usage

bl daemon stop [OPTIONS]

Options

OptionDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON

Global options

OptionDescription
-v, --verboseEnable debug logging

bl daemon status

Show daemon status

Usage

bl daemon status [OPTIONS]

Options

OptionDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON

Global options

OptionDescription
-v, --verboseEnable debug logging

On this page