Expand description
Antidetect browser automation powered by chromiumoxide CDP.
use clawser_browser::Browser;
#[tokio::main]
async fn main() -> clawser_browser::Result<()> {
let browser = Browser::builder()
.headful()
.profile(7, 777)
.build().await?;
let page = browser.new_page("https://example.com").await?;
let title = page.js("document.title").await?;
println!("{title}");
browser.close().await
}Re-exports§
pub use wreq;
Modules§
- header
- HTTP header types
Structs§
- Browser
- Browser
Builder - Http
Client - HTTP client impersonating Chrome 134 at TLS + HTTP/2 level.
- Http
Client Builder - Builder for
HttpClient. - HwProfile
- Page
Statics§
Functions§
- generate_
config_ json - Generate a complete clawser config JSON for the given profile and seed.
- random_
profile - Pick a random profile index and seed using OS time + counter.
- write_
config_ file - Write config JSON to temp file, return the canonical Windows path.