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

ArgumentDescription
[url]URL to navigate to; a bare host gets https:// prepended (omit to just launch a local browser on about:blank)

Options

OptionDescription
--headlessHide browser window (visible by default)
--jsonOutput as JSON
--session <value>Run this command in the named session (env: BL_SESSION; default: "default")

Global options

OptionDescription
-v, --verboseEnable debug logging

On this page