browser_control/lib.rs
1//! Library entry point for `browser-control`.
2
3pub mod a11y;
4pub mod bidi;
5pub mod cdp;
6pub mod cli;
7pub mod config;
8pub mod detect;
9pub mod dom;
10pub mod errors;
11pub mod launch;
12pub mod mcp;
13pub mod paths;
14pub mod registry;
15pub mod session;
16pub mod sidecar;
17pub mod transport;
18
19#[cfg(test)]
20pub(crate) mod test_support {
21 use std::sync::Mutex;
22 /// Global lock for tests that mutate process-wide env vars
23 /// (`BROWSER_CONTROL_DATA_DIR`, `BROWSER_CONTROL_CONFIG_DIR`).
24 pub static ENV_LOCK: Mutex<()> = Mutex::new(());
25}