# rubycdp/ferrum

Headless Chrome Ruby API

Repository: https://github.com/rubycdp/ferrum
Canonical: https://ross.abutalabs.com/products/ferrum
Homepage: https://ferrum.rubycdp.com
Language: Ruby
License: MIT
License Family: permissive
Topics: chrome, chromium, headless, headless-chrome, web, automation, developer-tools
Last push: 2026-08-26T12:48:22+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 74, longevity 100
- inputs: {"age_days": 2598, "days_push": 7, "days_rel": 13, "gap_med": 154.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2037, forks 169 (observed 2026-08-28T04:06:08.157689+00:00)

## What it is
Ferrum is a Ruby library providing a clean, high-level API to control Chrome or Chromium via the Chrome DevTools Protocol (CDP), with no Selenium/WebDriver dependency. It runs headless by default and supports navigation, screenshots, JavaScript evaluation, and mouse/keyboard interaction.

## Use cases
- scrape javascript-rendered websites with ruby
- take screenshots of web pages programmatically
- automate a headless chrome browser in ruby
- evaluate javascript on a page and extract results
- drive chrome via cdp without selenium
- test web apps with a real browser from ruby

## When to choose
- you need a pure Ruby headless Chrome driver without Selenium/WebDriver overhead
- you want direct access to Chrome DevTools Protocol features
- you're building Ruby web scraping or browser automation on top of Chrome

## When to avoid
- you need cross-browser testing beyond Chrome/Chromium
- you're not working in Ruby
- you need a Capybara driver directly - use Cuprite, which is built on Ferrum

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, developer-tools, testing
- domain: web-development, developer-tools, crawlers
- platform: ruby, cross-platform
- tags: headless-chrome, cdp, browser-automation, chromium, capybara-driver, automation

## Member repositories
- rubycdp/ferrum (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:08.157689+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-30T02:59:17.739476+00:00, confidence not recorded.
  - readme: https://github.com/rubycdp/ferrum (fetched 2026-08-28T04:06:08.157689+00:00, sha 856850396b4a)
  - homepage: https://ferrum.rubycdp.com (fetched 2026-08-29T10:38:43.537079+00:00, sha 7d5308d64cc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
