# jonhoo/fantoccini

A high-level API for programmatically interacting with web pages through WebDriver.

Repository: https://github.com/jonhoo/fantoccini
Canonical: https://ross.abutalabs.com/products/fantoccini
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, webdriver, automation, library
Last push: 2026-08-08T18:59:28+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3384, "days_push": 25, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2014, forks 135 (observed 2026-08-28T04:06:05.453166+00:00)

## What it is
Fantoccini is a Rust library providing a high-level async API for programmatically controlling browsers via the WebDriver protocol. It supports common operations like clicking elements, filling and submitting forms, and fetching page sources using CSS selectors.

## Use cases
- scrape dynamic web pages rendered by javascript
- automate form filling and submission in a browser
- run end-to-end browser tests against a web app
- click through site flows programmatically
- download files behind authenticated browser sessions
- automate interactions with a headless browser in rust

## When to choose
- you are writing rust and need WebDriver-based browser automation
- you want a high-level typed API over geckodriver/chromedriver
- you need to interact with javascript-heavy pages that plain HTTP clients cannot handle

## When to avoid
- you need a simple HTTP scraper without a real browser
- you prefer selenium or playwright ecosystems in other languages
- you need pixel-perfect screenshot or video capture tooling

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, workflow-automation, developer-tools
- domain: web-development, developer-tools, crawlers
- platform: rust, cross-platform
- tags: webdriver, browser-automation, headless-browser, async, scraping, automation

## Member repositories
- jonhoo/fantoccini (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:05.453166+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-30T03:00:49.694083+00:00, confidence not recorded.
  - readme: https://github.com/jonhoo/fantoccini (fetched 2026-08-28T04:06:05.453166+00:00, sha 65e4cda84036)
  - registry_crates: https://crates.io/api/v1/crates/fantoccini (fetched 2026-08-29T10:40:40.874855+00:00, sha 7b5521dae9c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
