Navigation
bl open
Navigate the browser to a URL; a bare host like example.com gets https:// prepended.
Navigate the browser to a URL; a bare host like example.com gets https:// prepended.
With no URL, `open` is a convenience alias for launching a local
browser: it starts (or reuses) a session on about:blank so you can
pre-seed cookies/storage before the first navigation. The aliases
go/goto/navigate behave identically.
Related lifecycle commands: `bl start [ws-url]` is the explicit
session start (a ws:// URL connects to a remote WebDriver-BiDi
endpoint, not a web page); `bl stop` closes this session's browser.Usage
bl open [url] [OPTIONS]Arguments
| Argument | Description |
|---|---|
[url] | URL to navigate to; a bare host gets https:// prepended (omit to just launch a local browser on about:blank) |
Options
| Option | Description |
|---|---|
--headless | Hide browser window (visible by default) |
--json | Output as JSON |
--session <value> | Run this command in the named session (env: BL_SESSION; default: "default") |
Global options
| Option | Description |
|---|---|
-v, --verbose | Enable debug logging |