browser-control 0.3.4

CLI that manages browsers and exposes them over CDP/BiDi for agent-driven development. Includes an optional MCP server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Engine-agnostic page operations shared by CLI and MCP.
//!
//! The CLI surface (`cookies`, `fetch`, `storage`, `eval`, …) and the MCP
//! tools (`navigate`, `get_dom`, `screenshot`, `fetch`, `select_element`)
//! both need the same primitives: attach to a page target, evaluate a script,
//! navigate, capture a screenshot. This module provides those once instead
//! of duplicating them per consumer.

pub mod attach;
pub mod targets;

pub use attach::PageSession;
pub use targets::{list as list_targets, TargetInfo};