# rust-headless-chrome/rust-headless-chrome

A high-level API to control headless Chrome or Chromium over the DevTools Protocol. It is the Rust equivalent of Puppeteer, a Node library maintained by the Chrome DevTools team.

Repository: https://github.com/rust-headless-chrome/rust-headless-chrome
Canonical: https://ross.abutalabs.com/products/rust-headless-chrome
Language: Rust
License: MIT
License Family: permissive
Last push: 2026-06-11T00:04:40+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 63, longevity 100
- inputs: {"age_days": 2906, "days_push": 84, "days_rel": 84, "gap_med": 104.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2947, forks 270 (observed 2026-08-28T04:07:31.820223+00:00)

## What it is
A Rust library providing a high-level API to control headless Chrome or Chromium via the DevTools Protocol, serving as the Rust equivalent of Puppeteer. It supports navigation, element interaction, screenshots, PDF generation, request interception, and automatic Chromium binary downloads.

## Use cases
- scrape javascript-rendered websites in rust
- take screenshots of web pages programmatically
- generate pdfs from web pages
- run browser-based end-to-end tests in rust
- intercept and monitor network requests in a headless browser
- automate form filling and clicking on web pages
- monitor javascript code coverage

## When to choose
- you need Puppeteer-like browser automation in a Rust project
- you want to scrape or test sites that require a real browser engine
- you need page screenshots or print-to-PDF from Chromium

## When to avoid
- you need full Puppeteer feature parity or the latest CDP features
- you prefer a lighter HTTP-only scraper for static content
- your stack is Node.js or Python where mature Puppeteer/Playwright bindings exist

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, testing, e2e-testing, pdf, image-processing
- domain: web-development, developer-tools, crawlers, testing
- platform: rust, windows, cross-platform
- tags: headless-browser, puppeteer, chrome-devtools-protocol, browser-automation, screenshots, pdf-generation, automation, linux, macos

## Member repositories
- rust-headless-chrome/rust-headless-chrome (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:31.820223+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:32:46.930801+00:00, confidence not recorded.
  - readme: https://github.com/rust-headless-chrome/rust-headless-chrome (fetched 2026-08-28T04:07:31.820223+00:00, sha 652df72bde14)
- Data as of 2026-08-30T08:39:29.467469+00:00.
