browser_oxide 0.1.3

Stealth headless browser engine in Rust: real HTML/CSS/DOM/JS, V8 via deno_core, own BoringSSL TLS/JA4 fingerprint, no Chromium, no CDP — for anti-bot web scraping, archival, and AI agents
Documentation
#[cfg(test)]
mod tests {
    use browser_oxide::Page;

    #[tokio::test]
    async fn test_screen_properties_oxide() {
        let profile = browser_oxide::stealth::presets::chrome_148_macos();
        let mut page = Page::from_html_with_url(
            "<!DOCTYPE html><html><body></body></html>",
            "https://example.com",
            Some(profile),
        )
        .await
        .unwrap();

        let r = page
            .evaluate(
                r#"
            JSON.stringify({
                width: screen.width,
                height: screen.height,
                availWidth: screen.availWidth,
                colorDepth: screen.colorDepth,
                pixelDepth: screen.pixelDepth,
                type: typeof screen,
                proto: Object.getPrototypeOf(screen).constructor.name,
                ownKeys: Object.getOwnPropertyNames(screen)
            }, null, 2)
        "#,
            )
            .unwrap();
        println!("SCREEN OXIDE:\n{}", r);
    }
}