Skip to main content

Module agent

Module agent 

Source
Expand description

Running BrowserActions against a tab and reporting how each one went.

Re-exports§

pub use crate::action::BrowserAction;
pub use crate::action_builder::ActionBuilder;

Structs§

ActionResult
Outcome of BrowserAgent::execute. Errors are captured as strings rather than propagated so a batch of actions (BrowserAgent::execute_many) can run to completion and report per-action success/failure.
BrowserAgent
Drives a single browser tab via BrowserActions. Wraps a CdpClient with Page, Runtime, DOM, and Network already enabled.