Skip to main content

Module browser

Module browser 

Source
Expand description

Browser automation types — ring-side view into the web.

This module defines the types, traits, and pool management for CDP-based browser automation. Agents use these scouting moves to navigate web pages, take screenshots, click elements, and extract content. The actual CDP WebSocket driver is plugged in separately — this module provides the contract and the session arena.

Structs§

BrowserConfig
Configuration for launching a browser instance.
BrowserPool
A pool of browser sessions — the roster of active ring-side scouts.
BrowserResult
The result of executing a browser action.
BrowserSession
A live browser session — one fighter’s ring-side view into the web.

Enums§

BrowserAction
An action the agent wants to perform in the browser — a scouting move.
BrowserState
The current state of a browser session in the ring.

Traits§

BrowserDriver
Trait for a browser automation driver — the engine behind the punches.