Capture

bl screenshot

Capture a screenshot (optionally navigate to URL first)

Capture a screenshot (optionally navigate to URL first)

Usage

bl screenshot [url] [OPTIONS]

Arguments

ArgumentDescription
[url]URL to navigate to before capturing

Options

OptionDescription
-o, --output <value>Output file path (default screenshot.png)
--full-pageCapture the full page instead of just the viewport
--annotateAnnotate interactive elements with numbered labels
--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 screenshot -o shot.png
# Screenshots the current page

bl screenshot https://example.com -o shot.png
# Navigates to URL first, then screenshots

bl screenshot -o full.png --full-page
# Capture the entire page (not just the viewport)

On this page