Expand description
browser-control mcp subcommand entry point.
Functions§
- acquire_
bidi_ lock_ if_ needed - Acquire the Firefox BiDi single-session lock if
resolvedis a registered browser on the BiDi engine. ReturnsNonefor external URL endpoints (the lock is per-registered-name) and for CDP engines. Wait bound: 30 s; on timeout, returns the typedBidiLockBusyerror. - resolve_
browser - Resolution order: positional arg /
BROWSER_CONTROLenv (arg wins, env is the fallback — both are merged by clap intobrowser_arg) > persisted default (browser-control set default ...) > most recent live browser > start the default installed browser. - run_cli
- Entry point for
browser-control mcp. - start_
and_ resolve