State
bl download
Manage browser downloads
Manage browser downloads
Usage
bl download [OPTIONS]
bl download <command>Options
| Option | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
bl download dir
Set the download directory
Usage
bl download dir <path> [OPTIONS]Arguments
| Argument | Description |
|---|---|
<path> | Directory to save downloads into |
Options
| Option | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
Examples
bl download dir ./downloads
# Set download directory to ./downloadsbl download wait
Wait for the next download to finish
Usage
bl download wait [OPTIONS]Options
| Option | Description |
|---|---|
--timeout <value> | Timeout in milliseconds (default 30000) |
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |
Examples
bl download wait
# Wait up to 30 seconds for a download
bl download wait --timeout 5000
# Wait up to 5 seconds