browserlane
CLI referenceBrowser state & emulation

bl content

Replace the page HTML content

Replace the page HTML content

Usage

bl content [html] [flags]

Flags

FlagDescription
--stdinRead HTML from stdin

Global flags

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

Examples

bl content "<h1>Hello World</h1>"
# Set page content directly

echo "<h1>Hello</h1>" | bl content --stdin
# Set page content from stdin