browserlane
CLI referenceCapture

bl pdf

Save page as PDF

Save page as PDF

Usage

bl pdf [url] [flags]

Flags

FlagDescription
-o, --output stringOutput file path (default "page.pdf")

Global flags

FlagDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
-v, --verboseEnable debug logging

Examples

bl pdf -o page.pdf
# Save current page as PDF

bl pdf https://example.com -o page.pdf
# Navigate to URL first, then save as PDF