Registry / networking / chromiumoxide

chromiumoxide

JSON →
library0.9.1rscratesunverified

Library for interacting with a Chrome instance using the Chrome DevTools Protocol.

# Cargo.toml [dependencies] chromiumoxide = "0.9.1"
INSTALL
IMPORT
SIG · CHROMIUMOXIDE
C
chromiumoxide
networkingrustv0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Browser
use chromiumoxide::Browser;

Launches a Chrome browser instance and creates a new page.

use chromiumoxide::Browser; use futures::executor::block_on; fn main() { let (mut browser, mut handler) = Browser::launch().unwrap(); let handle = tokio::spawn(async move { handler.await.unwrap() }); let page = block_on(browser.new_page("about:blank")).unwrap(); println!("Page created"); }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) to run the browser handler.
fix
Add tokio as a dependency and use tokio::spawn for the handler.
affects: >=0.9.0
Upgrade
Version history
0.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Meta
1
Amazon
1
OpenAI (training)
1
Resources
chromiumoxide — cargo add chromiumoxide · libregistry