@ulpi/browse

CLI Flags

All command-line flags for @ulpi/browse.

Session & Profile

FlagDescription
--session <id>Named session — isolates tabs, refs, cookies. Auto-persists on close.
--profile <name>Persistent browser profile — own Chromium instance, full state across runs.
--state <path>Load state file (cookies/storage) before first command.

Output

FlagDescription
--jsonWrap output as {success, data, command}.
--content-boundariesWrap page content in nonce-delimited markers (prompt injection defense).
--max-output <n>Truncate output to N characters.

Browser

FlagDescription
--headedRun browser in headed (visible) mode.
--cdp <port>Connect to Chrome on a specific debugging port.
--connectAuto-discover and connect to a running Chrome instance.
--chromeUse system Chrome with real user profile. Shortcut for --runtime chrome --headed.
--runtime <name>Browser engine: playwright (default), rebrowser (stealth), lightpanda, chrome (system Chrome).
--provider <name>Cloud browser provider: browserbase, browserless.

Integration

FlagDescription
--mcpRun as MCP (Model Context Protocol) server for Cursor, Claude Desktop, Windsurf.

Security

FlagDescription
--allowed-domains <d,d>Comma-separated domain allowlist. Blocks navigation and resources outside the list.

On this page