Skip to content

CLI Reference

All brow commands follow the pattern:

brow <command> -s <session-id> [options]

The -s / --session flag is required for any command that operates on a session. Session IDs are simple integers assigned at creation time.

Command groups

GroupCommands
Daemondaemon start, daemon stop, daemon status
Sessionssession new, session list, session delete
Navigationnavigate, wait, url
Interactionclick, fill, select, type, key, hover, scroll, scroll-to, drag, upload
Observationsnapshot, screenshot, html, logs, network, fetch, websocket
Actions & Replayactions, replay
Pagespage list, page new, page close, page switch
Profilesprofile list, profile delete
Statesstate save, state restore, state list
Evaleval

Auto-start

The daemon starts automatically when you run any session command. You don’t need to call brow daemon start manually.

Exit codes

CodeMeaning
0Success
1Daemon failed to start
2API error (details printed to stderr)