Skip to main content

Crate browser_control

Crate browser_control 

Source
Expand description

Library entry point for browser-control.

Modules§

bidi
Minimal WebDriver BiDi WebSocket client.
cdp
Minimal Chrome DevTools Protocol (CDP) WebSocket client.
cli
config
Persistent user configuration (TOML at <config_dir>/config.toml).
detect
Cross-platform browser detection.
dom
errors
Shared error types.
launch
Browser launcher: spawns a browser process and waits for its remote debugging endpoint to come up.
mcp
paths
OS app-data directory resolution.
registry
SQLite-backed registry of running browser instances.
session
Engine-agnostic page operations shared by CLI and MCP.
sidecar
Playwright sidecar — spawn and talk to a Node script that wraps playwright-core.
transport
Shared WebSocket JSON-RPC transport (WsRpc) used by both the CDP and BiDi clients.