browserlane
CLI referenceSession & daemon

bl page

Manage browser pages (new, close, switch)

Manage browser pages (new, close, switch)

Usage

bl page [flags]
bl page [command]

Global flags

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

bl page close

Close a browser page by index (default: current page)

Usage

bl page close [index] [flags]

Global flags

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

Examples

bl page close
# Close current page (index 0)

bl page close 1
# Close page at index 1

bl page new

Open a new browser page

Usage

bl page new [url] [flags]

Global flags

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

Examples

bl page new
# Open a blank new page

bl page new https://example.com
# Open a new page and navigate to URL

bl page switch

Switch to a browser page by index or URL substring

Usage

bl page switch [index or url] [flags]

Global flags

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

Examples

bl page switch 1
# Switch to page at index 1

bl page switch google.com
# Switch to page containing "google.com" in URL

On this page