State

bl download

Manage browser downloads

Manage browser downloads

Usage

bl download [OPTIONS]
bl download <command>

Options

OptionDescription
--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

bl download dir

Set the download directory

Usage

bl download dir <path> [OPTIONS]

Arguments

ArgumentDescription
&lt;path&gt;Directory to save downloads into

Options

OptionDescription
--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 download dir ./downloads
# Set download directory to ./downloads

bl download wait

Wait for the next download to finish

Usage

bl download wait [OPTIONS]

Options

OptionDescription
--timeout <value>Timeout in milliseconds (default 30000)
--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 download wait
# Wait up to 30 seconds for a download

bl download wait --timeout 5000
# Wait up to 5 seconds

On this page