2 releases
0.1.1 | Jul 29, 2024 |
---|---|
0.1.0 | Jul 23, 2024 |
#2 in #stealth
55KB
1K
SLoC
Chromiumoxide Stealth
Enhance your Chromiumoxide automation with stealth capabilities
About The Project
Chromiumoxide Stealth is a Rust library designed to integrate seamlessly with the chromiumoxide
crate, providing additional stealth capabilities for automated browsing sessions. This project follow selenium-stealth and puppeteer-extra-plugin-stealth implementation.
Getting Started
To use Chromiumoxide Stealth in your project, add it as a dependency in your Cargo.toml
:
[dependencies]
chromiumoxide_stealth = { git = "https://github.com/cloei/chromiumoxide_stealth" }
Examples
use chromiumoxide_stealth;
use chromiumoxide::{Browser, BrowserConfig};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let (browser, _) = Browser::launch(BrowserConfig::default()).await?;
let page = browser.new_page("https://example.com").await?;
chromiumoxide_stealth::inject(&page).await?;
Ok(())
}
Dependencies
~14–28MB
~455K SLoC