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