v0.14.0 Published3-tier hybrid engine is now live at v0.14.0 across crates.io, npm, PyPI, GHCR, and GitHub Releases.Release v0.14.0 →

APACHE-2.0 · V0.14.0 RELEASED · 3-TIER HYBRID ENGINE

Run a fast, isolated fleet of headless Chrome.

Fluxwright resolves static pages in pure Rust HTTP first, routes non-visual scripts through an optional light-CDP tier, and pools isolated Chrome contexts with automatic crash recovery, replayable sessions, built-in E2E tests, and a 22-tool MCP server.

npm install fluxwright

Published at v0.14.0 across crates.io (6 crates), npm (6 unscoped packages, 5 native targets), PyPI (5 wheels + sdist), GitHub Releases (7 targets including Windows ARM64 and Linux musl), and multi-arch GHCR.

LIVE TOPOLOGY SIMULATION

Hybrid fast-path & pooled Chrome fleet

HTTP fast hits
842
Browser jobs
1,284
Recycled
3
Retried
1
Static pages resolve in Tier 1 Rust HTTP without waking Chrome. Dynamic SPAs and visual jobs lease free contexts across pooled Chromes, drain above 900 MB, and retry if a renderer dies. Illustrative simulation, not measured data.
Capabilities12
Zero anti-bot evasion. Pure Chromium & HTTP precision.
01POST /v1/scrape
Hybrid Engine · POST /v1/scrapeInspect code →

3-Tier Hybrid Engine

NEW

Static pages resolve via pure Rust HTTP first, then escalate cleanly to an external light-CDP tier or pooled Chrome when scripts or pixels require it.

02POST /v1/map
Hybrid Engine · POST /v1/mapInspect code →

DNS-Pinned HTTP Fetcher

RUST

Pure-Rust rustls + scraper pipeline extracts clean Markdown, text, links, and sitemaps with netguard SSRF validation repeated on every 3xx hop.

03--fast-cdp-endpoint
Hybrid Engine · --fast-cdp-endpointInspect code →

Light-CDP & Low-RAM Mode

CDP

Connect pluggable external light-CDP servers (Moli, Obscura, Lightpanda) with -32601 method fallback, plus --low-memory flags and RSS recycling.

04browser.newPage()
Fleet Core · browser.newPage()Inspect code →

A Fresh Page Per Job

CORE

Every lease creates an isolated BrowserContext on pooled Chrome so cookies, localStorage, and cache never bleed into sibling jobs.

05JobOptions::retries
Fleet Core · JobOptions::retriesInspect code →

Priority Queue & Crash Retry

CORE

Wait in a priority queue or fail fast under load. Parent-tethered Chromes restart fast when a renderer crashes and automatically replay failed jobs.

06memory_ceiling_mb
Fleet Core · memory_ceiling_mbInspect code →

Container-Aware RAM Ceiling

FLEET

Auto-sizes to 1 browser per 4 CPUs and 75% of free RAM using cgroup limits in Docker, draining and recycling processes without pausing the fleet.

07fluxwright/test
Testing & E2E · fluxwright/testInspect code →

Built-in E2E Test Batteries

E2E

Auto-retrying expect() assertions, .zip trace archives, WebM/AVI video recording, toHaveScreenshot() diffs, Shadow DOM piercing, and pytest plugin.

08page.getByRole()
Testing & E2E · page.getByRole()Inspect code →

Full Playwright-Style API

API

Role locators, cross-origin frameLocator, deterministic page.clock, route({ times }) & fallback, HAR 1.2 record/replay, PDFs, and APIRequestContext.

09POST /v1/sessions
Cloud & HITL · POST /v1/sessionsInspect code →

Managed Sessions & Replay

CLOUD

Reconnectable TTL sessions with persistent profiles, 15-minute searchable Replay streams, redacted HAR/API export, Dashboard modals, and BYOB CDP.

10/v1/live/{id}/embed
Cloud & HITL · /v1/live/{id}/embedInspect code →

Live Screencast & HITL

HITL

Stream real-time JPEG frames to /dashboard, issue signed read-only or interactive embed URLs, and hand control to a human with pause_for_human.

11fluxwright coordinate
Cloud & HITL · fluxwright coordinateInspect code →

Cluster, Webhooks & OTLP

OPS

Scale across workers with lease coordination, SQLite --store, per-host concurrency limits, AIMD throttling, HMAC webhooks, Prometheus, and OTLP spans.

12fluxwright-mcp --http
AI & MCP · fluxwright-mcp --httpInspect code →

22-Tool MCP & Agent Guards

MCP

Stdio or Streamable HTTP MCP exposing @eN@rK revision-pinned snapshots, Set-of-Marks screenshots, Markdown, and curl/JSON export_api_calls.

02 / EXECUTION ARCHITECTURE

Three tiers when speed counts, one lifecycle underneath.

Stay in zero-browser Rust HTTP when the HTML already has what you need, or escalate seamlessly to external light-CDP or pooled Chromium without changing callers.

TIER 1 · DEFAULT

Pure-Rust HTTP + html5ever

Fetches static docs, blogs, sitemaps, and server-rendered pages using rustls + ring and DNS-pinned SSRF checks on every redirect hop. Zero Chrome launched.

mode: "auto" | "http"
TIER 2 · OPTIONAL

External Light-CDP Server

Routes non-visual escalated JS jobs to a user-supplied lightweight CDP endpoint (such as Moli, Obscura, or Lightpanda) with graceful -32601 fallback and zero AGPL entanglement.

--fast-cdp-endpoint <url>
TIER 3 · FULL FIDELITY

Pooled chrome-headless-shell

Automatically takes over for SPAs, challenge pages, interactions, screenshots, PDFs, or snapshots with isolated contexts, crash retries, and optional --low-memory flags.

--low-memory · cgroup 75%
  1. 01

    Route

    Static scrapes hit Tier 1 Rust HTTP first; browser jobs enter engine.run().

  2. 02

    Admit

    Busy pools queue by priority or shed load above the cgroup RAM ceiling.

  3. 03

    Lease

    Each job gets an isolated context on the least busy Chrome. Zero shared state.

  4. 04

    Run

    Drives navigation, locators, snapshots, screencasts, or visual diffs safely.

  5. 05

    Recycle

    Destroys the context immediately and drains bloated browsers without stalling.

03 / POLYGLOT SDK & PROTOCOLS

Native speed in every runtime.

Node and Python load a compiled Rust native module directly in process, eliminating intermediate Node/Go driver hops. Use one Playwright-style API across TypeScript, Python, Rust, HTTP, CDP WebSockets, and MCP.

The 22-tool MCP server exposes navigation (open, goto, back, forward, tabs, close), AI inspection (snapshot with @eN@rK revision guardrails, markdown, title, content, screenshot), actions (click, hover, fill, press, select, scroll, wait_for, evaluate), and diagnostics (console, network, export_api_calls).

TypeScript SDK
import { chromium } from "fluxwright";

const browser = await chromium.launch({ maxBrowsers: 4 });

// Fresh browser context on a pooled Chrome.
const page = await browser.newPage();
await page.goto("https://example.com", { waitUntil: "domcontentloaded" });

await page.getByRole("button", { name: "Accept" }).click();
await page.getByRole("textbox", { name: "Search" }).fill("chromium");

// Cross-origin iframes pierce cleanly with the same locator API.
const payment = page.frameLocator("iframe#payment");
await payment.getByRole("textbox", { name: "Card" }).fill("4242");

// AI accessibility snapshots (@eN@rK revision guardrails) + Markdown.
const snapshot = await page.ariaSnapshot();
const markdown = await page.markdown();

await page.close(); // destroys context and frees the pool slot
await browser.close();
04 / MEASURED IN GITHUB ACTIONS

Benchmarks that hold under chaos.

Every runner executed on identical chrome-headless-shell 158.0.8127.88 binaries with isolated browser contexts per job on ubuntu-latest (4 vCPU).

8 / 8 scenariosFastestBeat Crawlee, puppeteer-cluster, Playwright, Puppeteer, and Selenium
1,000-job chaos40.0 /s0.0% failed across 11 browser kills (Crawlee 3.3 /s, Selenium 82.4% failed)
Chaos p95 latency869 msvs 16,105 ms for Crawlee under 2s kills (0 leaked Chrome)
Tier 1 fast path497.0 /sStatic /v1/scrape in 14 MB RSS vs 23.8–24.8 /s in browser
Throughput in jobs per second
Workload scenarioFluxwright (jobs/s)puppeteer-clusterCrawleePlaywrightSelenium (BiDi)
1 browser, 10 pages (100 jobs)35.233.521.831.028.1
10 browsers, 2 pages each (40 jobs)41.830.719.631.325.5
500 concurrent (10 browsers × 20 pages)43.833.523.933.326.0
1,000 queued (4 browsers × 8 pages)42.732.724.034.527.7
100 PDFs (4 browsers × 8 pages)37.629.122.132.523.7
200 scraping jobs (images + fonts)30.227.120.625.120.8
1,000 chaos jobs (browser kill / 2s)40.023.33.325.882.4% failed

Measured in GitHub Actions run 45952022742 (27 November 2026) with full-lifecycle job timing, process-tree RSS, and normalized host CPU% on chrome-headless-shell 158.0.8127.88, plus fastpath-bench.mjs (497.0 req/s on /v1/scrape, 1,023.5 req/s on /v1/map in 14 MB RSS). Selenium runs WebDriver BiDi (fresh browser.createUserContext() per job); Crawlee uses 797–1,216 MB peak RAM behind pLimit(1) page serialization. In chaos, raw Playwright (74.0% failed) and Selenium (82.4% failed) drop jobs once their 4 browsers die, while soak-5m (45825257140) held 7,898 jobs at 0.0% failure.

05 / DEPLOYMENT TARGETS

Install in seconds, run anywhere.

Tier 1 HTTP fast-path endpoints run with zero browser binaries installed. For full Chromium rendering, install chrome-headless-shell, which opened pages 5 to 10 times faster than full headed Chrome in our CI runs.

fluxwright install
Install via npm
npm install fluxwright

Unscoped prebuilt binaries across Windows x64, macOS (Apple silicon & Intel), and Linux (x64 & ARM64 glibc). Requires Node 18 or later.

06 / HONEST BOUNDARIES

Know before you choose it.

What it does not do

  • Firefox or WebKit. Fluxwright is HTTP fast-path + Chromium CDP only.
  • Interactive GUI codegen or a built-in Trace Viewer UI (Fluxwright writes Playwright-compatible .zip traces you open in Playwright Trace Viewer).
  • Java or .NET SDKs. Official bindings target Node, Python, and Rust.
  • Anti-bot evasion.

Safe by default

  • Chrome's sandbox stays enabled unless FLUXWRIGHT_NO_SANDBOX=1 is set.
  • Tier 1 HTTP fast path validates URLs via netguard DNS pinning on every 3xx redirect hop.
  • Linux and macOS control Chrome over a private pipe, never an open debug port.
  • Jobs never share cookies or storage; Chrome exits immediately when the engine exits.
  • HTTP and CDP endpoints require bearer tokens; saved profiles and journals write 0600 on Unix with isolated FLUXWRIGHT_WORKER_TOKEN TLS support.