Repository navigation
Releases
Releases · harshit-d3v/fluxwright
Fluxwright v0.15.0
What's Changed
- bench: add puppeteer-cluster, crawlee, p50/p99 latency, and CPU% by @harshit-d3v in #148
- bench: measure full job lifecycle latency in puppeteer-cluster and crawlee by @harshit-d3v in #149
- docs: publish 5-tool CI benchmark results (run 45939361663) by @harshit-d3v in #150
- bench: add selenium-webdriver as 6th CI benchmark competitor by @harshit-d3v in #151
- feat(parity): Playwright compatibility matrix, parity suite, and missing Node/Python page waits by @harshit-d3v in #152
- fix(benchmarks): use Selenium 4 WebDriver BiDi userContexts for fair per-job isolation by @harshit-d3v in #153
- ci: speed up GitHub Actions with paths-filter, BuildKit cargo cache, and uv by @harshit-d3v in #154
- docs(phase1): add llms.txt, migration guide, deploy kit, and verified 6-tool BiDi benchmarks by @harshit-d3v in #155
- feat(server): async recursive /v1/crawl, declarative CSS extract, and /openapi.json by @harshit-d3v in #157
- feat(cli,cdp): standalone fluxwright show-trace HTML viewer and FLUXWRIGHT_DEBUG=1 by @harshit-d3v in #156
- feat(bench,ci,docs): scheduled 2-hour soak CI, cluster scaling bench, and production guide by @harshit-d3v in #158
- feat: v1.0 stability contract, MCP schema snapshot test, and starter apps by @harshit-d3v in #159
- feat(sdk): add typed Node and Python FluxwrightClient HTTP SDKs by @harshit-d3v in #160
- feat(server,cli): multi-tenant auth/quotas, session files & extensions, sticky sessions, and OpenAPI contract by @harshit-d3v in #161
- chore: add NOTICE file with copyright attribution by @harshit-d3v in #162
- chore: credit Harshit Prakash as author across packages, docs and citation by @harshit-d3v in #164
- docs: add npm, PyPI and license badges by @harshit-d3v in #163
Full Changelog: v0.14.0...v0.15.0
Fluxwright v0.14.0
Fluxwright v0.14.0
3-Tier Hybrid Execution Engine
- Tier 1 pure-Rust HTTP fast path (
POST /v1/scrape&POST /v1/map): DNS-pinned, SSRF-safe HTTP/1.1 + HTTPS fetcher (rustls+ring) andhtml5everHTML-to-Markdown / link /include_sitemapextractor.modedefaults to"auto"(accepting"auto","http", or"browser"), reportsengine: "http" | "browser"andfallback_reason, defaultsresource_presetto"scraping"on non-visual scrape/map calls, and exposesfluxwright_fastpath_hits_totalandfluxwright_fastpath_fallbacks_totalon Prometheus/metrics. - Tier 2 opt-in external light-CDP hook (
--fast-cdp-endpoint): Connects non-visual escalated scrapes/maps to an external lightweight CDP server (such as Moli, Obscura, or Lightpanda) with graceful-32601Method Not Found capability fallback and zero AGPL entanglement. - Tier 3 low-memory Chromium options: Opt-in
--low-memorylaunch flags and--recycle-rss-mbRSS recycling threshold across CLI, server, and RustLaunchOptions::low_memory/EngineBuilder::low_memory.
Verified CI Benchmarks (Run 45825257140, ubuntu-latest, chrome-headless-shell 158.0.8127.88)
- Tier 1 HTTP fast path (
benchmarks/fastpath-bench.mjs, 30 reqs x 8 concurrency, 0 failures across 14 scenarios):scrape-static-auto: 518.8 req/s, 13.9 ms p50, 13 MB server RSS (vs28.9 req/s,269.7 msp50,384 MBRSS in browser scraping mode)map-static-auto: 1,140.7 req/s, 6.7 ms p50, 14 MB server RSSscrape-mixed-auto(80% static / 20% SPA): 130.2 req/s (24 HTTP / 6 browserauto-escalation)
- 5-minute soak & fleet chaos:
soak-5m: 7,898 jobs in 300s (26.3 jobs/s,43 msp95), 0.0% failures, 0 leaked Chrome processes, flat RSS after recycling (505 -> 517 -> 443 -> 442 MB)- Fleet & chaos: Beat Playwright & Puppeteer in all 8/8 scenarios (
66.1vs36.3jobs/s at-36.3%peak RAM on10-concurrent-browsers; 48.6 jobs/s with 0.0% failures across 9 browser kills inchaos-1000-queuedvs71.3%/67.7%failures)
Install (All 5 Channels)
- Rust (
crates.io, first release across all 6 workspace crates):cargo add fluxwright@0.14.0(plusfluxwright-cdp,fluxwright-core,fluxwright-server,fluxwright-cli,fluxwright-mcp) - Node/TS:
npm install fluxwright@0.14.0 - Python:
pip install fluxwright==0.14.0 - Docker (multi-arch
linux/amd64+linux/arm64):docker pull ghcr.io/harshit-d3v/fluxwright:0.14.0 - Prebuilt CLI & MCP binaries (7 targets): Download archives from the Assets below (
x86_64/aarch64Linux gnu,x86_64Linux musl, macOS Apple silicon & Intel,x86_64/aarch64Windows).
Fluxwright v0.13.2
Patch release fixing POST /v1/map block_cookie_banners deserialization, per-target session replay capture tracking, and target blocker setup when no CDP client is connected.
What changed
POST /v1/mapblock_cookie_banners: Accept"block_cookie_banners": trueinMapRequest(crates/fluxwright-server/src/map.rs) and forward it to the underlying crawl job so requests matchingdocs/SERVER.mdno longer return HTTP422.- Per-target session replay tracking & throttling: Track navigation URLs and captured screenshot URLs per observer session (
HashMap), recordlast_frame_atonly when a frame capture succeeds, and applyMIN_FRAME_CAPTURE_INTERVALconsistently acrossPage.frameNavigatedandPage.loadEventFiredincrates/fluxwright-server/src/sessions.rs. - Disconnected session target blocking: Install
ensure_preset_blockerinsidespawn_session_reaperon newly created session pages and iframes even before a CDP WebSocket client connects.
Fluxwright v0.13.1
Patch release fixing managed session cookie banner blocking, replay frame capture reliability, and 0.13.0 documentation mismatches.
What changed
- Managed sessions (
POST /v1/sessions): Wireblock_cookie_bannersthroughGatewayPolicyandBlockerConfiginto the CDP gateway Fetch blocker so CMP script origins are blocked across session pages and child iframes alongsideresource_preset. Verified bymanaged_session_blocks_cookie_banners_via_gateway. - Session replay frame capture: Add a
Page.loadEventFiredfallback capture when the initialPage.frameNavigatedscreenshot did not land, and raisePage.captureScreenshottimeout from 5s to 10s. - Docs & metadata: Update stale
21-toolMCP copy to22-tool, includeexport_api_callsin tool lists acrossREADME.mdandwww, clarify npm/PyPI 5-target vs GitHub Releases 7-target prebuilt coverage on the landing page, and documentblock_cookie_bannersacross/v1/jobs,/v1/sessions,/v1/scrape, and/v1/mapindocs/SERVER.md.
Fluxwright v0.13.0
What's new in v0.13.0
Searchable Session Replay, Network/HAR/API Export & Dashboard Upgrade
GET /v1/sessions/{id}/replay: Searchable per-session timeline (nav,console,network,frameevents with?q=,?kind=,?include_frames=true|false) and optional throttled JPEG frame capture ("record_frames": trueonPOST /v1/sessions), plus a 15-minute retained replay ring (MAX_RETAINED_REPLAYS = 32) that survivesDELETE /v1/sessions/{id}and TTL expiry.GET /v1/sessions/{id}/network: Live or retained request log supporting?filter=,?api_only=true(xhr/fetch+ JSON/GraphQL responses),?format=json|har(HAR 1.2 export), and default redaction ofauthorization,cookie,set-cookie,x-api-key, andproxy-authorization(?include_auth=trueto opt in).- Dashboard Managed Sessions UI (
/dashboard): New Managed Sessions table with Live, searchable Replay, and Network / API modal viewers.
Synchronous Site Link Discovery (POST /v1/map) & Opt-In BYOB Sessions
POST /v1/map: Single-request rendered link discovery deduplicatinghttp:/https:anchors withsame_origin,include_subdomains,search, andlimitfilters under SSRF validation.- Opt-in BYOB
cdp_endpointonPOST /v1/sessions: Enable withfluxwright serve --allow-session-cdp-endpoint(ServerConfig::allow_session_cdp_endpoint, fail-closed403when off) to attach external browsers (e.g. Patchright or local stealth Chrome) into Fluxwright's managed session, Live View, and Replay pipeline.
AI-Agent Guardrails & Observe-Once API Export
- Snapshot Revisions & Pinned Refs (
@eN@rK):AriaSnapshot.revisionincrements on every snapshot and resets/bumps across navigations across Rust, Node (revision: number), Python, andfluxwright-mcp(rev: Nheader). Passing@eN@rKfails fast with a clear stale-ref error if the page mutated or navigated. - MCP
export_api_calls(Tool #22): Captures structuredxhr/fetch/JSON calls with headers +post_datainjsonorcurlformat (auth headers redacted by default) so agents can replay APIs directly viaAPIRequestContext. - Cookie-Banner Blocking Preset (
block_cookie_banners): CuratedCOOKIE_BANNER_URL_PATTERNSpreset across Rust (JobOptions::block_cookie_banners(true)),/v1/jobs,/v1/scrape, and/v1/sessions.
Agent Framework Adapters & Stability
examples/adapters/: Drop-in starter adapters for Browser-Use, Stagehand v3, and Vercel AI SDK (plusfluxwright-mcp --http).- Python macOS cross-origin iframe fix: Stabilized
test_multi_tab_popups_and_framesusing auto-retryingexpect().
Install
- Node/TS:
npm install fluxwright@0.13.0 - Python:
pip install fluxwright==0.13.0 - Rust:
cargo add fluxwright@0.13.0 - Docker:
docker pull ghcr.io/harshit-d3v/fluxwright:0.13.0 - Binaries: Download prebuilt archives from the assets below (Linux x64/ARM64/musl, macOS x64/ARM64, Windows x64/ARM64).
Fluxwright v0.12.0
What's new in v0.12.0
Self-hosted Managed Cloud Sessions (/v1/sessions)
- Launch and manage TTL-backed persistent Chrome contexts in your own
fluxwright servefleet:POST /v1/sessions— mint an isolated browser session with configurablettl_secs,keep_alive,priority,resource_preset,profile/persist_profile,proxy_session, initialviewport, andlive_view_mode(read_onlyorinteractive). Returnscdp_ws_url/cdp_pathand a paired signedlive_view_url.GET /v1/sessions,GET /v1/sessions/{id},POST /v1/sessions/{id}/extend,DELETE /v1/sessions/{id}— inspect active sessions, extend TTLs (along with active embed tokens), or tear down and persist profiles cleanly.GET /v1/sessions/{id}/cdp— reconnectable WebSocket CDP gateway preserving tabs, storage, cookies,resource_presetblocking, andEmulation.setDeviceMetricsOverrideviewports across CDP client disconnects whenkeep_aliveis enabled.
Synchronous Scrape & Render API (POST /v1/scrape)
- Single-request extraction bypassing the async
/v1/jobsring, returning any combination ofmarkdown,html,text,snapshot,screenshot_base64(including Set-of-Marksscreenshot_annotate), andpdf_base64in one JSON response alongsideurl,title, andduration_ms.
Multi-arch Docker Images on GHCR & Release CI Hygiene
- Automated multi-arch (
linux/amd64+linux/arm64) image builds published toghcr.io/harshit-d3v/fluxwright:latest(v0.12.0,0.12.0,0.12). - Tag-gated
npmandPyPIpublishing workflows to prevent duplicate runs onmain.
Install
- Node/TS:
npm install fluxwright@0.12.0 - Python:
pip install fluxwright==0.12.0 - Rust:
cargo add fluxwright@0.12.0 - Docker:
docker pull ghcr.io/harshit-d3v/fluxwright:0.12.0 - Binaries: Download prebuilt archives from the assets below (Linux x64/ARM64/musl, macOS x64/ARM64, Windows x64/ARM64).
Fluxwright v0.11.0
Fluxwright v0.11.0
Highlights
- Speed & Efficiency Reclaim (+13.6% to +46.5% faster than Playwright, up to -37.3% peak RAM):
- Session-routed CDP event dispatch (
PageLog), pipe/WebSocket write coalescing, single-lock channel setup, and pipelined context download/page creation (#125). - Removed default
--site-per-processfromchrome-headless-shelllaunches (pass--site-per-processexplicitly when OOPIFnewCDPSessionis needed onchrome-headless-shell) and skipped background prewarming on browsers actively serving jobs (#131). - Verified on GitHub Actions
ubuntu-latest(run45227204313,chrome-headless-shell 158.0.8127.36): Fluxwright beat Playwright and Puppeteer in all 8 scenarios with0.0%failures and0leaked processes (50.7vs34.6jobs/s and3,951vs6,298MB on10-concurrent-browsers;52.0vs41.6PDFs/s;49.2jobs/s with0.0%failures across9browser kills inchaos-1000-queuedvs69.9%failures on both).
- Session-routed CDP event dispatch (
- AI-Agent & Cloud Browser Differentiators:
fluxwright-mcp --http <ADDR>Streamable HTTP MCP transport withFLUXWRIGHT_MCP_TOKENbearer auth and isolated per-session browser contexts (#124).- Diff-only accessibility snapshots (
snapshot({ diff: true })) with live@eNrefs and Set-of-Marks annotated screenshots (screenshot({ annotate: true })) across Rust, Node, Python,fluxwright-server, andfluxwright-mcp(#128). - Signed HMAC-SHA256 job webhooks (
webhook+--webhook-secret, DNS-pinned SSRF protection, retries), OTLP/HTTP JSON trace exporter (--otlp-endpoint), and embeddable signed Live View URLs (POST /v1/live/{id}/embedwithread_only/interactiveenforcement) (#126).
- Playwright E2E Parity Polish:
screenshot({ mask, maskColor, animations, caret })andtoHaveScreenshotmasking across Rust, Node, Python, andfluxwright-server(#128).- Deterministic
page.clock(install,setFixedTime,setSystemTime,pauseAt,fastForward,runFor,resume),route(..., { times }), androute.fallback(overrides)stacking across Rust, Node, and Python (#129).
- Prebuilt Binaries (7 targets):
- Added static Linux (
x86_64-unknown-linux-musl) and Windows ARM64 (aarch64-pc-windows-msvc) archives alongsidex86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu,aarch64-apple-darwin,x86_64-apple-darwin, andx86_64-pc-windows-msvc(#130). - Serialized release workflow concurrency groups across
mainandv*tags (#123) and stabilized macOS Python/Node probe & screenshot timeouts (#127, #131).
- Added static Linux (
Install
- Node:
npm install fluxwright@0.11.0 - Python:
pip install fluxwright==0.11.0 - Binaries: Download
fluxwright-cliandfluxwright-mcparchives from the Assets below.
Fluxwright v0.10.0
Highlights in Fluxwright v0.10.0
Full-stack E2E testing batteries across Rust, Node/TS, and Python
- Auto-retrying web-first
expect()assertions: page and locator matchers (toBeVisible,toHaveText,toContainText,toHaveValue,toHaveAttribute,toHaveClass,toHaveCount,toHaveTitle,toHaveURL,.not, custom timeouts,expect.soft,expect.configure/expect.set_options). - Playwright Trace Viewer
.zipcontext tracing:context.tracing(start,startChunk,stopChunk,stop) capturing actions, CDP screencast frames, bounded DOMframe-snapshotevents, console logs, page errors, and network activity (npx playwright show-trace trace.zip). - Video recording & visual screenshot regression: per-page
recordVideo(record_video_dirin Python) +page.video()recording WebM (ffmpeg) or pure-code MJPEG-in-AVI fallback, plus auto-retryingtoHaveScreenshot()(to_have_screenshot) PNG pixel diffing with animation freezing, dual-background alpha diffing, andFLUXWRIGHT_UPDATE_SNAPSHOTS=1. - Built-in test runners: Node
fluxwright/test+fluxwright-testCLI (--workers,--shard,--retries,--grep,fluxwright.config.*, HTML/JSON/list reporters) and auto-loaded Pythonpytestplugin (pytest11entry point with failure traces, video, and screenshots).
Open Shadow DOM piercing by default
- CSS and locator engines pierce open Shadow DOM roots and
<slot>forwarding by default with deterministic composed-tree ordering (css:light=opt-out when light-DOM matching is needed).
Cluster, gateway, and cross-SDK hardening
- SQLite durable job store:
--store <FILE>and--result-ttl-secs <SECS>onfluxwright coordinatepersist queued/running jobs and finished job results across coordinator restarts. - Coordinator-wide per-host limits:
--max-per-host <N>and--min-host-delay-ms <MS>enforce fleet-wide concurrency and spacing across workers without head-of-line blocking. - CDP gateway & OOPIF security/compatibility: stricter gateway origin/boundary enforcement,
--site-per-processsupport for OOPIFnewCDPSession, and 30 cross-SDK E2E audit fixes across Rust, Node, Python, HTTP server, and MCP.
Prebuilt artifacts
- GitHub Releases: CLI (
fluxwright) and MCP server (fluxwright-mcp) archives for Windows x64, macOS arm64/x64, and Linux x64/arm64. - npm:
fluxwright@0.10.0+ platform native packages (@0.10.0). - PyPI:
fluxwright==0.10.0wheels (5 targets) + source distribution.
Fluxwright v0.9.0
What's New in Fluxwright v0.9.0
- Distribution &
linux-arm64: Prebuiltfluxwright-cliandfluxwright-mcpbinaries plus Node.js and Python bindings acrosslinux-x64,linux-arm64,darwin-x64,darwin-arm64, andwin32-x64, alongsidecrates.iopackage metadata preparation. - Pooled CDP WebSocket Gateway: Connect existing Playwright, Puppeteer, and Chrome DevTools clients directly via
GET /cdpandGET /json/version. - AI-Agent Accessibility Snapshots & 21-Tool MCP: Interactive
@eNreference snapshots, clean HTML-to-Markdown extraction, and an upgraded 21-toolfluxwright-mcpserver. - Live Screencast & HITL in
/dashboard: Real-time viewport streaming with interactive mouse, keyboard, and pause/resume controls for human-in-the-loop takeovers. - Named Profiles, Proxy/Session Pool & Adaptive Concurrency: Persistent profile state, sticky proxy/session routing with quarantine/recovery, and adaptive concurrency limits driven by host memory/CPU pressure and tail latency.
- High-Saturation p95 Tuning & Cluster Hardening: Improved high-concurrency dispatch latency and coordinator/worker authentication and TLS hardening.
v0.8.0
Fluxwright v0.8.0: Playwright-parity automation engine with pre-warmed contexts, resource presets, HAR 1.2, WebSockets, Web Workers, APIRequestContext, newCDPSession, multi-tab contexts/popups/frames, fluxwright install, and hardened cluster worker management + dashboard. Verified faster than Playwright across all 8 CI benchmark scenarios.