browser-control 0.2.2

CLI that manages browsers and exposes them over CDP/BiDi for agent-driven development. Includes an optional MCP server.
Documentation
//! Library entry point for `browser-control`.

pub mod bidi;
pub mod cdp;
pub mod cli;
pub mod config;
pub mod detect;
pub mod dom;
pub mod errors;
pub mod launch;
pub mod mcp;
pub mod paths;
pub mod registry;

#[cfg(test)]
pub(crate) mod test_support {
    use std::sync::Mutex;
    /// Global lock for tests that mutate process-wide env vars
    /// (`BROWSER_CONTROL_DATA_DIR`, `BROWSER_CONTROL_CONFIG_DIR`).
    pub(crate) static ENV_LOCK: Mutex<()> = Mutex::new(());
}