Skip to main content

Crate runtime_foxdriver

Crate runtime_foxdriver 

Source
Expand description

Firefox browser automation via WebDriver BiDi (rustenium).

This crate provides a spawn-capable Firefox runtime: launch, drive, evaluate, click, type, scroll, screenshot, cookies, and frames. It is intentionally independent of guise (the stealth substrate) so the fleet’s layering stays one-way: guise may depend on foxdriver for its browser feature, but foxdriver knows nothing about stealth profiles, fingerprint bundles, or TLS impersonation.

Consumers that need stealth should use guise::browser (which wraps foxdriver with profile application) rather than using foxdriver directly.

Re-exports§

pub use browser::launch_firefox;
pub use browser::launch_firefox_self_managed;
pub use browser::proxy_prefs;
pub use browser::Element;
pub use browser::EvaluationResult;
pub use browser::FoxBrowserConfig;
pub use browser::FrameId;
pub use browser::FrameInfo;
pub use browser::FrameTreeNode;
pub use browser::Page;
pub use browser::ProxyConfig;
pub use browser::ProxyScheme;
pub use browser::ScrollDirection;
pub use cookies::CapturedCookie;
pub use dialog::CapturedDialog;
pub use dialog::CapturedDownload;
pub use dialog::DialogLog;
pub use frame_graph::FrameGraph;
pub use frame_graph::FrameNode;
pub use network::CapturedHeader;
pub use network::CapturedRequest;
pub use network::CapturedResponse;
pub use network::Filter;
pub use network::NetworkEntry;
pub use network::NetworkLog;
pub use runtime::drive_browser;

Modules§

browser
Firefox browser automation via rustenium (WebDriver BiDi).
cookies
Captured browser cookies, preserve a solved-captcha session across page loads.
dialog
JS dialog (alert/confirm/prompt/beforeunload) and page-initiated download capture via WebDriver BiDi browsingContext.* events.
frame
Cross-origin iframe evaluation helpers.
frame_graph
Frame + shadow-root graph for the current page.
network
Passive network instrumentation for BiDi browsers.
runtime
Browser launch via rustenium Firefox (replaces runtime_headless).
sensors
The Omniscient Page: a passive, always-on instrumentation grid injected into every page’s MAIN world before its scripts run.