Expand description
Browser automation and perception pipeline for the Common Agent Runtime.
This crate provides:
BrowserBackendtrait: abstract interface for browser automation- Perception pipeline: converts raw browser state (screenshots + a11y trees) into structured
UiMapdata - Browser tool registration: registers
browse_*tools withcar-engine
§Architecture
car-browser is backend-agnostic. Consumers provide a BrowserBackend implementation:
- Hydra provides
TauriBackend(drives Tauri’s WebView) - Headless uses
ChromiumBackend(chromiumoxide, behindchromiumfeature) - Tests use
MockBackend
Re-exports§
pub use backend::BrowserBackend;pub use backend::BrowserError;pub use models::A11yNode;pub use models::Bounds;pub use models::Modifier;pub use models::Viewport;pub use models::WaitCondition;pub use tools::BrowserToolExecutor;
Modules§
- backend
- Browser backend trait — the abstract interface that all browser implementations must satisfy.
- models
- Core browser domain types.
- perception
- Perception pipeline — converts raw browser state into structured UiMap data.
- tools
- Browser tool registration and execution for car-engine.