Registry / other / headless-chrome

headless-chrome

JSON →
library1.0.21rscratesunverified

Control Chrome programmatically.

# Cargo.toml [dependencies] headless_chrome = "1.0.21"
INSTALL
IMPORT
SIG · HEADLESS-CHROME
H
headless-chrome
otherrustv1.0.21
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 headless_chrome::Browser;

Launches and controls a headless Chrome browser.

use headless_chrome::Browser; let browser = Browser::default().unwrap(); let tab = browser.new_tab().unwrap(); tab.navigate_to("https://example.com").unwrap();
Debug
Known issues
gotchaRequires Chrome/Chromium installed on the system.
fix
Install Chrome or set the CHROME_PATH environment variable.
affects: >=1.0.0
Upgrade
Version history
1.0.21latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
headless-chrome — cargo add headless-chrome · libregistry