Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust
Rust ai-agentsai-toolsbrowserbrowser-automationcloud-browserheadlessheadless-browserkitesurfplaywrightpuppeteerrustservoweb-crawlerweb-crawlingweb-scraperweb-scraping
/// Exact renderer browsing-context source of a browser-owner handoff.
///
/// Root frames are identified by the enclosing Page/Document identity carried
/// by the handoff. Child frames and lightweight popups need their own stable
/// LocalWindow/Document identity as well: neither may silently degrade to the
/// opener Page's then-current root frame after the handoff leaves the
/// renderer.
#[derive(Clone, Debug, Eq, Hash, PartialEq)]
pub enum RendererWindowDocumentSource {
RootFrame,
ChildFrame {
frame_id: String,
local_window_id: u64,
document_id: u64,
},
LightweightPopup {
popup_id: u64,
popup_document_id: u64,
},
}