Skip to main content

Crate roboticus_browser

Crate roboticus_browser 

Source
Expand description

§roboticus-browser

Headless browser automation via Chrome DevTools Protocol (CDP) for the Roboticus agent runtime. Provides a high-level Browser facade that manages a Chromium process, establishes a CDP WebSocket session, and exposes 12 browser actions (navigate, click, type, screenshot, etc.).

§Key Types

  • Browser – High-level facade combining process, CDP session, and actions
  • SharedBrowserArc<Browser> alias for thread-safe sharing
  • PageInfo – Page metadata (id, url, title)
  • ScreenshotResult – Base64 screenshot with format and dimensions
  • PageContent – Extracted page text content

§Modules

  • actionsBrowserAction enum (12 variants), ActionExecutor, ActionResult
  • cdp – Low-level CDP HTTP client for target listing
  • manager – Chrome/Chromium process lifecycle (start, stop, detect)
  • session – CDP WebSocket session (connect, send command, close)

Modules§

actions
cdp
manager
session

Structs§

Browser
High-level browser facade combining process management, CDP control, and action execution.
BrowserConfig
PageContent
PageInfo
ScreenshotResult

Type Aliases§

SharedBrowser
Thread-safe wrapper for shared ownership.