CLI referenceSession & daemon
bl start
Start a browser session. Without arguments, launches a local browser. With a URL argument, connects to a remote BiDi WebSocket endpoint.
Start a browser session. Without arguments, launches a local browser. With a URL argument, connects to a remote BiDi WebSocket endpoint.
If no URL is given, checks BROWSERLANE_CONNECT_URL env var before falling
back to a local browser launch.
Set BROWSERLANE_CONNECT_API_KEY to send an Authorization: Bearer header.Usage
bl start [url] [flags]Global flags
| Flag | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
-v, --verbose | Enable debug logging |
Examples
bl start
# Start with a local browser
bl start ws://remote:9515/session
# Connect to a remote browser
export BROWSERLANE_CONNECT_URL=wss://cloud.example.com/session
export BROWSERLANE_CONNECT_API_KEY=my-api-key
bl start
# Connect using env vars