CLI referenceBrowser state & emulation
bl content
Replace the page HTML content
Replace the page HTML content
Usage
bl content [html] [flags]Flags
| Flag | Description |
|---|---|
--stdin | Read HTML from stdin |
Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable 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