roboticus-browser
Version 0.5.0
Headless browser automation via Chrome DevTools Protocol (CDP) for the Roboticus agent runtime. Supports 12 browser actions: navigate, click, type, screenshot, evaluate, read page content, reload, back, forward, wait, scroll, and PDF export.
Key Types
| Type | Module | Description |
|---|---|---|
Browser |
lib |
High-level facade combining process management, CDP, and actions |
SharedBrowser |
lib |
Arc<Browser> for thread-safe shared ownership |
BrowserAction |
actions |
Enum of 12 browser actions |
ActionResult |
actions |
Action execution result (success, data, error) |
ActionExecutor |
actions |
Dispatches actions to CDP commands |
BrowserManager |
manager |
Chrome/Chromium process lifecycle |
CdpSession |
session |
WebSocket session to CDP endpoint |
CdpClient |
cdp |
CDP HTTP client for target discovery |
PageInfo |
lib |
Page metadata (id, url, title) |
ScreenshotResult |
lib |
Base64-encoded screenshot with dimensions |
Usage
[]
= "0.5"
use ;
let browser = new;
browser.start.await?;
let result = browser.execute_action.await;
browser.stop.await?;
Documentation
API docs are available on docs.rs.
License
Licensed under Apache-2.0. See LICENSE for details.