Compare commits

..
1 Commits
Author SHA1 Message Date
P0st3rw-max cf4e760617 feat: initial public release
Stealthfox — a patched Firefox 150.0.1 for browser-fingerprint stealth,
shipped as a Playwright-compatible Python wrapper.

  * Sync + async Stealthfox launcher (firefox_user_prefs, virtual desktop
    on Windows, SOCKS5 auth via patched nsProtocolProxyService)
  * fpforge: Bayesian fingerprint sampler over GPU / audio / fonts /
    screen / TCP options / ~400 other navigator fields
  * WebRTC stealth: srflx address swap, synthetic srflx fallback,
    private-LAN host candidates — no real public IP leak via STUN
  * GPU sandbox fix for FF150 alt-desktop regression
  * Bezier-curve mouse motion baked into Juggler

Targets Windows x86_64 + Linux x86_64. Binary fetched on first run from
GitHub Release "firefox-1".
2026-05-08 17:04:38 -07:00
1343 changed files with 10620 additions and 389797 deletions

No files matched your search

-30
View File
@@ -1,30 +0,0 @@
# The pre-push hook is a shell script, and git must never hand it to a POSIX
# shell with CRLF line endings: `/bin/sh^M: bad interpreter` is how a gate stops
# running on a machine where nothing else looks wrong. This repo is developed on
# Windows with core.autocrlf=true, so without this line a fresh Windows clone
# gets CRLF in the working tree - and Git-for-Windows' sh is the one that runs it.
#
# The index has always stored LF, so a Linux clone was never affected. That is
# exactly why this was worth pinning rather than leaving to a default that
# happens to be right today.
.githooks/** text eol=lf
# The publish ledger is compared byte for byte across an autocrlf checkout and a
# Linux one. The gate folds CRLF vs LF deliberately, but there is no reason to
# make it do that work.
PUBLISHED.json text eol=lf
# The persona seeds are compared byte for byte with their canonical rendering (tests/test_persona_cover.py): LF on every checkout.
ci/persona-seeds.json text eol=lf
# The wire-method budget is compared with what `dump()` writes, byte for byte
# (tests/test_every_wire_method_is_served_or_refused.py): a Windows runner checks
# out with autocrlf and would hand the test CRLF that nobody wrote.
tests/gates/wire_method_debt.json text eol=lf
# The lock of the gate is hashed byte for byte: its header names the sha256 of gate.in, so neither file may be rewritten with CRLF on a Windows checkout.
ci/py-lock/** text eol=lf
# The vendored bundles are third-party bytes whose sha256 is pinned in tests/vendor/README.md: no checkout converts their line endings
# (a Windows runner with core.autocrlf=true would hand them over with CRLF and the hash would no longer match).
tests/vendor/*.js -text
-55
View File
@@ -1,55 +0,0 @@
#!/bin/sh
# Pre-push gate. THE POLICY IS NOT IN THIS FILE - it is `invisible_core.hooks`,
# and this stub exists only to find an interpreter and hand over stdin.
#
# It used to be here, in three repositories, as 743 lines of shell that were 207
# identical lines out of 211 between two of them. Nine of the eleven differences
# were accidental: the core ran no pytest, the core set a variable three times
# that only the other two ever read, the core resolved an interpreter and then
# called bare `python` anyway. Every fix landed in whichever copy was open.
#
# What this repository wants gated is declared in its own pyproject, under
# [tool.invisible.hooks]. That is the only per-repo part, and it is data.
#
# Install once with:
# git config core.hooksPath .githooks
# A test in this repo fails in an uninstalled checkout, so nobody has to
# remember. Bypass a known-broken WIP push with `git push --no-verify`; that is
# the only escape hatch, and never for a branch that feeds a release.
# No `set -e`: exit codes here have to be READ and explained, not turned into a
# silent abort. A gate that dies without a message is the worst shape of all.
# Run from the repository root regardless of where `git push` was invoked.
cd "$(dirname "$0")/.." || exit 1
python_bin=""
for candidate in "$INVISIBLE_GATE_PYTHON" python3 python py; do
[ -n "$candidate" ] || continue
if command -v "$candidate" >/dev/null 2>&1; then
python_bin="$candidate"
break
fi
done
if [ -z "$python_bin" ]; then
echo "[pre-push] REFUSED - no python on PATH, so no gate can run." >&2
echo "[pre-push] Nothing must be pushed past a hook that could not check it." >&2
echo "[pre-push] Set INVISIBLE_GATE_PYTHON to an interpreter and push again." >&2
exit 1
fi
# `src` first so a checkout gates itself with the policy in the tree being
# pushed. os.getcwd() rather than $PWD on purpose: under git-bash on Windows
# $PWD is /c/... and Python does not resolve that mount.
# exec, so stdin (the refs git is pushing) reaches the policy untouched.
exec "$python_bin" -c 'import os, sys
sys.path.insert(0, os.path.join(os.getcwd(), "src"))
try:
from invisible_core.hooks import main
except ImportError as exc:
sys.exit("[pre-push] REFUSED - cannot import invisible_core.hooks (%s).\n"
"[pre-push] The pre-push policy lives in invisible-core. This repo is\n"
"[pre-push] either that package (so src/ is not where it should be) or\n"
"[pre-push] pins it exactly (so install it). Either way, nothing is\n"
"[pre-push] pushed past a hook that could not check it." % exc)
sys.exit(main())'
@@ -1,98 +0,0 @@
name: Launch failure
description: Browser or wrapper fails to start (install errors, missing deps, profile load fails, never reaches new_page)
title: "[launch] "
labels: ["bug", "launch-failure"]
body:
- type: markdown
attributes:
value: |
Use this when the browser never reaches a usable state.
If it starts and the bug appears on a site or clicking something, use the site/action template instead.
- type: input
id: version
attributes:
label: Version
description: Output of `python -m invisible_playwright version`.
placeholder: 0.1.7 (binary firefox-7)
validations:
required: true
- type: dropdown
id: os
attributes:
label: OS
options:
- Windows 10/11 x86_64
- Linux x86_64
- macOS (unsupported)
- Other
validations:
required: true
- type: input
id: python
attributes:
label: Python
placeholder: 3.11.7
validations:
required: true
- type: input
id: install_cmd
attributes:
label: How you installed
placeholder: uv add invisible-playwright
validations:
required: true
- type: textarea
id: snippet
attributes:
label: What you ran
description: Stop at the line that errors out. Redact creds.
render: python
value: |
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
ctx = browser.new_context()
validations:
required: true
- type: textarea
id: traceback
attributes:
label: Full traceback
description: The whole stack trace verbatim. Don't summarize.
render: text
validations:
required: true
- type: textarea
id: logs
attributes:
label: Extra logs
description: Output of `DEBUG=pw:browser* python yourscript.py 2>&1`. Optional.
render: text
validations:
required: false
- type: textarea
id: tried
attributes:
label: What you already tried
description: Reinstall, clear cache, different Python version, different proxy, etc.
validations:
required: false
- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: Searched existing issues.
required: true
- label: On the latest released version.
required: true
- label: Removed credentials and personal paths from the snippet and logs.
required: true
@@ -1,167 +0,0 @@
name: Site or action bug
description: Browser starts fine but a navigation, click, evaluate, or other operation fails or behaves wrong
title: "[bug] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
For bugs that happen after the browser is up.
If the browser never launches, use the launch failure template.
If a fingerprint detector flags the browser, use the stealth detection template.
- type: input
id: version
attributes:
label: Version
description: Output of `python -m invisible_playwright version`.
placeholder: 0.1.7 (binary firefox-7)
validations:
required: true
- type: dropdown
id: os
attributes:
label: OS
options:
- Windows 10/11 x86_64
- Linux x86_64
- macOS (unsupported)
- Other
validations:
required: true
- type: input
id: python
attributes:
label: Python
placeholder: 3.11.7
validations:
required: true
- type: dropdown
id: headless
attributes:
label: headless=
description: Some bugs only repro on Windows headless=True (hidden alt-desktop path).
options:
- "True"
- "False"
validations:
required: true
- type: dropdown
id: proxy
attributes:
label: Proxy
description: Sites often vary by IP geo (e.g. GDPR consent shows only on UK/EU).
options:
- No proxy (host network)
- Residential, UK/GB
- Residential, US
- Residential, other country (specify in notes)
- Datacenter (specify provider in notes)
validations:
required: true
- type: dropdown
id: profile
attributes:
label: Profile dir
options:
- Fresh each run (no profile_dir)
- Persistent profile_dir, reusing across runs
- Persistent profile_dir, first run creating it
validations:
required: true
- type: input
id: url
attributes:
label: URL
description: The exact URL passed to `page.goto`. Not "the homepage", the literal string.
placeholder: https://example.com/login
validations:
required: true
- type: textarea
id: snippet
attributes:
label: Runnable reproduction
description: Runnable. Stub creds, keep everything else literal.
render: python
value: |
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42, headless=True) as browser:
ctx = browser.new_context()
page = ctx.new_page()
page.goto("https://example.com/")
# the exact operation that fails:
page.click("button:has-text('Accept all')")
validations:
required: true
- type: input
id: selector
attributes:
label: Selector or locator
description: The exact string passed to locator/click/frame_locator. Write N/A if not a selector bug.
placeholder: page.frame_locator("iframe[id^='sp_message_iframe_']").get_by_text("Accept all")
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected
description: What should happen when the snippet runs?
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual
description: What happens instead? Full traceback, error string verbatim, any page.on('crash') firing.
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: Screenshot
description: Drag-drop a screenshot if the bug is visual. Optional but useful.
validations:
required: false
- type: textarea
id: logs
attributes:
label: Browser logs
description: Output of `DEBUG=pw:browser* python yourscript.py 2>&1 | tail -200`. Redact creds and real IPs.
render: text
validations:
required: false
- type: textarea
id: notes
attributes:
label: Notes
description: Anything else, hypotheses, related issues, things you've already tried.
validations:
required: false
- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: Searched existing issues.
required: true
- label: On the latest released version.
required: true
- label: The snippet above runs end-to-end on a clean Python install.
required: true
- label: Removed credentials, proxy passwords, real IPs, personal file paths.
required: true
@@ -1,137 +0,0 @@
name: Stealth detection
description: A fingerprint detector flagged the browser as a bot, VM, VPN, anti-detect, tampered, or otherwise non-human
title: "[detect] "
labels: ["bug", "stealth"]
body:
- type: markdown
attributes:
value: |
Use this when something detects the browser (Fingerprint Pro, a fingerprint consistency test page, BotD, reCAPTCHA, a basic bot-test page, etc).
Bugs in operations (clicks, navigation) go to the site/action template.
Browser failing to start goes to the launch failure template.
- type: input
id: version
attributes:
label: Version
description: Output of `python -m invisible_playwright version`.
placeholder: 0.1.7 (binary firefox-7)
validations:
required: true
- type: input
id: firefox_rev
attributes:
label: Firefox revision
description: The `firefox-N` tag the binary was built from (shown in the version output above).
placeholder: firefox-7
validations:
required: true
- type: dropdown
id: os
attributes:
label: OS
options:
- Windows 10/11 x86_64
- Linux x86_64
- macOS (unsupported)
- Other
validations:
required: true
- type: dropdown
id: headless
attributes:
label: headless=
options:
- "True"
- "False"
validations:
required: true
- type: dropdown
id: proxy
attributes:
label: Proxy
description: Datacenter or wrong-country proxies trip most detectors regardless of the browser. Be honest about what you used.
options:
- No proxy (host network)
- Residential, matching target geo
- Residential, different geo than target
- Datacenter (specify provider in notes)
- Mobile / 4G
validations:
required: true
- type: input
id: detector
attributes:
label: Detector name and URL
description: Exact site / service / product that flagged us.
placeholder: Fingerprint Pro - https://demo.fingerprint.com/playground
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: Screenshot of the detector result
description: Screenshot of the detector result.
validations:
required: true
- type: textarea
id: snippet
attributes:
label: Reproduction script
description: Runnable. Redact creds.
render: python
value: |
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42, headless=True) as browser:
ctx = browser.new_context()
page = ctx.new_page()
page.goto("https://demo.fingerprint.com/playground")
# add any extra steps needed to reach the flagged result
validations:
required: true
- type: textarea
id: expected
attributes:
label: What you expected
description: "e.g. bot=not_detected, vm_ml_score < 0.3"
validations:
required: true
- type: textarea
id: full_report
attributes:
label: Full detector response
description: "FP Pro: JSON from /api/event/v4/. Consistency test page: the report block with the failing checks. Optional."
render: json
validations:
required: false
- type: textarea
id: notes
attributes:
label: Notes
validations:
required: false
- type: checkboxes
id: confirm
attributes:
label: Before submitting
options:
- label: Searched existing issues.
required: true
- label: On the latest released version.
required: true
- label: The detector verdict above is from a real run, not a hypothesis.
required: true
- label: Removed credentials, real IPs, FpJS visitor_id values, personal file paths from the snippet and full report.
required: true
-5
View File
@@ -1,5 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Question or general discussion
url: https://github.com/oss-invisible/playwright/discussions
about: Usage questions, ideas, chat. Bugs and features still go in issues.
-50
View File
@@ -1,50 +0,0 @@
<!--
Thanks for your contribution! Please fill in the sections below.
PRs that don't follow this template may be asked for revision before review.
-->
## Summary
<!-- One or two sentences: what does this PR change and why? -->
## Type of change
<!-- Tick all that apply -->
- [ ] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that changes existing behavior)
- [ ] Documentation only
- [ ] Tests / CI / tooling
## Related issues
<!-- Link any related issues, e.g. "Closes #123", "Refs #456" -->
## How was this tested?
<!--
Describe what you ran:
- `pytest` (default, unit + integration)
- `pytest -m e2e` (against the patched binary)
- Manual repro steps, screenshots, etc.
-->
## Checklist
- [ ] I have read [CONTRIBUTING.md](../CONTRIBUTING.md).
- [ ] My commits follow [Conventional Commits](https://www.conventionalcommits.org/).
- [ ] I added or updated tests covering the change.
- [ ] `pytest` passes locally.
- [ ] I updated `README.md` / `docs/` if user-visible behavior changed.
- [ ] My change is in scope for this repo (Python wrapper / sampler / CLI / packaging - not the patched Firefox C++ source).
## Patch questions (filled by maintainers)
<!--
Every applicable project rule question, answered with proof.
"Not proven yet" blocks the merge; a question that does not apply says why in one line.
-->
| Question | Answer | Proof (file:line, run id, test and its red-on-old run) |
|---|---|---|
-207
View File
@@ -1,207 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# core-on-index.yml - the one question every job in this repo has to answer
# before it can install anything: is the invisible-core version we pin actually
# on the package index?
#
# WHY THIS EXISTS.
# [project].dependencies now carries a real specifier, `invisible-core==N.M.0`,
# instead of a `name @ git+url@ref` direct reference. That was measured to be
# the stronger contract: a direct reference has no version to compare, so
# `pip check` is structurally blind to a violated one, while a real specifier
# makes it exit 1, and a plain `pip install` of this package repairs an
# environment somebody broke by hand. The cost is that every `pip install` in
# this repo now has to RESOLVE that dependency from the index.
#
# The publish order is fixed and non-negotiable: invisible-core is uploaded
# FIRST, its consumers after it - two until invisible_firefox was deleted on
# 2026-08-18, this package since. So there is a window - from the first push
# of this repo to GitHub until the core's first upload - in which every install
# step here cannot possibly succeed, for a reason nobody can fix from inside
# this repository.
#
# WHAT WE DO ABOUT IT, AND WHAT WE REFUSE TO DO.
# The tempting fix is to make the install tolerant: `|| true`, `--no-deps`, or
# a fallback that pulls the core straight from git. All three are worse than a
# red run. `|| true` and `--no-deps` produce a GREEN job that installed nothing
# and tested nothing, which is a lie that survives long after the window has
# closed. The git fallback is worse still: it satisfies the pin by name and
# version with content nobody compared, which is the exact failure mode the
# `==` specifier was adopted to expose.
#
# So this workflow asks the index and reports a verdict, and the callers make
# their real jobs depend on it. Three outcomes, all of them visible:
#
# the project is not on the index at all
# -> the publish window. This job passes, emits a ::warning:: annotation
# on the run page, writes the reason into the run summary, and returns
# available=false. Every caller job is then SKIPPED - grey in the
# checks list, not green - and the summary says in words that no tests
# ran. Nobody can mistake it for a passing build.
#
# the project is on the index and carries the pinned version
# -> available=true. Every caller job runs exactly as it did before this
# file existed. Nothing is weakened, ever.
#
# the project is on the index but NOT at the pinned version
# -> this is not the window. The core has been published, so the pin
# names a version that was never uploaded. Hard failure, red.
#
# Anything ambiguous (index unreachable, malformed answer, no `==` pin in
# pyproject.toml, two of them) is also a hard failure. A gate that answers
# "skip" when it does not know would silently disable this repo's whole CI the
# first time PyPI has a bad minute.
#
# This does NOT stop being useful once the core is published: it is the check
# that catches a pin pointing at a version that does not exist, about 20s
# before the install step would have failed with a resolver wall of text.
# ─────────────────────────────────────────────────────────────────────────────
name: core-on-index
on:
workflow_call:
outputs:
available:
description: >-
"true" when the invisible-core version pinned in pyproject.toml can
be resolved from the package index. Any other value means the caller
must not attempt an install.
value: ${{ jobs.probe.outputs.available }}
pin:
description: The invisible-core version this repo pins.
value: ${{ jobs.probe.outputs.pin }}
permissions:
contents: read
jobs:
probe:
name: is the pinned invisible-core on the index?
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
available: ${{ steps.probe.outputs.available }}
pin: ${{ steps.probe.outputs.pin }}
steps:
# SHA-pinned like e2e.yml: this job decides whether the rest of the repo's
# CI runs at all, so it is the last place to want a moving tag.
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with: { fetch-depth: 1 }
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.11' } # tomllib
- id: probe
shell: bash
run: |
python - <<'PY'
import json, os, re, sys, time, tomllib, urllib.error, urllib.request
DIST = "invisible-core"
PIN_RE = re.compile(
r"\s*(?P<name>[A-Za-z0-9][A-Za-z0-9._-]*)\s*"
r"(?:\[[^\]]*\])?\s*==\s*(?P<version>[^\s;,]+)")
def norm(name):
"""PEP 503: invisible_core and invisible-core are one name."""
return re.sub(r"[-_.]+", "-", name).lower()
def write(path_var, text):
path = os.environ.get(path_var)
if path:
with open(path, "a", encoding="utf-8") as fh:
fh.write(text + "\n")
def die(msg):
print(f"::error title={DIST} pin::{msg}")
write("GITHUB_STEP_SUMMARY",
f"### CI stopped: the {DIST} pin cannot be verified\n\n{msg}\n")
sys.exit(1)
# ---- what do we pin? -------------------------------------------------
try:
deps = tomllib.loads(
open("pyproject.toml", "rb").read().decode("utf-8")
)["project"]["dependencies"]
except Exception as e:
die(f"pyproject.toml has no readable [project].dependencies: {e!r}")
pins = []
for dep in deps:
m = PIN_RE.match(dep) if isinstance(dep, str) else None
if m and norm(m.group("name")) == DIST:
pins.append(m.group("version"))
if len(pins) != 1:
die(f"expected exactly one `{DIST}==X.Y.Z` requirement in "
f"[project].dependencies, found {pins or 'none'}. Either the pin was "
f"loosened, replaced by a direct reference, or duplicated. This gate "
f"will not guess which core the build is supposed to wait for. "
f"Declared: {deps}")
pin = pins[0]
print(f"pyproject.toml pins {DIST}=={pin}")
write("GITHUB_OUTPUT", f"pin={pin}")
# ---- is it on the index? --------------------------------------------
url = f"https://pypi.org/simple/{DIST}/"
req = urllib.request.Request(
url, headers={"Accept": "application/vnd.pypi.simple.v1+json"})
data = unpublished = None
last = ""
for attempt in range(1, 4): # retry transient failures, never guess
try:
with urllib.request.urlopen(req, timeout=30) as r:
data = json.load(r)
break
except urllib.error.HTTPError as e:
if e.code == 404:
unpublished = True
break
last = f"HTTP {e.code}"
except Exception as e:
last = repr(e)
print(f"index probe attempt {attempt}/3 failed: {last}")
if attempt < 3:
time.sleep(5 * attempt)
if data is None and not unpublished:
die(f"could not read {url} after 3 attempts ({last}). That is not a "
f"verdict, so this job fails instead of guessing. Re-run it.")
if unpublished:
msg = (f"{DIST} has never been published to the index. This is the "
f"expected publish window: the core is uploaded first, this "
f"repo's package after it.")
print(f"::warning title={DIST} is not on the index yet::{msg} "
f"NOTHING WAS INSTALLED AND NO TEST RAN in this workflow run.")
write("GITHUB_STEP_SUMMARY",
f"### NO TESTS RAN\n\n{msg}\n\n"
f"Every job in this workflow was **skipped**, not passed. "
f"`pyproject.toml` pins `{DIST}=={pin}`; until that version is on "
f"the index no `pip install` in this repository can resolve, so "
f"there is nothing to run. Publish `{DIST}=={pin}`, then re-run "
f"this workflow - the jobs come back on their own, with no edit "
f"to any file here.\n")
write("GITHUB_OUTPUT", "available=false")
sys.exit(0)
versions = data.get("versions")
if not versions:
die(f"{url} answered but listed no versions. The index API changed shape "
f"or served something unexpected; refusing to turn that into a skip.")
if pin not in versions:
shown = sorted(versions)[-10:] # diagnostics only, so a plain sort
die(f"pyproject.toml pins {DIST}=={pin}, but the index publishes "
f"{len(versions)} version(s) ({', '.join(shown)}) and not {pin}. "
f"{DIST} exists, so this is NOT the "
f"publish window - the pin names a version that was never uploaded. "
f"Fix the pin (workbench: python scripts/sync_core_pin.py) or publish "
f"the core first.")
print(f"{DIST}=={pin} is on the index - the workflow runs normally.")
write("GITHUB_OUTPUT", "available=true")
PY
- name: Say so in the run summary
if: steps.probe.outputs.available == 'true'
run: |
echo "invisible-core==${{ steps.probe.outputs.pin }} is on the index; jobs run normally." \
>> "$GITHUB_STEP_SUMMARY"
-78
View File
@@ -1,78 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# counters.yml - the daily snapshot of the launch counter, and the README badges.
#
# GitHub keeps only the running total of a release asset's downloads, so the
# launches of a day exist only if someone records the total every day. This is
# that someone: no machine and no personal token, just the scheduler and the
# built-in GITHUB_TOKEN. A run that fails sends GitHub's failure mail, and the
# run's log warns when a day between two snapshots is missing.
#
# Everything it writes lives on the `badges` branch, which is not protected:
# counters/history.csv date,key,value - every counter, once a day
# counters/launches_daily.csv day_utc,launches - one row per measured day
# docs/badges/launches.svg, docs/badges/stars.svg
# docs/badges/launches.json, docs/badges/downloads.json - read by shields.io
# for the big row at the top of the README
#
# 00:10 UTC, so the snapshot dated D closes calendar day D-1.
name: counters
on:
schedule:
- cron: "10 0 * * *"
workflow_dispatch: {}
permissions:
contents: write
concurrency:
group: counters
cancel-in-progress: false
jobs:
snapshot:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out the script (main)
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
with:
path: main
- name: Check out the badges branch
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
with:
ref: badges
path: badges
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: Self-test
run: python main/scripts/launch_counters.py --selftest
- name: Record today's counters and redraw the badges
env:
GITHUB_TOKEN: ${{ github.token }}
run: >
python main/scripts/launch_counters.py
--history badges/counters/history.csv
--daily badges/counters/launches_daily.csv
--badges badges/docs/badges
- name: Commit to the badges branch
working-directory: badges
run: |
set -euo pipefail
git config user.name "feder-cr"
git config user.email "85809106+feder-cr@users.noreply.github.com"
git add counters docs/badges
if git diff --cached --quiet; then
echo "nothing changed"
exit 0
fi
total=$(awk -F, '$2=="launches_total"{v=$3} END{print v}' counters/history.csv)
git commit -q -m "counters: $(date -u +%F), browser launches at ${total}"
git push origin HEAD:badges
-227
View File
@@ -1,227 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# e2e-hunt.yml - runs the e2e suite in a LOOP until it catches a hang.
#
# Why it exists. The e2e job hangs in 12% of runs (4 out of 33 between
# 2026-08-01 and 08-13), and the 40-minute ceiling kills the job. At 12% a
# green run proves nothing, and it takes ~18 runs to have a 90% probability
# of seeing one: waiting for it to happen on its own on a PR means waiting
# days and burning someone else's time every time.
#
# And why HERE and not locally, for TWO different reasons depending on the
# `os` input.
#
# ubuntu-24.04 - the job hang lived there. CLOSED on 2026-08-13 with 36
# runs (two hunts of 18): zero hangs, zero retries. Stays as a
# non-regression check.
#
# windows-latest - a different question, still open: on the dev machine
# interaction tests produce retries (41 out of 17 runs) and on Linux not
# even one in 36. But that machine was not idle - whoever was measuring
# was running on it, and later the owner came back to it - so the
# comparison is CONFUSED between platform and contention. A dedicated
# Windows runner separates the two without asking anyone to stay off it
# for six hours.
#
# A second use, chosen by the input `ab_network_webrtc_seed` (empty = the loop
# above, as always): the network oracle's WebRTC walk of that seed, alone,
# `runs` times for each engine of its A/A (the published engine twice). It
# exists to tell two readings apart when the A/A of that walk differs from
# itself in the number of TURN Allocate datagrams (scripts/ci_ab_network.py:
# AB_NETWORK_HUNT): each repetition keeps every datagram with its time and its
# STUN transaction id and the page's own ICE times (network/hunt/<engine>-<i>.json,
# summary in network/hunt/summary.json). It decides nothing: the step exits 0.
#
# Doesn't start on its own: `workflow_dispatch` only. It's not a gate, it's
# an investigation tool, and it must not be added to the required contexts.
# ─────────────────────────────────────────────────────────────────────────────
name: e2e hunt
on:
workflow_dispatch:
inputs:
runs:
description: "How many runs at most (at 12% it takes ~18 for a 90% chance)"
required: false
default: "18"
ab_network_webrtc_seed:
description: "A seed (e.g. 4) to repeat ONLY the network oracle's WebRTC walk of, `runs` times for each engine of its A/A, instead of the e2e loop. Empty: the e2e loop."
required: false
default: ""
os:
description: "Where to hunt. windows-latest answers a DIFFERENT question: are the interaction retries seen on the dev machine the product or contention?"
required: false
default: "ubuntu-24.04"
type: choice
options:
- ubuntu-24.04
- windows-latest
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Engine and GeoIP downloads go through the release API with this token.
# Anonymous requests share a 60-an-hour limit per runner address and are the
# ones GitHub drops first when it is degraded (2026-11-08: timeouts for
# unauthenticated users failed the gates three times). user-install.yml stays
# anonymous on purpose: it is the user's path.
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
# The Ubuntu packages of the Linux hunt, from Ubuntu's archive once per runner image and list (linux-deps.yml), never by the hunt. On Windows this job is
# skipped and the hunt runs on (the condition below accepts `skipped` and `success`, nothing else).
linux-deps-hunt:
name: linux-deps-hunt
if: startsWith(inputs.os, 'ubuntu')
uses: ./.github/workflows/linux-deps.yml
with:
name: hunt
packages: xvfb
playwright_wrapper_ref: ${{ github.sha }}
hunt:
name: hunt (${{ inputs.os }})
needs: linux-deps-hunt
if: ${{ !cancelled() && (needs.linux-deps-hunt.result == 'success' || needs.linux-deps-hunt.result == 'skipped') }}
runs-on: ${{ inputs.os }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(inputs.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(inputs.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
# 18 runs of ~6 minutes plus install time. Deliberately generous: the
# ceiling here must NEVER be the thing that stops the hunt, or we're back
# to a killed job that explains nothing, which is the original defect.
timeout-minutes: 300
# On Windows GitHub runs `run:` blocks with POWERSHELL, not bash, and the
# first launch on windows-latest died in 5 minutes with a ParserError on
# the line `if [ "$RUNNER_OS" = "Linux" ]`. The block had been run before
# shipping it, as the rule requires - but in bash, on the writer's own
# machine, i.e. with an interpreter different from the target's.
# Running the block is not enough: it has to run with the runner's SHELL.
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with: { fetch-depth: 1 }
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.11' }
- name: Install wrapper + test deps (+ pinned Playwright)
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
python -m pip install "playwright==$(cat scripts/playwright_pin.txt)"
# Linux only: on Windows the browser launches on the runner's desktop,
# and `firefox-launch-matrix.yml` has shown for months that it really
# starts there.
- name: The Linux packages (the run's linux-deps-hunt job, no mirror)
if: runner.os == 'Linux'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: ${{ needs.linux-deps-hunt.outputs.artifact }}
path: /tmp/linux-deps
- name: System deps (xvfb + Firefox runtime libs; the repository of the linux-deps-hunt job)
if: runner.os == 'Linux'
run: |
set -euo pipefail
# The run's linux-deps repository and nothing else: apt reads only its sources list and lists folder, the files are already in apt's archives,
# and the roots are installed by name with --no-download: a package the repository does not hold is named here and red, never fetched.
read -r OS VER < /tmp/linux-deps/image.txt
echo "the repository was read on $OS $VER; this runner is $ImageOS $ImageVersion"
sudo mkdir -p /tmp/linux-deps-apt/lists/partial /tmp/linux-deps-apt/parts
echo "deb [trusted=yes] file:/tmp/linux-deps ./" | sudo tee /tmp/linux-deps-apt/sources.list >/dev/null
APT="-o Dir::Etc::SourceList=/tmp/linux-deps-apt/sources.list -o Dir::Etc::SourceParts=/tmp/linux-deps-apt/parts -o Dir::State::Lists=/tmp/linux-deps-apt/lists -o Acquire::Languages=none"
sudo apt-get $APT update
sudo cp /tmp/linux-deps/*.deb /var/cache/apt/archives/
sudo apt-get $APT install -y --no-download --no-install-recommends $(cat /tmp/linux-deps/roots.txt)
- name: The security state (a fixed directory of the repository)
if: inputs.ab_network_webrtc_seed != ''
run: python scripts/ci_lab_security_state.py set --pin ci/security-state.pin.json
- name: Fetch the published firefox binary
run: echo "FF=$(python -m invisible_playwright fetch | tail -1)" >> "$GITHUB_ENV"
- name: The GeoIP database (made by the repository, same bytes every run)
if: inputs.ab_network_webrtc_seed != ''
run: python scripts/ci_lab_geoip.py build
# The hunt of the network oracle's WebRTC walk: instead of the loop below, never with it. `runs` is the number of repetitions per engine.
- name: The network oracle's WebRTC walk of one seed, repeated (decides nothing)
if: inputs.ab_network_webrtc_seed != ''
env:
PYTHONUNBUFFERED: "1"
AB_NETWORK_HUNT: webrtc:${{ inputs.ab_network_webrtc_seed }}:${{ inputs.runs }}
run: |
set -u
if [ "$RUNNER_OS" = "Linux" ]; then PRE="xvfb-run -a"; else PRE=""; fi
mkdir -p network
$PRE python -u scripts/ci_ab_network.py ab --a-a --out network --published-binary "$FF"
- name: Loop until it catches one
if: inputs.ab_network_webrtc_seed == ''
env:
PYTHONUNBUFFERED: "1"
INVPW_TEST_WATCHDOG_FILE: evidence/e2e-watchdog.log
run: |
set -u
runs="${{ inputs.runs }}"
mkdir -p evidence/runs
# `evidence/` inside the workspace, not RUNNER_TEMP: on Windows that
# variable contains backslashes and does not cross bash reliably.
# xvfb only where it exists; on Windows the browser goes to the
# runner's desktop.
if [ "$RUNNER_OS" = "Linux" ]; then PRE="xvfb-run -a"; else PRE=""; fi
captured=0
for n in $(seq 1 "$runs"); do
log="evidence/runs/run_$(printf '%02d' "$n").log"
t0=$(date +%s)
set +e
$PRE python -u scripts/run_e2e.py "$FF" > "$log" 2>&1
code=$?
set -e
dur=$(( $(date +%s) - t0 ))
# A hang is no longer a killed job now: the per-test deadline
# turns it into a failure, and the banner names it.
if grep -aq "Timeout" "$log" && grep -aq "Stack of" "$log"; then
echo "::error::run $n: HANG CAUGHT after ${dur}s"
echo "--- the last test that spoke ---"
grep -aE "::.*(PASSED|SKIPPED|FAILED)" "$log" | tail -3
echo "--- the stack ---"
sed -n '/Timeout/,$p' "$log" | head -60
captured=1
break
fi
echo "run $n/$runs: exit=$code, ${dur}s"
done
if [ "$captured" = "0" ]; then
echo "::warning::$runs runs, no hang caught."
echo "If the rate here is the same 12%, the probability of this"
echo "outcome is $(python -c "print(round(100*0.88**$runs))")%, so this is not proof"
echo "the defect is not there: it is a measurement of the rate with this sample."
fi
# The step fails ONLY if it caught one: that way red means "found",
# not "broken", and red is what you go read.
exit "$captured"
- name: Upload all the evidence
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: e2e-hunt-${{ inputs.os }}-${{ github.run_id }}-${{ github.run_attempt }}
path: |
evidence/runs
evidence/e2e-watchdog.log
if-no-files-found: warn
retention-days: 14
- name: Upload the hunt of the network oracle's WebRTC walk
if: always() && inputs.ab_network_webrtc_seed != ''
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: e2e-hunt-network-webrtc-${{ inputs.os }}-${{ github.run_id }}-${{ github.run_attempt }}
path: network/hunt
if-no-files-found: warn
retention-days: 14
File diff suppressed because it is too large. Load diff
-198
View File
@@ -1,198 +0,0 @@
# fakeweb.yml - on the offline fake web (tests/fakeweb/), does our browser get the same outcome as stock Firefox, step by step?
#
# ONE QUESTION. The fake web is two small local sites (127.0.0.1 and localhost) whose every response is finite and made by the page of the test: no real
# site, no proxy, no request that leaves the runner. Profile P2 is one reused, routed page that loads the hard pages (beacons on pagehide, keepalive fetches,
# frames of another site removed or navigated away, requests the page aborts), each followed by a quiet canary. Profile P4 is the journey of a person over a
# multi-page site (17 steps: links, back and forward, a filter that changes the URL, a new tab, a download, a keyboard search, a sign-in), compared field by
# field with stock Firefox. Both profiles run in the SAME job as Playwright's own Firefox (scripts/playwright_pin.txt): stock first, ours second, one browser
# at a time, both driven by the stock Playwright client (scripts/run_fakeweb.py). The verdict is "the same outcome as stock", never a time: no step asserts a
# duration, and a stock Firefox that is not what tests/fakeweb/pages.json declares makes the leg red as a BROKEN CONTROL, not as a finding about ours.
#
# WHICH ENGINE. The published one (`python -m invisible_playwright fetch`), as e2e.yml. The candidate of the engine repository runs the same entry on its own
# binary (scripts/run_fakeweb.py --binary), and judges the four e2e tests of this fake web as the suite `wrapper.e2e.fakeweb` of ci/required-suites.json.
#
# WHEN. A pull request or a push to main that touches the fake web or this file (the journey and the hard pages are not a round for every change); again by hand
# with `workflow_dispatch`. Four legs, a profile on a system each (Linux under Xvfb, Windows); no leg is repeated or forgiven, and the ONE verdict of the workflow is the
# job `fakeweb verdict`: red unless all four legs are green (a skipped leg, for a core that is not on the index yet, is not green: nothing was measured).
name: fakeweb
on:
push:
branches: [main]
paths:
- 'tests/fakeweb/**'
- 'tests/test_fakeweb_*.py'
- 'scripts/run_fakeweb.py'
- 'scripts/fakeweb_p4_report.py'
- 'scripts/playwright_pin.txt'
- '.github/workflows/fakeweb.yml'
pull_request:
paths:
- 'tests/fakeweb/**'
- 'tests/test_fakeweb_*.py'
- 'scripts/run_fakeweb.py'
- 'scripts/fakeweb_p4_report.py'
- 'scripts/playwright_pin.txt'
- '.github/workflows/fakeweb.yml'
workflow_dispatch:
permissions:
contents: read
# A newer push to a pull request cancels the older run of THIS workflow on that pull request, and nothing else cancels (the same group as e2e.yml).
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
# The engine download goes through the release API with the token of the job (anonymous requests are the ones GitHub drops first).
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
core-on-index:
uses: ./.github/workflows/core-on-index.yml
# The Ubuntu packages of the Linux legs, from Ubuntu's archive once per runner image and list (linux-deps.yml), never by a leg.
linux-deps-fakeweb:
name: linux-deps-fakeweb
needs: core-on-index
if: needs.core-on-index.outputs.available == 'true'
uses: ./.github/workflows/linux-deps.yml
with:
name: fakeweb
packages: xvfb
playwright_wrapper_ref: ${{ github.sha }}
walk:
name: fakeweb ${{ matrix.profile }} (${{ matrix.os }})
needs: [core-on-index, linux-deps-fakeweb]
if: needs.core-on-index.outputs.available == 'true'
runs-on: ${{ matrix.runner }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(matrix.runner, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(matrix.runner, 'windows') && 'D:\a\_temp' || '/tmp' }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- { profile: p2, os: linux, runner: ubuntu-24.04 }
- { profile: p2, os: windows, runner: windows-2022 }
- { profile: p4, os: linux, runner: ubuntu-24.04 }
- { profile: p4, os: windows, runner: windows-2022 }
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with: { fetch-depth: 1 }
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.11' }
- name: Install wrapper + test deps, and the stock Playwright client
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
python -m pip install "playwright==$(cat scripts/playwright_pin.txt)"
- name: The Linux packages (the run's linux-deps-fakeweb job, no mirror)
if: matrix.os == 'linux'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: ${{ needs.linux-deps-fakeweb.outputs.artifact }}
path: /tmp/linux-deps
- name: System deps (xvfb + Firefox runtime libs; the repository of the linux-deps-fakeweb job)
if: matrix.os == 'linux'
run: |
set -euo pipefail
# The run's linux-deps repository and nothing else: apt reads only its sources list and lists folder, the files are already in apt's archives,
# and the roots are installed by name with --no-download: a package the repository does not hold is named here and red, never fetched.
read -r OS VER < /tmp/linux-deps/image.txt
echo "the repository was read on $OS $VER; this runner is $ImageOS $ImageVersion"
sudo mkdir -p /tmp/linux-deps-apt/lists/partial /tmp/linux-deps-apt/parts
echo "deb [trusted=yes] file:/tmp/linux-deps ./" | sudo tee /tmp/linux-deps-apt/sources.list >/dev/null
APT="-o Dir::Etc::SourceList=/tmp/linux-deps-apt/sources.list -o Dir::Etc::SourceParts=/tmp/linux-deps-apt/parts -o Dir::State::Lists=/tmp/linux-deps-apt/lists -o Acquire::Languages=none"
sudo apt-get $APT update
sudo cp /tmp/linux-deps/*.deb /var/cache/apt/archives/
sudo apt-get $APT install -y --no-download --no-install-recommends $(cat /tmp/linux-deps/roots.txt)
- name: Playwright's own Firefox (the control)
run: python -m playwright install firefox
# The security state is a ready directory of the repository (ci/security-state/, a result with no data, the sha256 in ci/security-state.pin.json): with
# STEALTHFOX_SECURITY_STATE set the core neither downloads nor generates one. BEFORE `fetch`, which makes the state present (it would download and generate it).
- name: The security state (a fixed directory of the repository)
run: python scripts/ci_lab_security_state.py set --pin ci/security-state.pin.json
- name: Fetch the published firefox binary
run: echo "FF=$(cd "$RUNNER_TEMP" && python -m invisible_playwright fetch | tail -1)" >> "$GITHUB_ENV"
# The GeoIP database made by the repository (no download, the same bytes every run).
- name: The GeoIP database (made by the repository, same bytes every run)
run: python scripts/ci_lab_geoip.py build
- name: Profile P2, stock first and ours second, on a reused routed page
if: matrix.profile == 'p2'
run: |
PREFIX=""; [ "$RUNNER_OS" = Linux ] && PREFIX="xvfb-run -a"
$PREFIX python -u scripts/run_fakeweb.py --profile p2 --binary "$FF" --repetitions 10 --out fakeweb-p2.json
- name: Profile P4, stock first and ours second, three walks of the journey
if: matrix.profile == 'p4'
run: |
PREFIX=""; [ "$RUNNER_OS" = Linux ] && PREFIX="xvfb-run -a"
set +e
$PREFIX python -u scripts/run_fakeweb.py --profile p4 --binary "$FF" --repetitions 3 --out fakeweb-p4.json 2>&1 | tee fakeweb-p4.log
python scripts/fakeweb_p4_report.py journey fakeweb-p4.json > fakeweb-p4-summary.md
rc=$?
cat fakeweb-p4-summary.md >> "$GITHUB_STEP_SUMMARY"
cat fakeweb-p4-summary.md
case "$rc" in
0) echo "journey: green, ours equals stock on every step";;
1) echo "journey: RED, ours differs from stock on a step of a walk whose control is sound";;
2) echo "journey: RED, BROKEN CONTROL: stock Firefox is not as tests/fakeweb/pages.json declares (not a finding about ours)";;
3) echo "journey: RED, ours differs from stock, and a control is broken";;
4) echo "journey: RED, the runner wrote no report";;
*) echo "journey: RED, the report did not finish ($rc)";;
esac
exit "$rc"
- name: Profile P4, the types of the requests of stock and of ours (one traced walk each)
if: matrix.profile == 'p4' && always()
run: |
PREFIX=""; [ "$RUNNER_OS" = Linux ] && PREFIX="xvfb-run -a"
set +e
$PREFIX python -u scripts/run_fakeweb.py --profile p4 --binary "$FF" --repetitions 1 --trace --out fakeweb-p4-trace.json 2>&1 | tee fakeweb-p4-trace.log
python scripts/fakeweb_p4_report.py trace fakeweb-p4-trace.json > fakeweb-p4-trace-summary.md
rc=$?
cat fakeweb-p4-trace-summary.md >> "$GITHUB_STEP_SUMMARY"
cat fakeweb-p4-trace-summary.md
case "$rc" in
0) echo "request types: green, ours does what stock does";;
1) echo "request types: RED, ours differs from stock, see the summary";;
2) echo "request types: RED, BROKEN CONTROL: stock reported no sendBeacon (not a finding about ours)";;
*) echo "request types: RED ($rc), see the summary";;
esac
exit "$rc"
- name: Upload the numbers
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: fakeweb-${{ matrix.profile }}-${{ matrix.os }}-${{ github.run_id }}-${{ github.run_attempt }}
path: |
fakeweb-*.json
fakeweb-*.log
fakeweb-*.md
if-no-files-found: warn
retention-days: 14
# THE VERDICT of the workflow, the only one: green only when all four legs ran and passed.
verdict:
name: fakeweb verdict
needs: [core-on-index, walk]
if: always()
runs-on: ubuntu-24.04
steps:
- name: red unless every leg is green
run: |
echo "core-on-index: ${{ needs.core-on-index.result }}"
echo "walk (p2 and p4, linux and windows): ${{ needs.walk.result }}"
if [ "${{ needs.walk.result }}" != "success" ]; then
echo "RED: the four legs did not all pass (a leg that did not run measured nothing)"
exit 1
fi
echo "green: ours equals stock on the fake web, on both systems"
-160
View File
@@ -1,160 +0,0 @@
name: firefox-launch-matrix
# Cross-Windows-edition smoke for the SEALED binary, on every Windows runner
# GitHub offers, from a fresh checkout.
#
# HISTORY, and what this can no longer do. It was written for issue #22 (a SxS
# mismatch on Win11 build 26200) and ran the reporter snippet against firefox-7.
# It cannot: a sealed invisible-core serves the sealed tag and refuses every
# other one, so `fetch firefox-7` is a SealMismatch by design now.
#
# It was also SILENTLY WRONG from the seal landing to 2026-07-26: the verify
# step rebuilt the cache path by hand as Cache/firefox-7/firefox.exe while the
# cache is content-keyed (Cache/<tag>_<version>_<buildid>/), so every cell failed
# with NOT FOUND - a failure that looked exactly like the bug under investigation
# and was not. Nine red cells read as "reproduced everywhere". The path now comes
# from the last line of `fetch`, the command that verifies the sealed tree.
on:
workflow_dispatch:
push:
branches: [main]
paths:
- '.github/workflows/firefox-launch-matrix.yml'
# Least privilege: this smoke matrix only checks out the repo and launches
# firefox.exe, so it needs nothing but read access to the contents. Without an
# explicit block the token would default to the repo's broader permissions.
permissions:
contents: read
# Engine and GeoIP downloads go through the release API with this token.
# Anonymous requests share a 60-an-hour limit per runner address and are the
# ones GitHub drops first when it is degraded (2026-11-08: timeouts for
# unauthenticated users failed the gates three times). user-install.yml stays
# anonymous on purpose: it is the user's path.
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
# `pip install .` below resolves `invisible-core==N.M.0` from the package
# index, and the core is published BEFORE this package. This gate answers
# whether it is there yet; during that window the smoke matrix is SKIPPED
# with the reason in the run summary rather than faked green, and once the
# core is up it runs unchanged. See .github/workflows/core-on-index.yml.
core-on-index:
uses: ./.github/workflows/core-on-index.yml
smoke:
name: launch (${{ matrix.os }}, py${{ matrix.python }})
needs: core-on-index
if: needs.core-on-index.outputs.available == 'true'
runs-on: ${{ matrix.os }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: 'D:\a\_temp'
TMP: 'D:\a\_temp'
strategy:
fail-fast: false
matrix:
os: [windows-2022, windows-2025, windows-latest]
# This is a "does firefox.exe launch" smoke test across Windows versions;
# the Python version does not change the answer, so one is enough. That
# takes this all-Windows (2x-cost) matrix from 9 jobs to 3.
python: ["3.12"]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Windows edition + build info
shell: pwsh
run: |
$os = Get-CimInstance Win32_OperatingSystem
Write-Host "Caption : $($os.Caption)"
Write-Host "BuildNumber: $($os.BuildNumber)"
Write-Host "OSArch : $($os.OSArchitecture)"
Write-Host "Edition : $((Get-CimInstance Win32_OperatingSystem).OperatingSystemSKU)"
Write-Host "---"
Write-Host "VC++ Redistributables installed:"
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' `
-ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like '*Visual C++*Redist*' } |
Select-Object DisplayName, DisplayVersion |
Format-Table -AutoSize
- name: Install package from this commit
run: |
python -m pip install --upgrade pip
pip install .
- name: Fetch the sealed binary
shell: pwsh
run: |
$fetchOutput = @(python -m invisible_playwright fetch)
$fetchExit = $LASTEXITCODE
$fetchOutput | ForEach-Object { Write-Host $_ }
if ($fetchExit -ne 0) {
exit $fetchExit
}
$ffPath = [string]($fetchOutput | Select-Object -Last 1)
$ffPath = $ffPath.Trim()
if (-not $ffPath -or -not (Test-Path $ffPath)) {
Write-Error "fetch reported no firefox.exe at '$ffPath'"
exit 1
}
"FF_PATH=$ffPath" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
- name: Verify firefox.exe can launch standalone
shell: pwsh
run: |
# CARRY the path from fetch, never rebuild it. The cache directory is
# keyed on tag + base version + BuildID, so any string assembled here
# is a second copy of a naming rule that has already moved once - and
# when it drifts the step fails with NOT FOUND, indistinguishable from
# the launch bug this job exists to detect.
$ffPath = $env:FF_PATH
Write-Host "Package reports: $ffPath"
if (-not $ffPath -or -not (Test-Path $ffPath)) {
Write-Error "firefox.exe NOT FOUND at '$ffPath' (reported by fetch)"
exit 1
}
Write-Host "Launching: $ffPath --version"
# NOTE: firefox.exe --version on Windows prints the version but may
# return non-zero exit code (sub-process fork quirk). Check stdout.
$output = & $ffPath --version 2>&1 | Out-String
Write-Host "Output: $output"
if ($output -notmatch 'Mozilla Firefox \d') {
Write-Error "firefox.exe --version did not print a Mozilla Firefox version. Output was: $output"
exit 1
}
Write-Host "OK: firefox.exe runs and prints version."
- name: Run reporter's exact InvisiblePlaywright snippet
run: |
python -c "
import asyncio
from invisible_playwright.async_api import InvisiblePlaywright
async def main():
async with InvisiblePlaywright(seed=9128) as browser:
page = await browser.new_page()
await page.goto('about:blank')
print('OK: page loaded, url =', page.url)
asyncio.run(main())
"
- name: Upload diagnostics on failure
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 (v4.6.2)
with:
name: launch-failure-${{ matrix.os }}-py${{ matrix.python }}
path: |
${{ env.FF_PATH }}
if-no-files-found: warn
retention-days: 7
-188
View File
@@ -1,188 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# linux-deps.yml — the Ubuntu packages of a workflow's Linux jobs, read from Ubuntu's archive ONCE per runner image and list, never by the jobs.
# The same file in the series and in the wrapper.
#
# Republish 45297517213: wrapper.e2e.fakeweb-linux-x86_64 was cancelled at its 25 minutes with every step green, because `playwright install-deps
# firefox` fetched 48.8 MB from the archive's mirror at 102 kB/s ("Fetched 48.8 MB in 7min 59s"). The speed of a mirror is a third party's.
# The first form of this file handed the jobs only the packages missing on ITS runner image and installed them against the job's own image: the
# wrapper's PR #584 ran that job on ubuntu24 20261116.376.1 and the legs on 20261116.133.1, and the legs' apt wanted a package the files did not
# hold ("E: Unable to fetch some archives"). GitHub mixes builds of an image in one run, so the files cannot depend on the image they were read on.
#
# So this job hands the jobs a REPOSITORY: the roots (the packages named with their recommends, the recommends themselves, the packages named without,
# and the roots `playwright install-deps firefox` installs for the Playwright of the wrapper's pin, read from its table), their whole closure of
# Depends and Pre-Depends with the virtual packages' providers, INCLUDING what the image already has, a Packages index, and roots.txt. A job
# installs the roots BY NAME with an apt that reads only that repository (its own sources list and lists folder) and --no-download: whatever its
# image has or lacks is resolved from the files, and a package that is not there is named by apt, red, never fetched from a mirror.
# The files are kept in a cache entry keyed by the image's OS, the date of its release and the sha of the list (an entry of .deb files on GitHub's
# runners, this file only), and handed to the run's jobs as the artifact linux-deps-<name>. Not by the image's build: the repository does not depend
# on it, and the builds of one release are mixed in a run (20261116.133.1, 20261116.376.1), so a key per build missed the entry run after run and
# read the archive each time (wrapper PR #585: 13 minutes for a closure, from a slow mirror). The download runs 8 at a time: the slowness seen is
# per connection.
# ─────────────────────────────────────────────────────────────────────────────
name: linux-deps
on:
workflow_call:
inputs:
name:
description: the artifact is linux-deps-<name>
type: string
required: true
packages:
description: packages installed with their recommends (as `apt-get install -y` did)
type: string
default: ''
packages_no_recommends:
description: packages installed without their recommends
type: string
default: ''
playwright_wrapper_ref:
description: the oss-invisible/playwright ref whose scripts/playwright_pin.txt names the Playwright of `install-deps firefox`; empty for none
type: string
default: ''
outputs:
artifact:
description: the artifact that holds the repository
value: ${{ jobs.debs.outputs.artifact }}
permissions: { contents: read }
jobs:
debs:
name: debs
runs-on: ubuntu-24.04
timeout-minutes: 20
outputs:
artifact: linux-deps-${{ inputs.name }}
steps:
- name: Checkout wrapper (its Playwright pin)
if: inputs.playwright_wrapper_ref != ''
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
repository: oss-invisible/playwright
ref: ${{ inputs.playwright_wrapper_ref }}
path: linux-deps-pin
fetch-depth: 1
sparse-checkout: scripts/playwright_pin.txt
sparse-checkout-cone-mode: false
- name: Set up Python
if: inputs.playwright_wrapper_ref != ''
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.11' }
- name: The list and its entry (the runner image and the sha of the list)
id: spec
shell: bash
env:
PACKAGES: ${{ inputs.packages }}
NO_REC: ${{ inputs.packages_no_recommends }}
PW_REF: ${{ inputs.playwright_wrapper_ref }}
run: |
set -euo pipefail
: "${ImageOS:?no ImageOS: not a GitHub runner image}" "${ImageVersion:?no ImageVersion: not a GitHub runner image}"
PIN=""
if [ -n "$PW_REF" ]; then PIN="$(tr -d '[:space:]' < linux-deps-pin/scripts/playwright_pin.txt)"; [ -n "$PIN" ] || { echo "ERROR: empty scripts/playwright_pin.txt at $PW_REF"; exit 1; }; fi
mkdir -p "$RUNNER_TEMP/linux-deps-spec"
printf 'form: repository of the closure\nrecommends: %s\nno-recommends: %s\nplaywright-roots-firefox: %s\n' "$PACKAGES" "$NO_REC" "$PIN" > "$RUNNER_TEMP/linux-deps-spec/spec.txt"
cat "$RUNNER_TEMP/linux-deps-spec/spec.txt"
SHA="$(sha256sum < "$RUNNER_TEMP/linux-deps-spec/spec.txt" | cut -c1-16)"
echo "pin=$PIN" >> "$GITHUB_OUTPUT"
RELEASE="${ImageVersion%%.*}"
echo "key=linux-deps-$ImageOS-$RELEASE-$SHA" | tee -a "$GITHUB_OUTPUT"
- name: The entry of this image and list
id: restore
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: /tmp/linux-deps
key: ${{ steps.spec.outputs.key }}
- name: A new image or list - the repository from Ubuntu's archive, once
if: steps.restore.outputs.cache-hit != 'true'
shell: bash
env:
PACKAGES: ${{ inputs.packages }}
NO_REC: ${{ inputs.packages_no_recommends }}
PIN: ${{ steps.spec.outputs.pin }}
run: |
set -euo pipefail
printf '%s\n' 'Acquire::http::Timeout "60";' 'Acquire::https::Timeout "60";' 'Acquire::Retries "5";' \
| sudo tee /etc/apt/apt.conf.d/80-ci-network >/dev/null
sudo apt-get update -qq
command -v apt-ftparchive >/dev/null || sudo apt-get install -y -qq apt-utils
PW_ROOTS=""
if [ -n "$PIN" ]; then
python -m pip install --quiet "playwright==$PIN"
# The roots `playwright install-deps firefox` installs (with --no-install-recommends): the `tools` and `firefox` lists of this system's
# entry in the driver's table, the list install-deps itself reads.
PLATFORM="ubuntu$(. /etc/os-release && echo "$VERSION_ID")-x64"
PW_ROOTS="$(python - "$PLATFORM" <<'PY'
import os, re, sys
import playwright
path = os.path.join(os.path.dirname(playwright.__file__), "driver", "package", "lib", "coreBundle.js")
text = open(path, encoding="utf-8").read()
at = text.find('"%s": {' % sys.argv[1])
if at < 0:
sys.exit("no entry %s in %s" % (sys.argv[1], path))
roots = []
for group in ("tools", "firefox"):
m = re.compile(r"\b%s: \[(.*?)\]" % group, re.S).search(text, at)
if not m:
sys.exit("no %s list after the entry %s" % (group, sys.argv[1]))
roots += re.findall(r'"([a-z0-9][a-z0-9.+-]*)"', m.group(1))
if "xvfb" not in roots or len(roots) < 10:
sys.exit("the roots read from %s are not install-deps' list: %s" % (path, roots))
print(" ".join(sorted(set(roots))))
PY
)"
echo "playwright install-deps firefox roots: $PW_ROOTS"
fi
# The recommends of the packages named with their recommends (as `apt-get install -y` installed them), one level, as roots themselves.
RECS=""
[ -z "$PACKAGES" ] || RECS="$(apt-cache depends --no-depends --no-pre-depends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances $PACKAGES \
| sed -n 's/^ *|\{0,1\}Recommends: \([a-z0-9][^ <>]*\)$/\1/p' | sort -u | tr '\n' ' ')"
NAMED="$(echo $PACKAGES $RECS $NO_REC $PW_ROOTS | tr ' ' '\n' | sed '/^$/d' | sort -u | tr '\n' ' ')"
# A name only provided (libgtk-3-0, libgtk-3-0t64's on noble) is its provider, as `apt-get install` resolved it: `apt-cache depends
# --recurse` does not walk from a virtual root (wrapper PR #585: the closure of libgtk-3-0 came without libgtk-3-0t64, 92 packages of 230).
ROOTS=""
for r in $NAMED; do
if apt-cache show --no-all-versions "$r" 2>/dev/null | grep -qx "Package: $r"; then ROOTS="$ROOTS $r"; continue; fi
p="$(apt-cache showpkg "$r" | sed -n '/^Reverse Provides:/,$p' | sed '1d' | awk 'NF {sub(/:.*/, "", $1); print $1}' | sort -u)"
[ "$(echo "$p" | wc -w)" = 1 ] || { echo "ERROR: the root $r is not a package and is provided by [$p], not by one package"; exit 1; }
echo "the root $r is provided by $p"
ROOTS="$ROOTS $p"
done
ROOTS="$(echo $ROOTS | tr ' ' '\n' | sort -u | tr '\n' ' ')"
echo "roots: $ROOTS"
# The closure: Depends and Pre-Depends, recursively, the providers of every virtual package, what the image has included.
CLOSURE="$(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances $ROOTS \
| grep -E '^[a-z0-9]' | sed 's/:amd64$//' | grep -v ':' | sort -u)"
REAL="$({ apt-cache show --no-all-versions $CLOSURE 2>/dev/null || true; } | sed -n 's/^Package: //p' | sort -u)"
rm -rf /tmp/linux-deps && mkdir -p /tmp/linux-deps
# The lists were refreshed above (apt-get update), so every closure name has its current version; each fetch retries 5 times. The MB and
# the seconds of the download go to the log, so the archive's speed is measured run after run.
T0="$(date +%s)"
( cd /tmp/linux-deps && echo "$REAL" | xargs -n 20 -P 8 apt-get download -qq -o Acquire::Retries=5 )
T1="$(date +%s)"
echo "download: $(echo "$REAL" | wc -w) packages, $(du -sm /tmp/linux-deps | cut -f1) MB in $((T1 - T0)) s"
( cd /tmp/linux-deps && apt-ftparchive packages . > Packages )
for p in $REAL; do grep -qx "Package: $p" /tmp/linux-deps/Packages || { echo "ERROR: $p of the closure was not downloaded"; exit 1; }; done
# A root is a package of the repository or a name one of them provides (libgtk-3-0 is libgtk-3-0t64's on noble, as `apt-get install` resolved it)
for r in $ROOTS; do
e="$(printf '%s' "$r" | sed 's/[.+]/\\&/g')"
grep -qE "^(Package: $e|Provides: (.*, )?$e( \(.*\))?(,.*)?)$" /tmp/linux-deps/Packages || { echo "ERROR: the root $r is not in the repository"; exit 1; }
done
echo "$ROOTS" | tr ' ' '\n' | sed '/^$/d' > /tmp/linux-deps/roots.txt
cp "$RUNNER_TEMP/linux-deps-spec/spec.txt" /tmp/linux-deps/spec.txt
echo "$ImageOS $ImageVersion" > /tmp/linux-deps/image.txt
echo "$(wc -l < /tmp/linux-deps/roots.txt) roots, $(find /tmp/linux-deps -name '*.deb' | wc -l) packages in the closure, $(du -sh /tmp/linux-deps | cut -f1)"
- name: Keep the entry
if: steps.restore.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: /tmp/linux-deps
key: ${{ steps.spec.outputs.key }}
- name: The repository for the jobs of this run
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: linux-deps-${{ inputs.name }}
path: /tmp/linux-deps
retention-days: 1
if-no-files-found: error
-12
View File
@@ -1,12 +0,0 @@
name: noreply-identity
# Pushes the gate does not see: branches other than main and tags. Pull requests and
# main go through the gate of tests.yml.
on:
push:
branches-ignore: [main]
tags: ["**"]
permissions:
contents: read
jobs:
noreply-identity:
uses: oss-invisible/core/.github/workflows/noreply-identity.yml@6d048ac02fc886a50791a4ae0423cbca2a547d72 # core main, the last change of noreply-identity.yml
-113
View File
@@ -1,113 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# publish-wiki.yml - mirror the docs/ site into the GitHub wiki on every release.
#
# The wiki is a SEPARATE git repo (<repo>.wiki.git) with no Jekyll front matter
# and its own _Sidebar.md navigation, so this is a render, not a copy:
# scripts/build_wiki.py strips the front matter, rewrites [x](slug.md) internal
# links to the wiki's extensionless form, names each page by its slug (index.md
# becomes Home.md), and regenerates _Sidebar.md from the parent/nav_order tree.
#
# ⛔ THE RELEASE TRIGGER DOES NOT FIRE FOR THE RELEASES THIS REPOSITORY MAKES.
# GitHub does not start a workflow from an event created with the built-in
# GITHUB_TOKEN, and publish.yml creates the release - which is why every recent
# release here is authored by github-actions[bot]. Measured 2026-09-15 across
# 43 runs: all but a couple were manual dispatches, and the two `release` events
# are old enough to predate the automation. The sibling package AIHawk had the
# identical defect and the identical false sentence in this comment.
#
# The cost is the same too: since the last dispatch on 2026-09-14 the docs have
# moved by 37 insertions and 15 deletions with a release in between, and the
# published wiki was showing neither.
#
# So it also runs on a PUSH to main that touches what the wiki is made of - the
# pages, the converter, and this file - which is an event that actually happens
# here. The release trigger stays: it costs nothing and works for a release a
# person publishes. It is simply no longer what this depends on.
#
# It runs on a published release (the docs the release ships are what the wiki
# should show) and on manual dispatch. The wiki checkout is wiped and rebuilt
# each run so a page deleted from docs/ also disappears from the wiki; nothing
# but generated output is ever committed.
#
# AUTH. Pushing to <repo>.wiki.git needs contents:write. The built-in
# GITHUB_TOKEN carries it here; if a run ever gets a 403 pushing the wiki
# (some org policies withhold wiki write from GITHUB_TOKEN), set a PAT with
# `repo` scope as the secret WIKI_TOKEN and it is used instead. No long-lived
# credential is committed either way.
name: publish-wiki
on:
push:
branches: [main]
paths:
- "docs/**"
- "scripts/build_wiki.py"
- "scripts/sync_article_pixels.py"
- ".github/workflows/publish-wiki.yml"
release:
types: [published]
workflow_dispatch: {}
permissions:
contents: write
# A publishing workflow is never cancelled half-way: the second run waits for
# the first (a newer pending run replaces an older pending one, which is
# harmless: the wiki is rebuilt in full from the repository each time).
concurrency:
group: publish-wiki
cancel-in-progress: false
jobs:
publish-wiki:
runs-on: ubuntu-latest
steps:
- name: Check out the repo (docs + the converter)
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: Render docs/ into a wiki build directory
run: python scripts/build_wiki.py docs wiki_build --pixels "${{ github.repository }}"
# The view counters. Upload BEFORE the push, never after: a page that
# reaches the wiki without its asset serves a 404 for its own pixel and
# counts nothing until the next release. Uploading only what is missing
# makes this a no-op on a run that adds no pages.
- name: Give every new page its view pixel
env:
GITHUB_TOKEN: ${{ github.token }}
run: python scripts/sync_article_pixels.py --repo "${{ github.repository }}" wiki_build
# And the gate. `build_wiki.py` writes no pixel when it is not told which
# repository it is building for, which is the right default for a local
# preview and a silent disaster here: the wiki would publish, look
# perfectly normal, and count nothing. This is the step that notices.
- name: Check every page carries its own pixel
run: |
python scripts/sync_article_pixels.py --selftest
python scripts/sync_article_pixels.py --repo "${{ github.repository }}" --check wiki_build
- name: Publish to the wiki
env:
WIKI_PUSH_TOKEN: ${{ secrets.WIKI_TOKEN != '' && secrets.WIKI_TOKEN || github.token }}
run: |
set -euo pipefail
repo="${{ github.repository }}"
git clone "https://x-access-token:${WIKI_PUSH_TOKEN}@github.com/${repo}.wiki.git" wiki
# wipe old generated pages (keep .git) so deletions propagate
find wiki -maxdepth 1 -name '*.md' -delete
cp wiki_build/*.md wiki/
cd wiki
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add -A
if git diff --cached --quiet; then
echo "wiki already up to date"
else
git commit -m "docs: sync wiki from docs/ (${{ github.ref_name }})"
git push origin HEAD:master
fi
-391
View File
@@ -1,391 +0,0 @@
name: publish
# Publishing invisible-playwright from a tag, with no long-lived credential anywhere.
#
# WHAT REPLACED WHAT. This package was uploaded by hand, from one machine, with a
# long-lived PyPI token sitting on it. Two things follow from that and neither is
# hypothetical: the token is a standing credential whose blast radius is the whole
# project, and a hand-run twine has no gate in front of it - the ordering rules
# live in a person's memory.
#
# The credential here is the `pypi` GitHub Environment's OIDC trust relationship,
# minted per run and valid for minutes. Only the `upload` job names that
# environment, and `upload` declares `needs: gate`, so a red gate means the only
# job that can authenticate never starts. The ordering is a dependency, not a
# convention.
#
# BEFORE THE FIRST RUN, on PyPI: Manage project -> Publishing -> add a GitHub
# publisher with owner `oss-invisible`, repository `playwright`, workflow
# `publish.yml`, environment `pypi`. Until that exists the upload fails with
# `invalid-publisher`, which is the correct failure: nothing has said this
# workflow may speak for this project. Revoke the long-lived token AFTER the
# first successful OIDC publish, not before.
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: read
# One publish at a time per repository, whatever started it and on whatever
# ref. Two runs of one tag (a delayed delivery, or a dispatch plus the push)
# would both pass the already-published check before either had uploaded, and
# both would upload. Keyed on the ref, a dispatch on a branch and a push of the
# tag would not wait for each other, so the group is the workflow alone.
# Serialised, the second run waits for the first and then finds the version on
# the index, so it ends as a no-op. Never cancelled in progress: an upload that
# has started must be allowed to finish.
concurrency:
group: publish
cancel-in-progress: false
# Engine and GeoIP downloads go through the release API with this token.
# Anonymous requests share a 60-an-hour limit per runner address and are the
# ones GitHub drops first when it is degraded (2026-11-08: timeouts for
# unauthenticated users failed the gates three times). user-install.yml stays
# anonymous on purpose: it is the user's path.
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
# Asked of the INDEX, first, because a tag can legitimately name a version that
# is already published: a tag backfilled for a hand-published release, a tag
# re-pushed, a re-run of this workflow. In all of those there is nothing to do
# and nothing wrong, and reaching twine would fail on a filename the index has
# already served - a red run for a situation that is fine.
already-published:
runs-on: ubuntu-latest
outputs:
present: ${{ steps.probe.outputs.present }}
version: ${{ steps.probe.outputs.version }}
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- id: probe
shell: bash
run: |
VERSION="$(grep -m1 '^version = ' pyproject.toml | cut -d'"' -f2)"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
CODE=$(curl -s -o /dev/null -w '%{http_code}' "https://pypi.org/pypi/invisible-playwright/$VERSION/json")
case "$CODE" in
200) echo "present=yes" >> "$GITHUB_OUTPUT"
echo "::notice::invisible-playwright $VERSION is already on the index. No-op, not a failure." ;;
404) echo "present=no" >> "$GITHUB_OUTPUT" ;;
*) echo "the index answered $CODE for $VERSION, which is neither present" >&2
echo "nor absent. Refusing rather than guessing." >&2
exit 1 ;;
esac
gate:
needs: already-published
if: needs.already-published.outputs.present != 'yes'
runs-on: ubuntu-latest
# `checks: read` for the step below, which asks what the e2e concluded on
# this commit. Job level rather than workflow level: no other job needs it.
permissions:
contents: read
checks: read
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
with:
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: the tag names the version being built
# A tag pointing at a different version publishes something nobody asked
# for, under a name that says otherwise. Skipped on workflow_dispatch,
# where there is no tag to compare against.
if: github.event_name == 'push'
shell: bash
run: |
TAG="${GITHUB_REF_NAME#v}"
HAVE="${{ needs.already-published.outputs.version }}"
if [ "$TAG" != "$HAVE" ]; then
echo "tag v$TAG does not name the version in pyproject.toml ($HAVE)" >&2
exit 1
fi
- name: the e2e is GREEN on the commit being tagged
# ⛔ THE SUITE BELOW IS THE DEFAULT SELECTION, WHICH DESELECTS `e2e`. So
# until this step existed, the job that decides whether a release goes
# out had never looked at the suite that drives a browser: a red there
# stopped neither a merge nor a tag. 0.22.1 was tagged from a main whose
# e2e was red, and nothing said so because nothing was looking.
#
# It ASKS rather than re-runs. The e2e has already run on this commit;
# running it again here would cost five minutes to learn what one API
# call answers. What was missing was not a second measurement, it was
# somebody reading the first one.
#
# The selftest runs first, because a gate that has only ever printed
# PASS is not a gate - and this one's verdict is a pure function, so its
# ten known-bad cases cost nothing and need no network.
if: github.event_name == 'push'
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python scripts/e2e_is_green.py --selftest
python scripts/e2e_is_green.py --repo "$GITHUB_REPOSITORY" --sha "$GITHUB_SHA"
- name: the pinned invisible-core is ON THE INDEX
# THE ordering rule, as a gate instead of a sentence in a runbook. This
# package declares `invisible-core==X.Y.Z`, so pip resolves the PUBLISHED
# core - and a consumer released against a core that is not there yet is
# red on every runner and broken for every user while passing locally,
# because the workbench core is an editable install and cannot see this
# class of failure at all. Measured 2026-07-28: both consumers moved to a
# name a new core had, neither release could resolve it.
shell: bash
run: |
# BOTH spellings. PEP 503 normalises `invisible_core` and
# `invisible-core` to the same project, and the dependency here is
# written with the UNDERSCORE while every comment about it uses the
# hyphen. Written against the prose first, this grep matched nothing
# and the step exited 1 on a correct pyproject - caught by running it
# by hand before the first release rather than during one.
WANT=$(grep -oE 'invisible[-_]core==[0-9]+\.[0-9]+\.[0-9]+' pyproject.toml | head -1 | cut -d= -f3)
if [ -z "$WANT" ]; then
echo "no exact invisible-core== pin found in pyproject.toml" >&2
echo "(looked for invisible-core== and invisible_core==)" >&2
exit 1
fi
CODE=$(curl -s -o /dev/null -w '%{http_code}' "https://pypi.org/pypi/invisible-core/$WANT/json")
if [ "$CODE" != "200" ]; then
echo "invisible-core $WANT is not on the index (HTTP $CODE)." >&2
echo "Publish the core FIRST, then this package. In this order every" >&2
echo "install resolves; in the other one none of them do." >&2
exit 1
fi
echo "::notice::invisible-core $WANT is on the index"
- name: install the package and its dev extras
# Its own step, BEFORE the arming below: `python -m invisible_core.hooks install` imports
# invisible_core, and the first version of this file installed inside the
# suite step, so the arming ran against a runner that had nothing
# installed and died on ModuleNotFoundError. ci.yml has had this order
# all along; this workflow had simply never run.
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: version gate
# The version and the ledger against what the index serves, as the
# pre-push hook checks them: in layers, not as alternatives, because the
# hook is per clone and can be missing or skipped, and this cannot
# ([B353]). Exit codes: 0 pass, 1 refused, 2 gate broken, 4 no usable
# ledger; only 0 continues. The check builds the package to compare
# it, without isolation, so the build backend is installed here: the
# dev extra carries `build` and not `hatchling`, and without it the
# check stopped as "gate broken" on the first tag (v0.40.0).
run: |
python -m pip install build hatchling
python -m invisible_core.release check --verify-index
- name: arm the pre-push gates
# The suite asserts core.hooksPath is set and a fresh checkout has none.
run: python -m invisible_core.hooks install
- name: the suite
# A tag push does not trigger the ordinary test workflow, which runs on
# branches and pull requests. Without this, tagging is a way to publish
# code no job has run.
run: python -m pytest -q
# The three checks on the REAL GeoIP database, and only here (the release): the legs of the pull requests and of the gates launch with the database that
# scripts/ci_lab_geoip.py makes (a few networks, the same bytes every run, no download), so what only the real one can show is looked at once per release:
# the product's own road (no variable, cold cache, the latest database downloaded), the lab database against it for the six exits, and every
# time_zone of the database known to the runner's tz database. See the docstring of scripts/ci_real_geoip_check.py.
real-geoip-database:
needs: already-published
if: needs.already-published.outputs.present != 'yes'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: Install the wrapper (its core comes from the index)
run: python -m pip install -e . maxminddb
- name: The real GeoIP database - the product's road, the lab database against it, every zone known
run: python scripts/ci_real_geoip_check.py
upload:
needs: [already-published, gate, real-geoip-database]
if: needs.already-published.outputs.present != 'yes'
runs-on: ubuntu-latest
environment: pypi # the trust relationship lives HERE, behind the gate
permissions:
id-token: write # trusted publishing; no token in a secret anywhere
contents: write # to commit the ledger entry back
pull-requests: write # and to open one when protection declines the push
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
with:
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- run: python -m pip install --upgrade pip build
- run: python -m build
- name: twine check
run: |
pip install twine
twine check dist/*
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
- name: record what was published, and commit it back
# The action above holds the OIDC credential and does the upload; the
# thing that writes PUBLISHED.json is invisible_core.release. So the
# first successful run of this workflow published 0.3.1 and recorded
# nothing - re-creating, on its first green run, the exact gap that had
# been back-filled by hand an hour earlier for 0.6.0 and 0.3.0.
#
# Recording the TREE is correct here and only here: this job is checked
# out at the tag, so the tree is what was built and uploaded. A backfill
# of a version published elsewhere must come from the artifacts the index
# serves instead, because the tree has moved on.
run: |
# `-e .` and not `.[dev]`: this is the job holding the OIDC
# credential and `contents: write`, and `record` needs the package
# importable plus a build backend, nothing else. The dev extra
# pulls pytest, ruff and - in the wrapper - the whole of
# Playwright into the one job that can push to main.
python -m pip install --quiet -e . build hatchling
python -m invisible_core.release record
if git diff --quiet -- PUBLISHED.json; then
echo "::warning::nothing recorded - the ledger did not change"
exit 0
fi
# The direct push CANNOT succeed while the branch requires status
# checks: a required check cannot have passed on a commit that does
# not exist yet, and since 2026-08-13 `enforce_admins` is TRUE, so
# not even a maintainer push has a bypass. Measured 2026-08-05 -
# every publish run on all three repos ended in failure with GH006,
# on releases that had shipped. So the push is tried, and when
# declined the entry goes to a branch and a pull request rather than
# nowhere. Green when it is preserved, red only when it is LOST.
#
# THE FALLBACK HAD NEVER RUN ONCE - repaired 2026-08-14, the same fix
# in all three repos. Two defects, and the first hid the second:
#
# 1. `HEAD:$LEDGER_BRANCH` cannot work from the detached HEAD a tag
# build checks out: the destination branch does not exist yet and
# the source is a commit object, so git cannot tell a branch from
# a tag and refuses with "The destination you provided is not a
# full refname". Under `bash -e` that aborts the step, so the
# pull request below was never even attempted and neither
# `::error::` was ever printed - which is why no `ledger/*`
# branch and no pull request has ever existed on any of the three
# repos, across four red runs on releases that had shipped.
# 2. Creating the pull request also needs "Allow GitHub Actions to
# create and approve pull requests" ON THE REPOSITORY, which is
# off on all three. The job's own `pull-requests: write` is
# necessary and not sufficient. So the pull request is BEST
# EFFORT: once the branch push lands the entry is safe, and the
# run does not go red over a convenience that a repository
# setting can withdraw.
VERSION=$(python -c "import json;print(json.load(open('PUBLISHED.json'))['released'][-1]['version'])")
git config user.name "feder-cr"
git config user.email "85809106+feder-cr@users.noreply.github.com"
git add PUBLISHED.json
# `record` also realigns this version's CHANGELOG heading to the upload
# date the index reports, and this is the repository that keeps a
# changelog, so this is where it matters. A file rewritten on the
# runner's disk that nobody stages is a change that never happened, and
# the whole point is that the date stops being written by hand: 0.16.2
# shipped dated a day ahead because the heading is typed at bump time,
# hours before the upload it claims to describe, in whatever timezone
# the author is in. Conditional to match the release notes step below,
# and because `git add` on a missing path fails under `bash -e`.
if [ -f CHANGELOG.md ]; then
git add CHANGELOG.md
fi
git commit -m "record $VERSION as published"
BRANCH="${{ github.event.repository.default_branch }}"
if git push origin "HEAD:refs/heads/$BRANCH"; then
echo "::notice::ledger entry for $VERSION committed to $BRANCH"
exit 0
fi
echo "the direct push was declined; falling back to a branch and a pull request"
LEDGER_BRANCH="ledger/$VERSION"
if ! git push -f origin "HEAD:refs/heads/$LEDGER_BRANCH"; then
echo "::error::the ledger entry for $VERSION reached NEITHER $BRANCH NOR a branch of its own. It exists only in this run. Back-fill it by hand from the artifacts the index serves, or the next release is refused over a missing entry."
exit 1
fi
echo "::notice::the ledger entry for $VERSION is preserved on branch $LEDGER_BRANCH"
CODE=$(curl -s -o /tmp/pr.json -w '%{http_code}' -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/${{ github.repository }}/pulls" \
-d "{\"title\":\"record $VERSION as published\",\"head\":\"$LEDGER_BRANCH\",\"base\":\"$BRANCH\",\"body\":\"The upload succeeded and the ledger could not be pushed to $BRANCH directly: branch protection declines this token, which has no bypass. Merging this keeps the next release from being refused over a missing entry.\"}")
if [ "$CODE" = "201" ] || [ "$CODE" = "422" ]; then
echo "::error::the ledger for $VERSION is NOT on $BRANCH. Branch $LEDGER_BRANCH carries it and a pull request is open (HTTP $CODE; 422 means one already exists). Merge it before the next release."
else
echo "::error::the ledger for $VERSION is NOT on $BRANCH. Branch $LEDGER_BRANCH carries it and the pull request could NOT be created (HTTP $CODE - 403 means the repository forbids Actions from creating pull requests). Open and merge it by hand before the next release."
fi
exit 0
- name: create the release page for this tag
# Measured 2026-08-11: after pushing three tags, FOUR versions out of four
# had no release page, and it was this repo's own gate
# (`test_the_published_version_has_a_github_release`, in
# `test_release_e2e.py`) that found them AFTER publication. A tag with no
# release page is not cosmetic: that gate walks EVERY version on the
# index, so one omission refuses a later run for a version nobody is
# releasing that day.
#
# Runs only on the tag path - `workflow_dispatch` has no tag to describe.
# Idempotent on purpose: a re-pushed tag, a re-run, or a page created by
# hand must all be a no-op rather than a failure, which is the same rule
# `already-published` follows one job up.
#
# The body comes from CHANGELOG.md when the repo keeps one (only this one
# does) and is generated otherwise. One step, both cases, so the three
# repos carry the same text instead of three variants that drift.
if: startsWith(github.ref, 'refs/tags/')
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TAG="${GITHUB_REF#refs/tags/}"
VERSION="${TAG#v}"
if gh release view "$TAG" > /dev/null 2>&1; then
echo "::notice::the release page for $TAG already exists - nothing to do"
exit 0
fi
if [ -f CHANGELOG.md ]; then
awk -v v="$VERSION" '
$0 ~ ("^## \\[" v "\\]") { p = 1; next }
p && /^## \[/ { exit }
p { print }
' CHANGELOG.md > /tmp/notes.md
else
: > /tmp/notes.md
fi
# A body that is only whitespace reads as a page nobody wrote. Say what
# is true instead: the version, and where the artifacts actually are.
#
# The PyPI name is the repository name with hyphens: the repo is
# `invisible_playwright` and the project is `invisible-playwright`.
# PyPI redirects the underscore form, so getting this wrong would have
# produced a link that works and is still wrong to read. And no
# backticks in the body - they would be command substitution inside a
# double-quoted shell string, which is how fourteen quoted terms once
# became empty strings.
PKG=$(printf '%s' "${{ github.event.repository.name }}" | tr '_' '-')
if [ -z "$(tr -d '[:space:]' < /tmp/notes.md)" ]; then
printf '%s\n' \
"$PKG $VERSION is on PyPI." \
"" \
"Artifacts and checksums: https://pypi.org/project/$PKG/$VERSION/" \
> /tmp/notes.md
fi
if gh release create "$TAG" --title "$TAG" --notes-file /tmp/notes.md; then
echo "::notice::release page created for $TAG"
exit 0
fi
echo "::error::the release page for $TAG could not be created. The package IS published; create the page by hand or a later run of the release gate will refuse over it."
exit 1
-44
View File
@@ -1,44 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# published-set.yml - the control side of the A/B oracles is the last PUBLISHED SET, and this keeps its lock equal to the index.
#
# An A/B oracle holds a candidate against the engine published before it, and that engine is launched by the core it was built for (it refuses a launch whose
# declarations that core does not emit). So the control is a set: the last `invisible-playwright` on the index, the `invisible-core` it pins exactly, and the engine
# that core's seal pins, in a venv of their own, installed by hash (ci-03): ci/py-lock/published.txt, made by scripts/ci_published_set.py. Nothing in it is chosen
# by hand; a new release is the new baseline.
#
# The lock is a committed file so that a run installs it offline (the wheelhouse of the run holds the files it names). What can go stale is the lock, the day a
# release is published: this reads the index (the JSON of the two packages, nothing is installed or run) and is RED when the committed lock is not the index's last
# release. The fix is one command, `python scripts/ci_published_set.py resolve --write`, in the pull request that records the release.
# ─────────────────────────────────────────────────────────────────────────────
name: published-set
on:
schedule:
- cron: "41 5 * * *"
pull_request:
paths:
- ci/py-lock/published.txt
- scripts/ci_published_set.py
- .github/workflows/published-set.yml
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lock-is-the-index:
name: the committed published set is the index's last release
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out the lock and the script
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: The lock against the index (reads the index, installs nothing)
run: python scripts/ci_published_set.py check
-379
View File
@@ -1,379 +0,0 @@
# real-sites.yml - on real pages, does the published wrapper get the same outcome as stock Firefox driven by stock Playwright, on the same machine, in the same window of time?
#
# ONE QUESTION. It does not measure the quality of an address or a percentage of blocks: a GitHub runner has a datacenter address and no proxy is used. Where stock Firefox
# is blocked as well, the cell carries no information and is written as such. It is red only where stock gets through and the wrapper does not.
#
# WHAT RUNS (per system, Linux under Xvfb with a window, and Windows; in a job everything in a row, one browser at a time):
# 1. two clean venvs: `invisible-playwright==<the version the index serves now>`, and Playwright at scripts/playwright_pin.txt with its Firefox;
# 2. the pass of stock over the whole list (scripts/run_real_sites.py), then the pass of ours;
# 3. only for the cells that differ in the first pass: two more passes of those sites, stock, ours, stock, ours;
# 4. the judge (scripts/judge_real_sites.py): the table, three numbers, the exit code. Its rule is in its own docstring and tests/test_real_sites_judge.py.
# The cells (JSON) and the summary are the artifacts of the run. The same conditions for both browsers: a window, one viewport, no proxy, the language of the runner.
#
# WHEN (never by hand, except to run a whole round again):
# * `workflow_run` of publish.yml, completed with success: the round after a publication, on the packages that just went out;
# * `push` to main and `pull_request` that touch the five files below: the round proves itself, on the packages published at that moment;
# * `workflow_dispatch`: to run a whole round again.
#
# VERSION. After a publication the version is the tag of the publish run (`head_branch` without its `v`); a run that is not of a `v*` tag makes the plan red. The other
# events read the version the index serves now.
#
# WHY PER PUSH. The admission judges a list when the list changes; the round measures at every push. A push that does not touch tests/realsites/sites.json does not run the
# admission again, or every push of the pull request would resample the real sites and could go red for a reason that is nobody's change. The plan decides it per push:
# a push is compared with the head it replaced; if that compare cannot be made (a forced push, no `before`, an API error) the admission runs, in doubt measure.
#
# ADMISSION. A push to a pull request that changes tests/realsites/sites.json runs the admission AND the round (14 jobs: the plan, 2 of the round, 10 passes of the admission and
# its report). The admission is stock alone, five passes per site and per system (a job per pass, so that a list of thirty sites stays inside the limit of a job). It is
# red only for a defect of the list, never for the luck of one site: an invalid list (a `min_informative` in the file is one), a pass that is missing, a site never good in
# any pass of a system that is not of the class protetta (a wrong marker, or a fixed block), more than 4 protetta, more than 20 sites. A site good in some passes stays,
# and the report gives its count per system ("4 of 5 on linux"): every real site has a rare failure on the side of stock, five passes cannot tell it from instability,
# and in the round it only removes information from that cell. The minimum of information is not sampled and is not in the file: the judge asks for half the sites,
# rounded up. Where stock does not find the marker, its cell in the artifact also holds the status, the title and the first 40 element ids of the page, to fix the marker
# in the same pull request; the judge ignores them.
#
# TOKEN. The token of the workflow is in three steps and nowhere else: the plan and the report of the admission (they call `gh`) and the install and fetch of the
# round (the engine is downloaded from GitHub; that step launches no browser). A step that runs the passes never sees it.
#
# No click and no handling of a consent wall anywhere: both browsers see what the page shows.
name: real-sites
on:
workflow_run:
workflows: [publish]
types: [completed]
push:
branches: [main]
paths:
- tests/realsites/sites.json
- scripts/run_real_sites.py
- scripts/judge_real_sites.py
- tests/test_real_sites_judge.py
- .github/workflows/real-sites.yml
pull_request:
paths:
- tests/realsites/sites.json
- scripts/run_real_sites.py
- scripts/judge_real_sites.py
- tests/test_real_sites_judge.py
- .github/workflows/real-sites.yml
workflow_dispatch:
permissions:
contents: read
pull-requests: read
env:
PYTHONUTF8: "1"
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
# Whether this run also admits a list, and the version of the package it tests, read ONCE so that both systems test the same one.
plan:
name: plan
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-24.04
timeout-minutes: 5
outputs:
admission: ${{ steps.plan.outputs.admission }}
version: ${{ steps.plan.outputs.version }}
steps:
- id: plan
shell: bash
env:
EVENT: ${{ github.event_name }}
PR: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
ACTION: ${{ github.event.action }}
BEFORE: ${{ github.event.before }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
admission=$(python3 - <<'PY'
import os
import subprocess
LIST = "tests/realsites/sites.json"
ZEROS = "0" * 40
def gh_files(endpoint, jq):
done = subprocess.run(["gh", "api", endpoint, "--paginate", "--jq", jq], capture_output=True, text=True, check=True)
return done.stdout.split()
def decide(event, action, before, head, repo, pr, files_of):
"""Does this run admit the list? Only when this push changes it. A push (synchronize) is compared with the head it replaced; a pull request that is
opened or reopened is judged on all its files. A compare that cannot be made (a forced push, no `before`, an API error) runs the admission: in doubt, measure."""
if event != "pull_request":
return False
if action == "synchronize":
if not before or before == ZEROS or not head:
return True
endpoint, jq = "repos/%s/compare/%s...%s" % (repo, before, head), ".files[].filename"
else:
endpoint, jq = "repos/%s/pulls/%s/files" % (repo, pr), ".[].filename"
try:
return LIST in files_of(endpoint, jq)
except Exception:
return True
if __name__ == "__main__":
e = os.environ
print("true" if decide(e["EVENT"], e.get("ACTION", ""), e.get("BEFORE", ""), e.get("HEAD_SHA", ""), e["REPO"], e.get("PR", ""), gh_files) else "false")
PY
)
if [ "$EVENT" = workflow_run ]; then
case "$HEAD_BRANCH" in
v*)
version="${HEAD_BRANCH#v}"
;;
*)
echo "::error::the publish run is of '$HEAD_BRANCH', not of a v* tag: the version of the package is not known"
exit 1
;;
esac
else
version=$(python3 -c 'import json, urllib.request; print(json.load(urllib.request.urlopen("https://pypi.org/pypi/invisible-playwright/json", timeout=60))["info"]["version"])')
fi
echo "admission=$admission" >> "$GITHUB_OUTPUT"
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "admission: $admission, invisible-playwright $version"
# The Ubuntu packages of the Linux legs, from Ubuntu's archive once per runner image and list (linux-deps.yml), never by a leg.
linux-deps-real-sites:
name: linux-deps-real-sites
needs: plan
uses: ./.github/workflows/linux-deps.yml
with:
name: real-sites
packages: xvfb libgtk-3-0 libdbus-glib-1-2 libasound2t64
round:
name: round (${{ matrix.os }})
needs: [plan, linux-deps-real-sites]
runs-on: ${{ matrix.os }}
timeout-minutes: 40
strategy:
fail-fast: false # one system failing must not hide the other's table
matrix:
os: [ubuntu-24.04, windows-latest]
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
VERSION: ${{ needs.plan.outputs.version }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.12' }
- name: The Linux packages (the run's linux-deps-real-sites job, no mirror)
if: runner.os == 'Linux'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: ${{ needs.linux-deps-real-sites.outputs.artifact }}
path: /tmp/linux-deps
- name: Linux runtime libraries for the browsers (the repository of the linux-deps-real-sites job)
if: runner.os == 'Linux'
run: |
set -euo pipefail
# The run's linux-deps repository and nothing else: apt reads only its sources list and lists folder, the files are already in apt's archives,
# and the roots are installed by name with --no-download: a package the repository does not hold is named here and red, never fetched.
read -r OS VER < /tmp/linux-deps/image.txt
echo "the repository was read on $OS $VER; this runner is $ImageOS $ImageVersion"
sudo mkdir -p /tmp/linux-deps-apt/lists/partial /tmp/linux-deps-apt/parts
echo "deb [trusted=yes] file:/tmp/linux-deps ./" | sudo tee /tmp/linux-deps-apt/sources.list >/dev/null
APT="-o Dir::Etc::SourceList=/tmp/linux-deps-apt/sources.list -o Dir::Etc::SourceParts=/tmp/linux-deps-apt/parts -o Dir::State::Lists=/tmp/linux-deps-apt/lists -o Acquire::Languages=none"
sudo apt-get $APT update
sudo cp /tmp/linux-deps/*.deb /var/cache/apt/archives/
sudo apt-get $APT install -y --no-download --no-install-recommends $(cat /tmp/linux-deps/roots.txt)
# Two venvs that share nothing: what a user gets from the index, and what a user of stock Playwright gets. The wrapper is installed by its published version
# (the index may lag a few minutes behind a publication: only the install is asked again), then its engine is fetched the way a user fetches it.
- name: The two clean venvs
shell: bash
env:
GH_TOKEN: ${{ github.token }} # the fetch of the engine is a download from GitHub; nothing here opens a page
run: |
set -euo pipefail
if [ "$RUNNER_OS" = Windows ]; then BIN=Scripts; EXE=python.exe; else BIN=bin; EXE=python; fi
python -m venv venvs/ours
python -m venv venvs/stock
echo "OURS_PY=venvs/ours/$BIN/$EXE" >> "$GITHUB_ENV"
echo "STOCK_PY=venvs/stock/$BIN/$EXE" >> "$GITHUB_ENV"
OURS="venvs/ours/$BIN/$EXE"; STOCK="venvs/stock/$BIN/$EXE"
PIN=$(tr -d '[:space:]' < scripts/playwright_pin.txt)
"$STOCK" -m pip install --quiet --disable-pip-version-check "playwright==$PIN"
if [ "$RUNNER_OS" = Linux ]; then "$STOCK" -m playwright install --with-deps firefox; else "$STOCK" -m playwright install firefox; fi
for attempt in 1 2 3 4 5 6; do
if "$OURS" -m pip install --quiet --disable-pip-version-check "invisible-playwright==$VERSION"; then break; fi
if [ "$attempt" = 6 ]; then echo "::error::the index does not give invisible-playwright==$VERSION"; exit 1; fi
sleep 20
done
"$OURS" -m invisible_playwright fetch
# The pass of stock, the pass of ours, the cells that differ, and for those only two more passes of each in the order stock, ours, stock, ours.
- name: The passes
shell: bash
run: |
set -euo pipefail
mkdir -p cells
visit() { # browser, file of the cells, then what run_real_sites.py takes
local browser="$1" out="$2" py="$STOCK_PY"
shift 2
if [ "$browser" = ours ]; then py="$OURS_PY"; fi
if [ "$RUNNER_OS" = Linux ]; then
xvfb-run -a -s "-screen 0 1920x1080x24" "$py" scripts/run_real_sites.py --browser "$browser" --out "$out" "$@"
else
"$py" scripts/run_real_sites.py --browser "$browser" --out "$out" "$@"
fi
}
visit stock cells/stock-1.json
visit ours cells/ours-1.json
IDS=$(python scripts/judge_real_sites.py differing --sites tests/realsites/sites.json --stock cells/stock-1.json --ours cells/ours-1.json)
echo "cells that differ: ${IDS:-none}"
if [ -n "$IDS" ]; then
for n in 2 3; do
visit stock "cells/stock-$n.json" --only "$IDS"
visit ours "cells/ours-$n.json" --only "$IDS"
done
fi
- name: The judge
shell: bash
run: |
set +e
python scripts/judge_real_sites.py judge --sites tests/realsites/sites.json \
--stock cells/stock-*.json --ours cells/ours-*.json --summary cells/summary.md --result cells/result.json
code=$?
{
echo "### $RUNNER_OS: invisible-playwright $VERSION against stock Playwright $(tr -d '[:space:]' < scripts/playwright_pin.txt)"
echo
cat cells/summary.md
} >> "$GITHUB_STEP_SUMMARY"
exit $code
- name: The cells and the summary
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: real-sites-${{ runner.os }}
path: cells/
if-no-files-found: ignore
# One pass of stock over the list, on one system: five of them per system make the admission.
admit:
name: admit (${{ matrix.os }}, pass ${{ matrix.repeat }})
needs: [plan, linux-deps-real-sites]
if: needs.plan.outputs.admission == 'true'
runs-on: ${{ matrix.os }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
timeout-minutes: 40
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest]
repeat: [1, 2, 3, 4, 5]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.12' }
- name: The Linux packages (the run's linux-deps-real-sites job, no mirror)
if: runner.os == 'Linux'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: ${{ needs.linux-deps-real-sites.outputs.artifact }}
path: /tmp/linux-deps
- name: Linux runtime libraries for the browser (the repository of the linux-deps-real-sites job)
if: runner.os == 'Linux'
run: |
set -euo pipefail
# The run's linux-deps repository and nothing else: apt reads only its sources list and lists folder, the files are already in apt's archives,
# and the roots are installed by name with --no-download: a package the repository does not hold is named here and red, never fetched.
read -r OS VER < /tmp/linux-deps/image.txt
echo "the repository was read on $OS $VER; this runner is $ImageOS $ImageVersion"
sudo mkdir -p /tmp/linux-deps-apt/lists/partial /tmp/linux-deps-apt/parts
echo "deb [trusted=yes] file:/tmp/linux-deps ./" | sudo tee /tmp/linux-deps-apt/sources.list >/dev/null
APT="-o Dir::Etc::SourceList=/tmp/linux-deps-apt/sources.list -o Dir::Etc::SourceParts=/tmp/linux-deps-apt/parts -o Dir::State::Lists=/tmp/linux-deps-apt/lists -o Acquire::Languages=none"
sudo apt-get $APT update
sudo cp /tmp/linux-deps/*.deb /var/cache/apt/archives/
sudo apt-get $APT install -y --no-download --no-install-recommends $(cat /tmp/linux-deps/roots.txt)
- name: Stock Playwright and its Firefox, then one pass
shell: bash
env:
REPEAT: ${{ matrix.repeat }}
run: |
set -euo pipefail
if [ "$RUNNER_OS" = Windows ]; then BIN=Scripts; EXE=python.exe; else BIN=bin; EXE=python; fi
python -m venv venvs/stock
STOCK="venvs/stock/$BIN/$EXE"
PIN=$(tr -d '[:space:]' < scripts/playwright_pin.txt)
"$STOCK" -m pip install --quiet --disable-pip-version-check "playwright==$PIN"
if [ "$RUNNER_OS" = Linux ]; then "$STOCK" -m playwright install --with-deps firefox; else "$STOCK" -m playwright install firefox; fi
mkdir -p cells
if [ "$RUNNER_OS" = Linux ]; then
xvfb-run -a -s "-screen 0 1920x1080x24" "$STOCK" scripts/run_real_sites.py --browser stock --diagnose --out "cells/stock-$REPEAT.json"
else
"$STOCK" scripts/run_real_sites.py --browser stock --diagnose --out "cells/stock-$REPEAT.json"
fi
- name: The cells
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: admit-${{ runner.os }}-${{ matrix.repeat }}
path: cells/
if-no-files-found: ignore
admission:
name: admission report
needs: admit
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with: { python-version: '3.12' }
- name: Which sites are the same five of five, and the minimum to write
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
gh run download "$GITHUB_RUN_ID" --repo "$GITHUB_REPOSITORY" --pattern 'admit-*' --dir admit
set +e
python scripts/judge_real_sites.py admit --sites tests/realsites/sites.json \
--os linux admit/admit-Linux-*/stock-*.json --os windows admit/admit-Windows-*/stock-*.json \
--summary admission.md
code=$?
cat admission.md >> "$GITHUB_STEP_SUMMARY"
exit $code
- name: The report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: admission
path: admission.md
if-no-files-found: ignore
-489
View File
@@ -1,489 +0,0 @@
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
# One run of this workflow per branch at a time. A newer push cancels the older
# in-flight run as a whole, cleanly, instead of leaving its queued jobs to be
# cancelled one by one - which left the run marked failed even though nothing
# had actually failed. Keyed by workflow + ref so tests and e2e never cancel
# each other; only an older run of THIS workflow on the same branch is replaced.
# A newer push to a pull request cancels the run it supersedes. Never on main:
# outside a pull request the group is unique to the run (`github.run_id`), so
# every commit of main keeps its own finished run (see e2e.yml for why).
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
# Engine and GeoIP downloads go through the release API with this token.
# Anonymous requests share a 60-an-hour limit per runner address and are the
# ones GitHub drops first when it is degraded (2026-11-08: timeouts for
# unauthenticated users failed the gates three times). user-install.yml stays
# anonymous on purpose: it is the user's path.
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
# The gate was written FOR this repository on 2026-08-27, after 549 lines of
# Italian shipped here in one subsystem and 852 more were found in 33 files
# that were already public. It has been wired nowhere ever since: not into
# tests.yml, not into the pre-push hook, whose steps are pytest, pin, names,
# internals and publish. Both sibling packages copied the script AND the CI
# step; this one kept only the script, so the one repository the rule exists
# for is the one that never checked. Measured 2026-09-03, the first time
# anybody ran it here: four files, red.
#
# Its own job, and deliberately NOT behind core-on-index. Reading files needs
# no install, and hanging a language check off the availability of a package on
# an index would silently skip it during exactly the window when releases are
# being made.
english:
name: the repository is English
# ⛔ The gate is `invisible_core.english` since core 30.23.0, not a script of
# this repository: the script was a COPY, one here and one in AIHawk, and the
# copies drifted - this one never gained the `.js/.css/.html` coverage the
# other did. So this job needs the pinned core on the index, like `unit`.
needs: core-on-index
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: install the pinned core, which carries the gate
run: |
python -m pip install --upgrade pip
pip install -e .
- name: check the prose
# --selftest first: a language gate that has only ever printed "clean" is
# the same non-gate as any other, and this one can go blind from a single
# edit to its word list. What this repository exempts is declared in
# `[tool.invisible.english]` in pyproject.toml, and an exclusion that
# names nothing is refused.
run: |
python -m invisible_core.english --selftest
python -m invisible_core.english
# A README that promises to beat everything was live here on 2026-09-22 ("it
# passes every bot detection test"), and the check that found it ran by hand,
# from outside the repository, after the text was public. The logic is
# `invisible_core.claims` since core 34.29.0, shared with the MCP server's
# repository; what this one reads is declared in `[tool.invisible.claims]`,
# and without a declaration it is the README, which is also what PyPI shows.
claims:
name: the README promises nothing it cannot support
needs: core-on-index
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: install the pinned core, which carries the gate
run: |
python -m pip install --upgrade pip
pip install -e .
- name: check the claims
# --selftest first, for the same reason as the language gate: a check
# that has only ever printed "clean" may have gone blind.
run: |
python -m invisible_core.claims --selftest
python -m invisible_core.claims
# The way in is uv (the owner, 2026-09-06 and "uv everywhere" on 2026-10-17),
# and on that day this repository still taught pip in its README, its
# CONTRIBUTING, its docs and the messages its code prints, with nothing
# comparing any of them with the decision. `invisible_core.way_in` since core
# 49.45.0 refuses an install instruction that is not uv, in the tracked
# Markdown, the issue templates and the string literals of src/.
way-in:
name: every install instruction is uv
needs: core-on-index
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: install the pinned core, which carries the gate
run: |
python -m pip install --upgrade pip
pip install -e .
- name: check the way in
# --selftest first: a check that has only ever printed "clean" may
# have gone blind.
run: |
python -m invisible_core.way_in --selftest
python -m invisible_core.way_in
# The user-install job installs what was published, as a user would. It ran
# on `release: published`, which never fires: the Release is created with
# GITHUB_TOKEN, and an event that token causes starts no other workflow
# ([B347], core 50.48.0). `invisible_core.install_job` judges this tree: the
# job runs on the ledger pull request, its wait for the index is scoped to it
# and bounded, and every test file it runs keeps out, in a `_LEAKS`, every
# variable the pinned core's library reads.
install-job:
name: the user-install job runs on the ledger pull request
needs: core-on-index
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: install the pinned core, which carries the gate
run: |
python -m pip install --upgrade pip
pip install -e .
- name: check the install job
run: |
python -m invisible_core.install_job --selftest
python -m invisible_core.install_job
# `pip install -e ".[dev]"` below resolves `invisible-core==N.M.0` from the
# package index. The core is published BEFORE this package, so between the
# first push of this repo and that upload there is a window in which no
# install here can succeed. This gate answers "is it on the index?" and the
# unit job depends on the answer: during the window that job is SKIPPED (grey
# in the checks list, with the reason written into the run summary), never
# faked green; once the core is published it runs exactly as before. Full
# reasoning, including why `|| true`, `--no-deps` and a git fallback were all
# rejected, is in .github/workflows/core-on-index.yml.
core-on-index:
uses: ./.github/workflows/core-on-index.yml
# Every commit and tag this change makes public must carry a GitHub noreply
# email (author, committer, tagger). The judge lives in oss-invisible/core and
# is read from its main, never from this branch.
noreply-identity:
uses: oss-invisible/core/.github/workflows/noreply-identity.yml@6d048ac02fc886a50791a4ae0423cbca2a547d72 # core main, the last change of noreply-identity.yml
unit:
name: pytest (${{ matrix.os }}, py${{ matrix.python }})
needs: core-on-index
if: needs.core-on-index.outputs.available == 'true'
runs-on: ${{ matrix.os }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
# Every version `requires-python = ">=3.11"` promises. Two of them were
# untested until 2026-08-01, and the user who opened issue #51 was on
# 3.14. test_marker_vocabulary.py compares this list to the floor.
python: ["3.11", "3.12", "3.13", "3.14"]
# The FULL Python range on ubuntu; Windows on the two ends of the range,
# 3.11 and 3.14 (Federico, 12/11: every test on Linux AND Windows; the
# ends are where a version-specific difference shows first). The runners
# are free for this public repository; the account runs 20 jobs at once.
# The python LIST above stays complete so test_marker_vocabulary still
# sees every version.
exclude:
- { os: windows-latest, python: "3.12" }
- { os: windows-latest, python: "3.13" }
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
# main, for the tests that compare a list of this change with the list of main (tests/test_the_e2e_tests_do_not_wait_on_clocks.py: the debt of
# the e2e tests only shrinks). The checkout is one commit deep; without this the comparison has nothing to read and the test says so.
- name: main, to compare the lists that may only shrink
shell: bash
run: git fetch --no-tags --depth=1 origin main:refs/remotes/origin/main
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: ${{ matrix.python }}
cache: pip
- name: Install package + dev extras
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: arm the pre-push gates
# A fresh clone has no core.hooksPath, and the suite says so - the
# reminder moved into `invisible_core.testing` on 2026-07-28 and all
# three repos that existed then made the assertion (two now, since
# invisible_firefox was deleted on 2026-08-18), but only the core's CI
# had this step, so both consumers went red on it. Do here what a
# developer does once. It also means `python -m invisible_core.hooks install` is exercised on
# every runner instead of only on the one machine that ever ran it by
# hand.
run: python -m invisible_core.hooks install
- name: undefined names and duplicate definitions
# F821 (undefined name) and F811 (redefinition) only. Not a style pass:
# these two are the rules that catch a name that cannot resolve, which
# `from __future__ import annotations` hides in an annotation and which
# a suite only finds if it happens to execute that line. Both bit on
# 2026-07-28 - a `throwaway_venv` used and imported nowhere took a
# user-install job red at RUNTIME, and six annotations named a type that
# was defined in no module at all.
#
# Zero violations in all three repos when this was added, so it is a
# gate rather than a cleanup backlog. Keep it that way.
run: |
python -m ruff check --select F821,F811,F601 --no-cache --output-format concise .
# The security state is a ready directory of the repository (ci/security-state/, a result with no data, the sha256 in ci/security-state.pin.json): with
# STEALTHFOX_SECURITY_STATE set the core neither downloads nor generates one.
- name: The security state (a fixed directory of the repository)
shell: bash
run: python scripts/ci_lab_security_state.py set --pin ci/security-state.pin.json
# The GeoIP database is made by the repository (scripts/ci_lab_geoip.py: the same bytes on every run, the sha256 in ci/geoip.json), never a
# site and never a licensed file: without STEALTHFOX_GEOIP_MMDB the core asks GitHub which database is the latest on every call
# (run 43211837926). The variable reaches every later step of the job.
- name: The GeoIP database (made by the repository, same bytes every run)
shell: bash
run: python scripts/ci_lab_geoip.py build
- name: Run pytest
if: matrix.python != '3.11'
shell: bash
run: |
set -o pipefail # or tee would swallow pytest's exit code
pytest tests/ -v --tb=short -rs | tee tests-report.txt
# The legs of Python 3.11 (the version the engine series' gate runs, on both of its systems) run the suite the way that gate does: the files and the
# marker of the row wrapper.unit.all.<os> of ci/required-suites.json (printed by scripts/ci_verdict.py args), one junit, and the judge below reads
# it. Until 2026-11-24 this workflow ran `pytest tests/` with a floor of 380 and nothing judged the exact counts the gate holds: PR #590 added a test
# without raising min_tests, this workflow was green, and the gate went red on main's next series run ("the suite is exact").
# No test runs twice: the row leaves out the files of the environment (a clone with its hooks armed, one with origin/main, the package index, ...: named,
# each with its reason, in tests/test_the_unit_suite_is_accounted_for.py), so a second pytest, with --ignore for every file of the row, runs those
# and any file that is in no row: together the two runs are what `pytest tests/` ran.
- name: Run pytest (the selection of the gate, then the files outside the row)
if: matrix.python == '3.11'
shell: bash
env:
SUITE_OS: ${{ startsWith(matrix.os, 'windows') && 'windows' || 'linux' }}
run: |
unset PYTEST_ADDOPTS
python scripts/ci_verdict.py args --required ci/required-suites.json --suite "wrapper.unit.all.$SUITE_OS" --os "$SUITE_OS" --with-marker | tr -d '\r' > "$RUNNER_TEMP/unit_args.txt"
mapfile -t ARGS < "$RUNNER_TEMP/unit_args.txt"
IGNORE=()
for a in "${ARGS[@]}"; do
case "$a" in tests/*::*) ;; tests/*) IGNORE+=("--ignore=$a") ;; esac
done
rc=0
python -m pytest "${ARGS[@]}" -o addopts='' -o junit_family=xunit2 -q --tb=short -p no:cacheprovider -p no:rerunfailures -rs --junitxml="$RUNNER_TEMP/unit-junit.xml" || rc=$?
python -m pytest tests/ "${IGNORE[@]}" -v --tb=short -rs || rc=$?
exit $rc
# The leg ran with the pinned database, and the core never went past it to GitHub (tests/geoip_used.py wrote what it did).
- name: The leg ran with the pinned GeoIP database
if: always()
shell: bash
run: |
python scripts/ci_lab_geoip.py evidence --out "$(dirname "$GEOIP_USED_OUT")/geoip-evidence.json" > /dev/null
python scripts/ci_lab_geoip.py verify --evidence "$(dirname "$GEOIP_USED_OUT")/geoip-evidence.json" --used "$GEOIP_USED_OUT"
# This repo has the largest suite of the three and was the only one with
# no floor. pytest's exit code cannot distinguish "everything passed"
# from "the marker expression deselected everything", and `addopts`
# already filters on two markers - one more, or a typo in one, silently
# turns 726 tests into 0 and reports success.
- name: Refuse a run in which the suite deselected itself
if: matrix.python != '3.11'
shell: bash
run: |
python - <<'PY'
import pathlib, re, sys
text = pathlib.Path("tests-report.txt").read_text(encoding="utf-8", errors="ignore")
m = re.search(r"(\d+) passed", text)
passed = int(m.group(1)) if m else 0
# FLOOR, not a target. It exists because a mis-wired selection runs
# almost nothing and still exits 0 - the exit code cannot see it.
#
# Was 600 until 2026-07-27, when 322 tests MOVED to invisible_core:
# they covered core modules and reached them through this package's
# four-line back-compat shims, so six real breaks in core code were
# surviving the core's own suite. Nothing shrank; the tests are in the
# package they test. This suite runs ~420 now.
#
# Keep it a little under the real count. It is a tripwire for "the
# selection collapsed", not an assertion about how many tests exist.
if passed < 380:
print(f"only {passed} test(s) ran (expected 380+) - the selection "
f"dropped most of the suite and the exit code cannot see it",
file=sys.stderr)
sys.exit(1)
print(f"{passed} tests ran")
PY
# The judge of the engine series' gate on the junit of the step above: the exact count of the row (not one test more, not one less), no skip, every
# file of the row passed, and the list only grows against main. The judge and the list it compares with are read from main, never from the branch under
# judgment (a branch that edits its own judge or its own list cannot pass itself): a PR that adds a test and does not raise min_tests is red here.
# The suite launches no browser, so --binary names the interpreter that ran it (the judge wants a file to hash; nothing reads that hash: no --out).
- name: Judge the suite wrapper.unit.all (the exact count, with the judge and the list of main)
if: always() && matrix.python == '3.11'
shell: bash
env:
SUITE_OS: ${{ startsWith(matrix.os, 'windows') && 'windows' || 'linux' }}
run: |
mkdir -p "$RUNNER_TEMP/main"
git show origin/main:scripts/ci_verdict.py > "$RUNNER_TEMP/main/ci_verdict.py"
git show origin/main:ci/required-suites.json > "$RUNNER_TEMP/main/required-suites.json"
if git cat-file -e origin/main:ci/retired-tests.json; then git show origin/main:ci/retired-tests.json > "$RUNNER_TEMP/main/retired-tests.json"; fi
python "$RUNNER_TEMP/main/ci_verdict.py" judge --required ci/required-suites.json --suite "wrapper.unit.all.$SUITE_OS" --os "$SUITE_OS" --junit "$RUNNER_TEMP/unit-junit.xml" --binary "$(python -c 'import sys; print(sys.executable)')" --main-required "$RUNNER_TEMP/main/required-suites.json"
# ONE SINGLE CONTEXT FOR BRANCH PROTECTION. Measured 2026-08-13: this
# repo's protection required `pytest (windows-latest, py3.11)`, which the
# matrix explicitly EXCLUDES a few lines up - a context no job can ever
# produce, so a protection that could never be satisfied. With
# `enforce_admins` set to false every push went through anyway and nobody
# noticed. Same shape in the core and in the manager.
#
# A list of matrix names drifts every time the matrix changes, and that is
# exactly how it got here. This job depends on the whole matrix and its
# name never changes.
#
# SKIPPED IS NOT FAILED, and that is the part specific to this repo. `unit`
# is skipped on purpose when `core-on-index` says the pin is not yet on the
# index: during that window no install can succeed, and the workflow chose
# to SKIP instead of faking green. A gate that required `success` would
# turn that choice into a red and push toward dropping the protection on
# release day of all days. So it refuses on `failure` and `cancelled`,
# never on `skipped`.
# The guides are the surface a stranger copies first, and until 2026-09-08
# nothing read them: one page published `page.accessibility.snapshot()`, which
# this fork does not have, so anybody who ran that block got an AttributeError.
# A broken test is seen by whoever runs the suite; a broken guide is seen once,
# by a reader who then leaves.
#
# It needs the package importable, because it asks the REAL classes what they
# have rather than carrying a list that would drift from them - so it takes
# core-on-index's answer exactly as `unit` does, and is SKIPPED during the
# window rather than faked green.
docs-api:
name: the guides name an API that exists
needs: core-on-index
if: needs.core-on-index.outputs.available == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
cache: pip
- name: Install package
run: |
python -m pip install --upgrade pip
pip install -e .
- name: check the guides against the API
# --selftest first, for the same reason the English gate does it: this
# one goes blind from a single edit to the list of names it inspects.
run: |
python scripts/check_docs_api_surface.py --selftest
python scripts/check_docs_api_surface.py
# `gate` is the ONLY context main requires, so a check this job does not wait
# for is a check the branch protection cannot see. It waited for three of the
# five, and the two it left out are not minor ones: `english` is the gate
# written FOR this repository after 549 lines of Italian shipped here in one
# subsystem, and `version` is what stands between a forgotten bump and a
# release that publishes nothing and reports success. Either could go red
# while this job went green and the push landed on main regardless - which is
# the decorative protection this project has already met once, on the branch
# rules that required job names no job produced any more.
#
# `skipped` is not a failure and must not be treated as one: `version` runs on
# pull requests only and is skipped on every push to main, and `unit` and
# `docs-api` are skipped during the window when the pinned core is not on the
# index yet. The case arms name failure and cancelled, so a skip passes on
# purpose. That is also why each arm carries its own sentence: a gate that
# exits 1 without saying which of five inputs went red is a gate somebody has
# to open five tabs to read.
gate:
needs: [core-on-index, unit, docs-api, english, claims, version, way-in, install-job, noreply-identity]
if: always()
runs-on: ubuntu-latest
steps:
- name: refuse unless nothing failed
run: |
echo "core-on-index: ${{ needs.core-on-index.result }}"
echo "unit: ${{ needs.unit.result }}"
echo "docs-api: ${{ needs.docs-api.result }}"
echo "english: ${{ needs.english.result }}"
echo "claims: ${{ needs.claims.result }}"
echo "way-in: ${{ needs.way-in.result }}"
echo "version: ${{ needs.version.result }}"
echo "install-job: ${{ needs.install-job.result }}"
echo "noreply-identity: ${{ needs.noreply-identity.result }}"
case "${{ needs.unit.result }}" in
failure|cancelled) echo "the suite did not pass"; exit 1 ;;
esac
case "${{ needs.core-on-index.result }}" in
failure|cancelled) echo "the index check did not run"; exit 1 ;;
esac
case "${{ needs.docs-api.result }}" in
failure|cancelled) echo "the guides name something that does not exist"; exit 1 ;;
esac
case "${{ needs.english.result }}" in
failure|cancelled) echo "the repository is not English"; exit 1 ;;
esac
case "${{ needs.claims.result }}" in
failure|cancelled) echo "the README promises what no measurement supports"; exit 1 ;;
esac
case "${{ needs.way-in.result }}" in
failure|cancelled) echo "an install instruction is not uv"; exit 1 ;;
esac
case "${{ needs.version.result }}" in
failure|cancelled) echo "the version this change proposes is already taken"; exit 1 ;;
esac
case "${{ needs.install-job.result }}" in
failure|cancelled) echo "the user-install job would not run on a release, or leaks"; exit 1 ;;
esac
# Unlike the checks above this one must be `success`: it runs on every
# event this workflow has, so a skip would mean the check never ran.
if [ "${{ needs.noreply-identity.result }}" != "success" ]; then
echo "a commit or tag of this change has an email that is not a GitHub noreply address"; exit 1
fi
echo "ok"
# Measured 2026-09-04: 0.10.0 was on the index while main sat on 0.10.0 with
# FIFTEEN commits of different content on top of the tag - 39 files, 841
# insertions, the screenshot clip fix among them. A release from there would
# have published NOTHING and reported success, because publish.yml treats an
# already-present version as a deliberate no-op: right for a re-pushed tag,
# indistinguishable from somebody forgetting to bump. The fix could not have
# reached anybody, and nothing would have said so.
#
# Pull requests only: on main straight after a release the version IS the
# published one until somebody bumps, and a gate that is red at rest is one
# people learn to skip. Bumping publishes nothing - publishing happens on a
# tag push - so main on an unreleased version is the normal state between
# releases and the rule costs one line.
version:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
with:
# The gate diffs the tree against the tag of the published
# version; a shallow clone has no tags and cannot tell.
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with:
python-version: "3.12"
- name: the version this change proposes is still free
env:
IPW_CHECK_VERSION: "1"
run: |
python -m pip install --upgrade pip
pip install pytest
python -m pytest -q tests/test_version_is_not_taken.py
-282
View File
@@ -1,282 +0,0 @@
# ─────────────────────────────────────────────────────────────────────────────
# user-install.yml - can a person who has never seen this repo install it and
# drive a browser, on the two operating systems we claim to support?
#
# WHY THIS EXISTS, SEPARATELY FROM e2e.yml.
# e2e.yml installs the wrapper FROM THE CHECKOUT and then pins Playwright by
# hand. That is the right shape for testing a change: it exercises the code in
# the PR. It is the wrong shape for answering "does the published thing work",
# and the difference is not academic:
#
# * a checkout install never resolves `invisible-core==X.Y.Z` from the index,
# so the entire pin mechanism - the part most likely to break a release,
# and the reason a binary bump is now a three-package release - is outside
# what that job can see;
# * installing a blessed `playwright==<pin>` afterwards REPAIRS the venv. If
# the declared range resolves to a client the shipped Juggler cannot speak,
# that manual line turns the job green while every fresh install is broken.
# What a user gets is what the installer resolves from the declaration,
# and that is what has to be under test.
#
# So this workflow installs nothing from the checkout except the test files.
# test_release_e2e.py runs the README's install block for the runner's system
# as written - uv from its own installer, `uv init`, `uv add
# invisible-playwright` from the index, `fetch` - and then drives the browser
# from the project it made, the way somebody's first script would.
# test_upgrade_e2e.py stays on pip on purpose: it is the path of the people who
# installed before the README said uv, and they are still there.
#
# WHY IT MUST NOT BE MADE TOLERANT.
# There is a real window in which this cannot pass: between publishing the core
# and publishing the consumers. The tempting fixes - `|| true`, `--no-deps`, a
# git fallback - all produce a GREEN job that installed nothing, and that lie
# outlives the window by months. A red run during a publish is correct and
# readable. See core-on-index.yml, which makes the same argument at length.
#
# WHY BOTH OPERATING SYSTEMS.
# Windows is the primary target, and the two most recent defects were
# Windows-only by construction: firefox.exe is a launcher stub that spawns the
# real browser and exits, so a killed runner used to leave the tree behind, and
# the job-object fix for it has no counterpart on Linux. A Linux-only matrix
# would have seen neither.
# ─────────────────────────────────────────────────────────────────────────────
name: user-install
on:
workflow_dispatch:
inputs:
source:
description: "index (what users get) or git (an unpublished commit)"
required: false
default: index
type: choice
options: [index, git]
schedule:
# Weekly (Monday). The published artifacts do not change on their own, but
# everything around them does: pip resolves a new Playwright, GitHub moves a
# release asset, an index mirror lags. Those break users without any commit
# here, so a run triggered only by pushes would never see them. Weekly is
# enough to catch that drift without adding a Windows job to the queue daily.
- cron: "17 6 * * 1"
# ⛔ THE LEDGER PULL REQUEST, not `release: published` ([B347], core
# 50.48.0). The Release is created by the publish workflow with GITHUB_TOKEN,
# and an event that token causes starts no other workflow: on `release:` this
# job had never run at release time. The ledger PR exists only after the
# upload and `record`, and merging it waits for this run, so a release does
# not close before what it published installs. `python -m
# invisible_core.install_job` checks the wiring (tests.yml).
pull_request:
paths:
- PUBLISHED.json
permissions:
contents: read
# Only a new push to a ledger pull request cancels the run it supersedes. The
# weekly schedule and a manual run (both on main) never cancel each other.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
# The Ubuntu packages of the Linux leg, from Ubuntu's archive once per runner image and list (linux-deps.yml), never by the leg.
linux-deps-user-install:
name: linux-deps-user-install
uses: ./.github/workflows/linux-deps.yml
with:
name: user-install
packages: xvfb libgtk-3-0 libdbus-glib-1-2 libasound2t64
install:
needs: linux-deps-user-install
name: ${{ matrix.os }} - install from ${{ github.event.inputs.source || 'index' }} and launch
runs-on: ${{ matrix.os }}
# TEMP and TMP on D:\a\_temp (the runner's temp folder): the Firefox profiles land in TEMP and on C: they saturate the disk (queue up to 144,
# latencies up to 4 s, parent main thread still 40-60 s). On the job, not in a step: `runner.temp` is not readable in a job's `env`.
env:
TEMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
TMP: ${{ startsWith(matrix.os, 'windows') && 'D:\a\_temp' || '/tmp' }}
timeout-minutes: 45
strategy:
fail-fast: false # one OS failing must not hide the other's result
matrix:
os: [ubuntu-24.04, windows-latest]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 (v4.4.0)
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 (v5.6.0)
with: { python-version: '3.11' }
# Only what the TEST needs, from the wrapper's hashed lock (ci/py-lock/gate.txt), the one the other test jobs read: never a hand list, which is how
# `psutil` (imported by the OS-cursor helper of the tests since #609) was missing here and ledger #618 was red. The lock holds `uv` (the wait below asks it, and the
# release test installs the package with it) and holds neither invisible-playwright nor invisible-core: the package under test is installed by the
# test itself, into a venv it creates, from the index - installing it
# here as well would put a second copy on the path and the assertions
# would be reading the wrong one. The runner's own pip, nothing unhashed.
# A rule test of the unit suite (the install job has every module its tests import) holds every third-party module the tests import to that lock.
- name: Test harness only
run: python -m pip install --require-hashes -r ci/py-lock/gate.txt
# ⛔ THE VERSION OF A LEDGER PULL REQUEST IS THE ONE IT ADDS TO PUBLISHED.json, NOT THE ONE THE TREE DECLARES.
# The ledger PR of a release is merged after this job is green, and the next release's tree can already be on main: ledger #534 recorded
# 0.56.0 while the tree said 0.57.0, which is not published until that ledger is merged (its tag asks for it), so a wait on the version of
# pyproject.toml could never end and the PR could never merge. The versions are compared as data: the ledger at the base of the pull
# request against the ledger at its head. Nothing added is an error (there is no release to check), and so is more than one (the job
# installs and launches one version). INVPW_E2E_VERSION then carries it to the wait, the install and the launch below, in every step.
# A scheduled or dispatched run has no pull request and no such version: it installs the latest, as before.
- name: the version this ledger pull request records
if: github.event_name == 'pull_request'
shell: bash
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
set -euo pipefail
git fetch --no-tags --depth=1 origin "$BASE_SHA" "$HEAD_SHA"
git show "$BASE_SHA:PUBLISHED.json" > "$RUNNER_TEMP/ledger-base.json"
git show "$HEAD_SHA:PUBLISHED.json" > "$RUNNER_TEMP/ledger-head.json"
version="$(python scripts/ci_ledger_added_versions.py --base "$RUNNER_TEMP/ledger-base.json" --head "$RUNNER_TEMP/ledger-head.json" --tree-pyproject pyproject.toml)"
echo "INVPW_E2E_VERSION=$version" >> "$GITHUB_ENV"
echo "::notice::this ledger pull request records invisible-playwright $version"
# PyPI does not serve a new version to pip the instant twine finishes, and
# this workflow runs on the ledger pull request, which the publish run
# opens seconds after the upload (it ran on `release:`, just as soon).
# MEASURED 2026-07-28: invisible-firefox 0.2.6 was uploaded, the release was
# created about forty seconds later, and the pip install below still resolved
# 0.2.5. The job reported a forgotten publish that had happened two minutes
# earlier, which is the most expensive kind of red: it looks exactly like the
# real defect this workflow exists to catch.
# MEASURED AGAIN 2026-11-12 (0.50.1, ledger #476): the per-version JSON endpoint
# of PyPI answered at once, `pip index versions` listed 0.50.1, and the
# `pip install --upgrade` of the Linux job still resolved 0.49.1 (the Windows job,
# started later, was green). Those are three different pages of the index, and
# the job only needs the one pip installs from.
#
# So the question asked here is the INSTALLERS' own, both: the upgrade test installs with pip, the release test with uv (the README's
# way in), so each round asks `pip download invisible-playwright==X` AND `uv pip compile` of it (no cache, nothing installed), and the
# job goes on only after three rounds in a row in which both said yes, 15 s apart (one yes proves that one request saw the version, not
# that the next is served by the same node of the index); a no restarts the count and a call that does not answer in two minutes is
# a no. Bounded at ten minutes: a forgotten publish still fails, and it fails HERE, saying that the index does not have the
# version, instead of three steps later as a test that compares two versions.
#
# Only on the ledger pull request. A scheduled or dispatched run is not
# racing anything, and a wait there would hide a real absence behind ten
# minutes of polling.
- name: wait for the index to serve this version
if: github.event_name == 'pull_request'
shell: bash
run: |
python - <<'PY'
import os, subprocess, sys, tempfile, time, tomllib
dist = tomllib.load(open("pyproject.toml", "rb"))["project"]["name"]
# The version the ledger pull request records (the step above), never the tree's: main may already declare the next one.
version = os.environ["INVPW_E2E_VERSION"]
deadline = time.monotonic() + 600
deadline = min(deadline, time.monotonic() + float(os.environ.get("INDEX_WAIT_SECONDS", "600")))
poll = float(os.environ.get("INDEX_WAIT_POLL", "15"))
need = int(os.environ.get("INDEX_WAIT_CONFIRMATIONS", "3"))
call_limit = float(os.environ.get("INDEX_WAIT_CALL_SECONDS", "120"))
asks = [
("pip", [sys.executable, "-m", "pip", "download", "--no-deps", "--no-cache-dir", "--disable-pip-version-check", "--quiet",
"-d", tempfile.mkdtemp(), f"{dist}=={version}"], None),
("uv", [sys.executable, "-m", "uv", "pip", "compile", "-", "--no-deps", "--no-cache", "--quiet"], f"{dist}=={version}\n"),
]
def round_says():
"""An empty string when every installer resolves the version, else what the first that did not said."""
for tool, command, stdin in asks:
try:
r = subprocess.run(command, input=stdin, capture_output=True, text=True, timeout=call_limit)
except subprocess.TimeoutExpired:
return f"{tool} did not answer within {call_limit:.0f} s"
if r.returncode != 0:
return f"{tool} said: " + ((r.stderr.strip().splitlines() or [""])[-1])
return ""
n = streak = 0
said = ""
while True:
n += 1
said = round_says()
streak = 0 if said else streak + 1
if streak >= need:
print(f"::notice::pip and uv resolve {dist} {version} from the index, {need} rounds in a row (attempt {n})")
sys.exit(0)
if time.monotonic() >= deadline:
minutes = int(float(os.environ.get("INDEX_WAIT_SECONDS", "600")) // 60) or 1
print(f"::error::the index does not have {dist} {version} yet, after {minutes} minutes "
f"and {n} attempts, {streak} of {need} rounds in a row ({said})")
sys.exit(1)
time.sleep(poll)
PY
- name: The Linux packages (the run's linux-deps-user-install job, no mirror)
if: runner.os == 'Linux'
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: ${{ needs.linux-deps-user-install.outputs.artifact }}
path: /tmp/linux-deps
- name: Linux runtime libraries for the browser (the repository of the linux-deps-user-install job)
if: runner.os == 'Linux'
run: |
set -euo pipefail
# The run's linux-deps repository and nothing else: apt reads only its sources list and lists folder, the files are already in apt's archives,
# and the roots are installed by name with --no-download: a package the repository does not hold is named here and red, never fetched.
read -r OS VER < /tmp/linux-deps/image.txt
echo "the repository was read on $OS $VER; this runner is $ImageOS $ImageVersion"
sudo mkdir -p /tmp/linux-deps-apt/lists/partial /tmp/linux-deps-apt/parts
echo "deb [trusted=yes] file:/tmp/linux-deps ./" | sudo tee /tmp/linux-deps-apt/sources.list >/dev/null
APT="-o Dir::Etc::SourceList=/tmp/linux-deps-apt/sources.list -o Dir::Etc::SourceParts=/tmp/linux-deps-apt/parts -o Dir::State::Lists=/tmp/linux-deps-apt/lists -o Acquire::Languages=none"
sudo apt-get $APT update
sudo cp /tmp/linux-deps/*.deb /var/cache/apt/archives/
sudo apt-get $APT install -y --no-download --no-install-recommends $(cat /tmp/linux-deps/roots.txt)
- name: The user path, end to end
env:
# The release walk asks the GitHub API once per published version.
# Unauthenticated that is 60 calls an hour PER RUNNER IP, and the
# walk hit 403 on its eleventh call when measured by hand. A
# rate-limited walk SKIPS, and a skip is not a check.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
INVPW_E2E_SOURCE: ${{ github.event.inputs.source || 'index' }}
# INVPW_E2E_VERSION (set above on a ledger pull request, absent otherwise) is read by both tests: the release test adds exactly that
# version, the upgrade test goes from the one before it to it.
shell: bash
run: |
set -o pipefail # or the tee below would swallow pytest's exit code
if [ "${{ runner.os }}" = "Linux" ]; then
xvfb-run -a python -m pytest tests/test_release_e2e.py tests/test_upgrade_e2e.py -m e2e \
-o addopts="" -v -rs | tee e2e-report.txt
else
python -m pytest tests/test_release_e2e.py tests/test_upgrade_e2e.py -m e2e \
-o addopts="" -v -rs | tee e2e-report.txt
fi
# A run whose tests all SKIPPED is not a pass, and it is the failure this
# suite is most exposed to: every test here is gated on `-m e2e` and
# several on a platform. `-rs` above prints the skips; this turns "nothing
# ran" into a refusal rather than a green tick.
- name: Refuse a run in which nothing actually ran
shell: bash
run: |
python - <<'PY'
import pathlib, re, sys
# pytest's own exit code cannot distinguish "all passed" from "all
# skipped", so the count is read back from the report it wrote.
report = pathlib.Path("e2e-report.txt")
if not report.is_file():
print("no report written; the step above did not run", file=sys.stderr)
sys.exit(1)
text = report.read_text(encoding="utf-8", errors="ignore")
m = re.search(r"(\d+) passed", text)
passed = int(m.group(1)) if m else 0
if passed < 6:
print(f"only {passed} test(s) actually ran (expected at least 6) - a suite that skipped "
f"itself is not a pass", file=sys.stderr)
sys.exit(1)
print(f"{passed} tests ran")
PY
-8
View File
@@ -6,11 +6,3 @@ build/
.pytest_cache/
.venv/
firefox-source/
# Third-party source trees kept on disk for on-demand compatibility audits.
# They are somebody else's code, with their own licence and their own .git, and
# they must never be committed into this repository: `git add -A` would either
# stage 3.9 MB of Apache-2.0 sources into an MIT repo or, worse, record a bare
# gitlink that nobody can clone. The sdist/wheel excludes only protect the
# published artifacts, not the repo, so the ignore has to live here too.
tests/playwright-upstream/
-3302
View File
File diff suppressed because it is too large. Load diff
-33
View File
@@ -1,33 +0,0 @@
# Code of Conduct
This project follows the [Contributor Covenant, v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
## Our Pledge
We pledge to make participation in our community a harassment-free experience for everyone.
## Standards
Examples of behavior that contributes to a positive environment:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
Examples of unacceptable behavior:
- The use of sexualized language or imagery
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information without explicit permission
## Enforcement
Instances of unacceptable behavior may be reported by contacting the maintainer at **federico.elia.majo@gmail.com**. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
The maintainer is obligated to maintain confidentiality with regard to the reporter of an incident.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
-82
View File
@@ -1,82 +0,0 @@
# Contributing to invisible_playwright
Thanks for your interest in improving this project. Contributions are welcome via issues and pull requests.
## Quick links
- **Bug or idea?** Open an [issue](https://github.com/oss-invisible/playwright/issues/new/choose).
- **Security issue?** Do **not** open a public issue - see [SECURITY.md](SECURITY.md).
- **The C++ patches** live in the companion repo [oss-invisible/firefox_antidetect_patch](https://github.com/oss-invisible/firefox_antidetect_patch) (branch `stealth/151`). Bugs in fingerprint spoofing usually belong there.
## Scope
This repository ships the **Python wrapper** (`invisible_playwright`) around a pre-built patched Firefox. In scope:
- The `InvisiblePlaywright` sync and async API, and its Playwright compatibility layer
- The CLI (`invisible-playwright fetch`, `invisible-playwright version`)
- Tests, docs, examples, packaging
The fingerprint, the engine download and the browser protocol client are shared by every wrapper and live in [invisible_core](https://github.com/oss-invisible/core).
Out of scope (belongs in `firefox_antidetect_patch`):
- Changes to the Firefox C++ source
- New preferences exposed by the patched binary
- Canvas / WebGL / WebRTC / font spoofing logic
## Development setup
To *use* the package you do not need any of this: see [Install](README.md#install) in the README.
The steps below are for working on the code, with [uv](https://docs.astral.sh/uv/).
```bash
git clone https://github.com/oss-invisible/playwright.git
cd playwright
uv venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"
invisible-playwright fetch # download the patched Firefox binary
```
One of: Windows x86_64, Linux x86_64.
## Running tests
```bash
pytest # unit + integration (default - fast)
pytest -m e2e # end-to-end, requires the patched binary
pytest -m slow # wheel-build regression tests
```
Markers are defined in `pyproject.toml`. The default run excludes `slow` and `e2e`.
## Pull requests
1. Fork and create a topic branch (`fix/...`, `feat/...`, `docs/...`).
2. Keep PRs focused - one logical change per PR.
3. Add or update tests for any behavior change.
4. Make sure the default `pytest` run is green.
5. Follow [Conventional Commits](https://www.conventionalcommits.org/) for commit messages (e.g. `fix(launcher): handle missing profile dir`).
6. Update `README.md` or `docs/` when changing user-visible behavior.
7. Open the PR against `main`, fill in the PR template, and link any related issue.
CI must be green before merge.
## Reporting bugs
Before opening, please:
- Search [existing issues](https://github.com/oss-invisible/playwright/issues) - the bug may already be tracked.
- Reproduce on the **latest release** if possible.
- Confirm the issue is in the Python wrapper, not the patched Firefox itself. If a fingerprint is leaking or a detector flags the browser, open the issue at `oss-invisible/firefox_antidetect_patch` instead.
Include:
- OS and version, Python version, the output of `invisible-playwright version`
- A minimal reproduction
- Expected vs actual behavior
- Relevant logs / stack traces
## License
By contributing, you agree that your contributions will be licensed under the MIT License (see [LICENSE](LICENSE)).
-46684
View File
File diff suppressed because it is too large. Load diff
+143 -304
View File
@@ -1,93 +1,24 @@
<div align="center">
<picture>
<source media="(max-width: 374px) and (prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-small-dark.gif">
<source media="(max-width: 374px)" srcset="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-small-light.gif">
<source media="(max-width: 1239px) and (prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-phone-dark.gif">
<source media="(max-width: 1239px)" srcset="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-phone-light.gif">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-dark.gif">
<img alt="invisible_playwright, Playwright on an anti-detect Firefox. An animation: the two-line switch from Playwright, the fingerprint set inside the engine, a mouse that moves like a hand, and the bot tests it passes." src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/banner-light.gif" width="100%">
</picture>
<p align="center">
<a href="https://github.com/oss-invisible/playwright/blob/badges/counters/launches_daily.csv"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Foss-invisible%2Fplaywright%2Fbadges%2Fdocs%2Fbadges%2Flaunches.json&style=for-the-badge" alt="browser launches"></a>
<a href="https://github.com/oss-invisible/firefox_antidetect_patch/releases"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Foss-invisible%2Fplaywright%2Fbadges%2Fdocs%2Fbadges%2Fdownloads.json&style=for-the-badge" alt="engine downloads"></a>
<a href="https://github.com/oss-invisible/playwright/stargazers"><img src="https://img.shields.io/github/stars/oss-invisible/playwright?style=for-the-badge&logo=github&color=e8a317" alt="GitHub stars"></a>
</p>
<h3 align="center">Playwright gets caught by anti-bots and captchas.<br>
This one runs on an anti-detect Firefox with an undetected fingerprint, compatible with your existing Playwright code.</h3>
</div>
# stealthfox
<p align="center">
<a href="https://decodo.com/deals/residential-offer?utm_medium=affiliate&utm_source=Federico+Elia&promoter_id=15854270&fpr=7859773"><img alt="Decodo residential proxies, free trial (sponsored)" src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/decodo-residential-proxies-trial.png" width="560"></a><br>
<sub>Sponsored</sub>
</p>
A patched Firefox that passes the hardest browser-fingerprint detectors in the wild.
![invisible_playwright - 5/5 detection suites passed](https://raw.githubusercontent.com/oss-invisible/playwright/7a8693c6b4386e9a84dd93bedc479ca8654482e1/docs/screenshots/hero.gif)
## How it works
Anti-bots ask two questions, and reCAPTCHA, hCaptcha and Cloudflare Turnstile score the answers. invisible_playwright answers yes to both.
**1. Is this a real browser?** Yes. It is Firefox, patched at the C++ source level.
- The browser fingerprint is set inside the engine, not injected into the page: navigator, screen, GPU/WebGL, canvas, fonts, audio, WebRTC, timezone, network. Headless or headed, the same values either way.
- No JS shim, no override, no seam to read.
**2. Is a real person using it?** Yes. The actions are humanized in the driver.
- Every click, hover and drag follows a natural mouse path with human timing, no teleporting cursor.
- Each input is byte-identical to a real mouse: real input source, pressure, trusted events.
---
## Install
Windows, in PowerShell:
```powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
$env:Path = "$env:USERPROFILE\.local\bin;$env:Path"
uv init --python ">=3.11" my-project
cd my-project
uv add invisible-playwright
uv run invisible-playwright fetch # one-time download, sha256-verified: 240 MB, about 550 MB unpacked
```
Linux:
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
source $HOME/.local/bin/env
uv init --python ">=3.11" my-project
cd my-project
uv add invisible-playwright
uv run invisible-playwright fetch # one-time download, sha256-verified: 262 MB, about 550 MB unpacked
```
Supported platforms: **Windows x86_64**, **Linux x86_64**. Linux arm64 is no longer supported from firefox-56 (firefox-55 is the last engine built for it).
Then save one of the examples below as `main.py` in `my-project` and run it with `uv run main.py`.
---
## Usage
### Random fingerprint per session
**Playwright's API, sync and async, with no code changes.** The same objects, the same calls, the same return values. A few surfaces are out of scope - tracing, HAR, CDP, the API request context - and each one refuses with a sentence saying why rather than misbehaving quietly. If you already use Playwright, switching is two lines:
**100% Playwright-compatible** — sync and async, all methods, zero API changes. If you already use Playwright, switching is two lines:
```diff
- from playwright.sync_api import sync_playwright
- with sync_playwright() as p:
- browser = p.firefox.launch()
+ from invisible_playwright import InvisiblePlaywright
+ with InvisiblePlaywright() as browser:
+ from stealthfox import Stealthfox
+ with Stealthfox() as browser:
```
Every session gets a distinct fingerprint (GPU, audio, fonts, screen, ~200 fields) and Bezier-curve mouse motion.
Every session gets a unique, coherent fingerprint drawn from real-world Firefox telemetry (GPU / audio / fonts / TCP options / ~400 other fields), SOCKS5 proxy auth that actually works, and Bezier-curve mouse motion baked into the browser itself.
**Sync**
```python
from invisible_playwright import InvisiblePlaywright
from stealthfox import Stealthfox
with InvisiblePlaywright(proxy={"server": "socks5://...", "username": "u", "password": "p"}) as browser:
with Stealthfox(proxy={"server": "socks5://...", "username": "u", "password": "p"}) as browser:
page = browser.new_page()
page.goto("https://example.com")
page.click("#submit") # mouse arcs to the button on a Bezier curve
@@ -95,20 +26,131 @@ with InvisiblePlaywright(proxy={"server": "socks5://...", "username": "u", "pass
**Async**
```python
from invisible_playwright.async_api import InvisiblePlaywright
from stealthfox.async_api import Stealthfox
async with InvisiblePlaywright(proxy={"server": "socks5://...", "username": "u", "password": "p"}) as browser:
async with Stealthfox(proxy={"server": "socks5://...", "username": "u", "password": "p"}) as browser:
page = await browser.new_page()
await page.goto("https://example.com")
await page.click("#submit")
```
The `browser` object is a `playwright.sync_api.Browser` / `playwright.async_api.Browser` - every Playwright method works as-is.
The `browser` object is a `playwright.sync_api.Browser` / `playwright.async_api.Browser` — every Playwright method works as-is.
Log the seed to replay a run:
---
## Results
These are the "best" outcomes observed across independent runs on residential proxies.
### Google reCAPTCHA v3 — **0.90 / 1.0**
Top-tier score. Google classifies the session as "very likely a human". Most anti-detect stacks plateau around 0.3–0.7.
![reCAPTCHA score 0.90](docs/screenshots/recaptcha_score.png)
### Fingerprint Pro — **bot: not detected, VPN: false, tampering: false, dev tools: not detected**
FingerprintJS Pro's full Smart Signals battery flips every flag to "Not detected". Browser correctly identified as Firefox 150 on Windows 10. Confidence score 0.9.
![FingerprintPro not detected](docs/screenshots/fingerprintpro.png)
### CreepJS — **0 lies**, fingerprint is internally coherent
No contradictions between headless hints, spoofed values, and real rendering output. That "0 lies" is what kills most anti-detect browsers: one inconsistency (e.g. Chrome UA + Firefox WebGL) and the trust score collapses.
![CreepJS 0 lies](docs/screenshots/creepjs.png)
### BrowserLeaks WebRTC — **no public IP leak**
WebRTC srflx address is the proxy egress IP; host candidates are private LAN. The real public IP never leaks via STUN, even on pages that configure their own ICE servers. Stock Firefox leaks the real local IP via WebRTC mDNS — stealthfox doesn't.
![WebRTC no leaks](docs/screenshots/webrtc.png)
### bot.sannysoft.com — **all checks pass**
Every row green: WebDriver not present, Chrome-only properties absent, plugin/mime/languages arrays coherent, permissions API correct, iframe/source window checks pass.
![Sannysoft all green](docs/screenshots/sannysoft.png)
---
## Why it's powerful
**Most anti-detect browsers patch Chromium at the JavaScript level** — they override `navigator`, `WebGLRenderingContext.getParameter`, canvas APIs, and so on via injected scripts. This has two fatal problems:
1. **JS patches are detectable.** Anti-bots enumerate native function `.toString()`, check descriptor configurability, compare property enumeration order, watch for prototype mutations. Every patch leaves a fingerprint of its own. CreepJS has an entire battery of "lies detectors" built around this.
2. **Chromium itself is now suspect.** Residential-proxy bot traffic is overwhelmingly Chromium-based, so detectors weight anything Chromium-shaped as risky by default. And the parts that matter (TLS stack, renderer process) are not fully open-source in Chrome proper — forks either inherit all Chromium tells or drift in visible ways.
**stealthfox patches Firefox at the C++ level.** The browser is fully open source, which means every layer — JS engine, graphics pipeline, networking stack, font engine, audio context — is reachable and modifiable at the source. Our patches go straight into the files that implement the corresponding Web APIs (`dom/base/Navigator.cpp`, `dom/canvas/ClientWebGLContext.cpp`, `dom/media/webaudio/AudioContext.cpp`, ...). The spoofed values come back out through the normal Gecko paths — there is no JS shim, no override, no `Object.defineProperty`. **From the page's point of view, the browser is just telling the truth.** Anti-bot lie-detectors have nothing to latch onto.
This is why we also get to spoof layers that **JS patches structurally cannot reach** — the TCP SYN options, the TLS ClientHello, the font-enumeration call the renderer makes before any JS runs. Detectors look there precisely because JS-level cloaking can't hide it.
stealthfox spoofs **all the layers that matter, together, coherently**:
| Layer | What we do | Why it matters |
|-------|-----------|-----------------|
| TCP options | Windows-style SYN (order MNWNNS, wscale 8, no timestamp, TTL 128) | Server-side fingerprinting (Cloudflare, Akamai) looks here first |
| TLS | Real Firefox JA3/JA4 | Kills every "Chrome impersonator" detector |
| Navigator / screen / hardware | ~400 prefs translated from a Bayesian sample | Coherent combinations, not one-off spoofs |
| GPU / WebGL | Windows ANGLE values, real vendor strings, MSAA counts | Hardest layer to fake correctly |
| Canvas & fonts | Pixel-level substitution, system font list match | Canvas hashing + font enumeration are both solved |
| Audio context | Sample rate, latency, channel count spoofed per-profile | AudioContext fingerprints bucket users tightly |
| WebRTC | `proxy_only`, `relay_only`, mDNS obfuscation | Real IP never leaks via STUN |
| SOCKS5 auth | Custom patch in `nsProtocolProxyService.cpp` | Stock Playwright+Firefox can't negotiate it at all |
| Mouse motion | Bezier curves inside the Juggler, ~10 ms per waypoint | Even `page.click(selector)` moves like a human |
| DNS | Routed through SOCKS proxy by default | No DNS leak when using a residential gateway |
Everything is driven by preferences — no hardcoded values in the binary. You change one pref, you change the spoofed value.
---
## How it compares
Commercial anti-detect browsers (Multilogin, GoLogin, AdsPower, Kameleo, Dolphin Anty, Browserbase) ship a patched Chromium and override fingerprints at the JavaScript layer. That's the ceiling — and it's a low one.
| | stealthfox | Multilogin / GoLogin | AdsPower / Dolphin | Browserbase |
|---|---|---|---|---|
| Engine | Firefox (open source) | Chromium fork | Chromium fork | Chromium |
| Patch depth | C++ source | JS overrides | JS overrides | JS overrides |
| `.toString()` clean | ✅ Native Gecko path | ❌ Detectable shims | ❌ Detectable shims | ❌ Detectable shims |
| Canvas / WebGL | ✅ C++ level | ⚠️ JS override | ⚠️ JS override | ⚠️ JS override |
| SOCKS5 auth | ✅ Patched | ⚠️ Varies | ⚠️ Varies | ❌ |
| Self-hosted | ✅ | ❌ SaaS | ❌ SaaS | ❌ Cloud |
| reCAPTCHA v3 score | **0.90** | ~0.3–0.6 | ~0.3–0.5 | ~0.3–0.5 |
| FP Pro — bot detected | ✅ Not detected | ❌ Detected | ❌ Detected | ❌ Detected |
| FP Pro — tampering | ✅ Not detected | ❌ Detected | ❌ Detected | ❌ Detected |
| FP Pro — VPN flag | ✅ false | ❌ true | ❌ true | ❌ true |
| CreepJS lies | ✅ 0 | ❌ multiple | ❌ multiple | ❌ multiple |
---
## Install
```bash
pip install stealthfox
python -m stealthfox fetch # one-time ~100 MB download, SHA256-verified
```
Supported platforms: **Windows x86_64**, **Linux x86_64**.
---
## Usage
### Random fingerprint per session
```python
sf = InvisiblePlaywright()
from stealthfox import Stealthfox
with Stealthfox() as browser:
page = browser.new_page()
page.goto("https://creepjs-api.web.app")
```
Every call samples a new coherent profile. Log the seed to reproduce interesting runs:
```python
sf = Stealthfox()
with sf as browser:
print("seed =", sf.seed)
# ...
@@ -117,7 +159,7 @@ with sf as browser:
### Reproducible fingerprint
```python
with InvisiblePlaywright(seed=42) as browser:
with Stealthfox(seed=42) as browser:
... # same GPU, same canvas hash, same audio context, every run
```
@@ -129,81 +171,22 @@ proxy = {
"username": "user",
"password": "pass",
}
with InvisiblePlaywright(proxy=proxy) as browser:
with Stealthfox(proxy=proxy) as browser:
...
```
Schemes supported: `socks5`, `socks4`, `http`, `https`. DNS is routed through the proxy by default, no local leak.
### Serving one browser to many clients
`launch_server()` serves one browser on a WebSocket to any Playwright client. Install the
extra that carries the WebSocket library with `uv add "invisible-playwright[remote]"`.
```python
# server.py
from invisible_playwright import launch_server
with launch_server(seed=42, headless=True) as server:
print(server.ws_endpoint) # ws://127.0.0.1:<port>/<secret>
input("serving, press Enter to stop")
```
```python
# client.py: any Playwright client; this one is Playwright for Python (uv add playwright)
import sys
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.firefox.connect(sys.argv[1]) # the address the server printed
page = browser.new_page()
page.goto("https://example.com")
print(page.title())
browser.close() # ends this client; the server's browser keeps running
```
The server listens on `127.0.0.1` with a random secret path; `host=`, `port=` and `path=` choose
another address. A client in another language (Node, Java, .NET, Go) connects to the same
address with the `connect` call of its own Playwright. The browser belongs to the server and
ends with `server.close()` (or with the `with` block).
On Linux, set `MALLOC_ARENA_MAX=2` in the environment of the process that runs it (glibc keeps a memory
arena per thread otherwise); the server already hands freed memory back with `malloc_trim`
(`INVPW_MALLOC_TRIM=0` turns that off).
The server keeps its protocol objects in a registry and, like Playwright's own server,
collects the oldest ones when a type grows past a limit (`__dispose__` with reason `gc`).
Its limits are Playwright's, except `Request`, `Response` and `Route`, which are 2000
instead of 10000, and nothing younger than 10 seconds is ever collected. A client that
keeps more than 2000 requests or responses in hand for longer than that gets "Target
closed" on the oldest ones; one that uses them inside its callback is not affected. Set
`INVPW_GC_LIMITS="Request=10000,Response=10000,Route=10000"` to get Playwright's numbers.
### Timezone
The browser timezone follows `timezone=`:
```python
# default: timezone is auto-derived from the egress IP (proxy egress if a
# proxy is set, otherwise the host's own public IP)
with InvisiblePlaywright(proxy=proxy) as browser:
...
# explicit IANA zone always wins, the only way to force a specific zone
with InvisiblePlaywright(proxy=proxy, timezone="America/New_York") as browser:
...
```
Schemes supported: `socks5`, `socks4`, `http`, `https`. Auth works on all of them (SOCKS5 via patched `nsProtocolProxyService.cpp`, HTTP/HTTPS via Playwright). DNS is routed through the proxy by default, no local leak.
### Pinning specific fingerprint fields
By default everything comes from `seed`. To force specific values while the rest stays seed-derived:
```python
with InvisiblePlaywright(
with Stealthfox(
seed=42,
pin={
"gpu.renderer": "ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)",
"gpu.vendor": "Google Inc. (AMD)",
"gpu.renderer": "ANGLE (NVIDIA, NVIDIA GeForce RTX 4090 Direct3D11)",
"gpu.vendor": "Google Inc. (NVIDIA)",
"screen.width": 2560,
"screen.height": 1440,
"hardware.concurrency": 16,
@@ -212,174 +195,30 @@ with InvisiblePlaywright(
...
```
A GPU pin picks one of the validated personas rather than setting a free string,
because the ~81 `getParameter` values and the extension list travel with the
renderer name and a detector cross-checks them against it. A name the pool does
not carry raises, and the error lists the ones it does.
Full list of pinnable keys, how pinning interacts with the Bayesian sampler, and common patterns are in **[docs/pinning.md](docs/pinning.md)**.
### Disabling human-like motion (advanced)
### Launch counter
Mouse movement is human-like by default (Bezier trajectory, ~10 ms per waypoint, Gaussian jitter, ease-out). For raw automation speed — tests that don't touch anti-bot systems — pass `humanize=False`:
The engine counts launches with an anonymous GET to the `usage-counter` release of the engine's repository (`oss-invisible/firefox_antidetect_patch`) on GitHub. This package's launcher and server refuse the two prefs that govern it, `invisible_firefox.usage_ping.enabled` and `invisible_firefox.usage_ping.url`, in `extra_prefs`.
```python
with Stealthfox(humanize=False) as browser:
... # page.mouse.move teleports, page.click is instant
```
Or shorten the cap: `humanize=0.3` → max 0.3 s per movement instead of 1.5 s.
---
## CLI
The installed command is `invisible-playwright`, with a hyphen. `python -m
invisible_playwright` works identically and needs nothing on PATH.
```bash
invisible-playwright fetch # download the engine if missing, check every cached
# one against the seal, print the path
invisible-playwright version # wrapper, core and engine versions, and where the
# engine is cached
stealthfox fetch # download the binary if missing
stealthfox path # print the absolute path to the cached binary
stealthfox version # wrapper and binary versions
stealthfox clear-cache # remove all cached binaries
```
## Documentation, guides and comparisons
**If you would rather prompt than script.** This page is the engine, as a Python
library. Two ways to use it without writing code, both one line: from an MCP client
you already have (Claude Code, Claude Desktop, Cursor),
`claude mcp add stealth -- uvx invisible-playwright-mcp`, see
[the MCP server page](https://github.com/oss-invisible/playwright_mcp/wiki/mcp-server); or with an
interface and a model included, needing only an OpenRouter key,
`uvx invisible-playwright-mcp ui --openrouter-key sk-or-...`, see
[invisible_playwright_mcp](https://github.com/oss-invisible/playwright_mcp). Same engine underneath, and the second
is a client of the first.
All of it reads better, and is searchable, in
**[the wiki](https://github.com/oss-invisible/playwright/wiki)**,
organised into four sections instead of one flat list:
- **[Documentation](docs/documentation.md)** -
installation, the two-line switch from plain Playwright, proxy/timezone
configuration, pinning specific fields, the CLI.
- **[Guides](docs/guides.md)** - how
detection actually works, in seven groups: browser identity, canvas/WebGL/fonts/
audio, network and WebRTC, the automation layer, AI agents, the detectors themselves
explained from source, and testing.
- **[Comparisons](docs/comparisons.md)** -
against Patchright, nodriver and playwright-stealth, and the case for
Firefox over Chromium generally.
- **[Integrations](docs/integrations/)** -
Scrapy, Crawlee, Robot Framework, CodeceptJS, test runners, Playwright MCP, and the
frameworks it does not fit, by name.
If you don't know where to start: [Three ways to make Playwright undetected](docs/playwright-stealth-levels.md)
is the map most other pages link back to, [Playwright detected as a bot on one site](docs/playwright-detected-as-bot.md)
is the troubleshooting order, and [navigator.webdriver is not the tell you think it is](docs/navigator-webdriver-explained.md)
explains the most famous property in this space and why patching it alone buys you
almost nothing.
The detectors section now covers the commercial anti-bot products by name, each
read from its own documentation or from confirmed reverse engineering:
[Cloudflare Bot Management](docs/cloudflare-bot-management-explained.md) and
[Turnstile](docs/cloudflare-turnstile-explained.md),
[DataDome](docs/datadome-explained.md), [Kasada](docs/kasada-explained.md),
[Akamai Bot Manager](docs/akamai-bot-manager-explained.md),
[PerimeterX](docs/perimeterx-explained.md), [hCaptcha](docs/hcaptcha-explained.md),
[Imperva](docs/imperva-incapsula-explained.md), and
[the rest of the set](docs/guides-detectors-explained.md).
## Related projects
**The other pieces of this one.** The engine is the middle of three, and the
two around it are how most people reach it:
- **[invisible_core](https://github.com/oss-invisible/core)** - seed to
fingerprint to preferences, plus proxy and geolocation. This package pins it.
- **[invisible_playwright_mcp](https://github.com/oss-invisible/playwright_mcp)** - this engine as an MCP
server (`uvx invisible-playwright-mcp`, for any client that brings its own
model) and, in the same package, an interface with a model included, from
one command. The interface is a client of the server, with no private path
to the browser.
**The open-source neighbours.** Which one fits depends on the layer your problem is
at, and on whether you need Firefox or Chromium:
[three ways to make Playwright undetected](docs/playwright-stealth-levels.md) works
through what each layer can reach, and [AI browser agents and stealth](docs/ai-browser-agents-stealth.md)
covers the frameworks that pick Chromium over CDP for you.
**On the Firefox side**
- **Other patched Firefox builds** - some patch C++ too, with a wider surface and a fingerprint database instead of one derived from a seed. [How the stealth levels differ](docs/playwright-stealth-levels.md).
- **[LibreWolf](https://librewolf.net)** - a privacy-defaults Firefox to browse with, not to automate.
- **[arkenfox/user.js](https://github.com/arkenfox/user.js)** - hardening through preferences. Where a preference is enough, use it.
**On the Chromium side**
- **[Patchright](https://github.com/Kaliiiiiiiiii-Vinyzu/patchright)** - a patched Playwright fork: the work lands in the driver, not the binary. [Comparison](docs/vs-patchright.md).
- **[nodriver](https://github.com/ultrafunkamsterdam/nodriver)** - successor to `undetected-chromedriver`, driving Chrome over CDP. [Comparison](docs/vs-nodriver.md).
- **[rebrowser-patches](https://github.com/rebrowser/rebrowser-patches)** - fixes the `Runtime.enable` CDP leak. [Comparison](docs/vs-rebrowser-patches.md).
- **[fingerprint-suite](https://github.com/apify/fingerprint-suite)** - a Bayesian fingerprint generator, then injected into the page. [Comparison](docs/vs-fingerprint-suite.md).
- **[playwright-with-fingerprints](https://github.com/bablosoft/playwright-with-fingerprints)** - values from a paid remote service, Windows-only. [Comparison](docs/vs-playwright-with-fingerprints.md).
- **[playwright-stealth](https://github.com/Mattwmaster58/playwright_stealth)** - an init-script patch; its maintainer calls it a proof-of-concept. [Comparison](docs/vs-playwright-stealth.md).
- **[puppeteer-extra-plugin-stealth](https://github.com/berstend/puppeteer-extra)** - the original of that lineage, last substantive commit mid-2024. [What that means](docs/puppeteer-extra-stealth-unmaintained.md).
- **[selenium-stealth](https://github.com/diprajpatra/selenium-stealth)** - the same approach on Selenium, last commit December 2021. [What that means](docs/selenium-stealth-unmaintained.md).
- **[pyppeteer](https://github.com/pyppeteer/pyppeteer)** - unmaintained by its own README, which points to `playwright-python`. [What that recommendation is about](docs/pyppeteer-unmaintained-playwright.md).
---
## What is patched in the engine
Two rules hold across everything below. Every value is decided **before a page can
ask**, inside the browser, so there is no JavaScript shim to find. And every value
comes from **one profile**, so no two surfaces contradict each other, which is how a
spoofed browser is usually caught. Source:
[oss-invisible/firefox_antidetect_patch](https://github.com/oss-invisible/firefox_antidetect_patch).
**Identity**
- `navigator`, the user agent and the client hints are derived together, so they cannot disagree: [does Playwright set navigator.webdriver](docs/does-playwright-set-navigator-webdriver.md), [client hints and Sec-Fetch](docs/client-hints-sec-fetch.md).
- `navigator.languages` and the `Accept-Language` header are the same declaration, sent and read: [Accept-Language and navigator.languages](docs/accept-language-navigator-languages.md).
- Screen geometry, `devicePixelRatio` and the media queries exposing it are declared, not read from the host: [devicePixelRatio and the Firefox pref](docs/devicepixelratio-firefox-pref.md), [CSS media query fingerprinting](docs/css-media-query-fingerprinting.md).
**Rendering**
- Canvas readback is deterministic per seed and keeps the real shape, rather than blocked or noised: [canvas fingerprint noise](docs/canvas-fingerprint-noise.md), [why a canvas fingerprint changes every run](docs/canvas-fingerprint-changes-every-run.md).
- WebGL reports a coherent GPU persona: vendor, renderer and the parameter limits are cross-checked, not set one at a time: [WebGL renderer strings](docs/webgl-renderer-strings.md), [WebGL parameters are identical](docs/webgl-parameters-are-identical.md).
- Fonts ship with the browser, so the same faces exist on every host and the platform font engine no longer chooses: [bundled fonts across platforms](docs/bundled-fonts-cross-platform.md), [why headless browsers render different fonts](docs/headless-fonts-differ.md), [detecting installed fonts from JavaScript](docs/detect-installed-fonts-javascript.md).
- Text metrics follow those fonts: `measureText` returns ten-plus numbers from one call, with no permission prompt: [measureText and TextMetrics](docs/measuretext-textmetrics-fingerprinting.md).
- Canvas and WebGL agree across operating systems for the same seed: [cross-platform consistency](docs/canvas-webgl-cross-platform-consistency.md), [canvas differs across operating systems](docs/canvas-differs-across-operating-systems.md).
**Audio and media**
- The audio stack answers from the profile rather than from the host device: [AudioContext fingerprinting](docs/audiocontext-fingerprinting.md), [sample rate and latency](docs/audiocontext-samplerate-latency-fingerprint.md).
- The codec table is declared, so a Linux host does not answer a Windows question with Linux support: [codec fingerprinting](docs/codec-fingerprinting.md).
**Network**
- Behind a proxy, WebRTC's UDP goes through the proxy when the proxy can carry it, so the server-reflexive candidate is the proxy's exit, and otherwise no datagram leaves the machine at all; candidates are real, never patched in the page: [WebRTC ICE candidate spoofing](docs/webrtc-ice-candidate-spoofing.md), [does the WebRTC IP match the proxy exit](docs/webrtc-ip-match-proxy-exit.md).
- DNS resolves through the proxy, including when the proxy is not in the preferences: [does a proxy leak DNS](docs/does-a-proxy-leak-dns-doh-explained.md), [how to check for a proxy IP leak](docs/how-to-check-proxy-ip-leak.md).
- The timezone comes from the egress IP, resolved offline, so it matches the exit: [timezone and proxy mismatch](docs/timezone-proxy-mismatch.md), [offline GeoIP timezone](docs/offline-geoip-timezone-proxy.md).
**The automation layer**
- Input events come from the real input path, so `isTrusted` is true because it is true: [Playwright clicks and isTrusted](docs/playwright-clicks-istrusted.md).
- The pointer follows a human path and timing, at a cadence a real device could produce: [human mouse movement](docs/human-mouse-movement.md), [mouse dynamics as behavioural biometrics](docs/mouse-dynamics-behavioural-biometrics.md).
- The debugger surface does not answer the timing questions that give a driven browser away: [debugger timing detection](docs/debugger-timing-detection.md).
- Closed-mode shadow roots are reachable, which stock Playwright cannot do in either engine, while the page still reads `null`: [closed shadow roots](docs/closed-shadow-root-playwright.md).
---
## License
MIT - see [LICENSE](https://github.com/oss-invisible/playwright/blob/main/LICENSE). The patched Firefox binary is distributed under the MPL-2.0 (Firefox upstream license). The C++ patches against mozilla-central that produce that binary are at [oss-invisible/firefox_antidetect_patch](https://github.com/oss-invisible/firefox_antidetect_patch).
---
## Disclaimer
This project is for educational purposes only. It is provided as-is, with no warranties. I take no responsibility for how it is used. Use it at your own risk and in compliance with the laws of your jurisdiction.
---
<p align="center">
Built by <a href="https://it.linkedin.com/in/federico-elia-5199951b6">Federico Elia</a>
&nbsp;<a href="https://it.linkedin.com/in/federico-elia-5199951b6"><img src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/badges/linkedin.svg" alt="LinkedIn"></a>
</p>
<p align="center">
<a href="https://github.com/oss-invisible/playwright/actions/workflows/tests.yml"><img src="https://github.com/oss-invisible/playwright/actions/workflows/tests.yml/badge.svg" alt="tests"></a>
<a href="https://github.com/oss-invisible/playwright/blob/main/LICENSE"><img src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/badges/license.svg" alt="License: MIT"></a>
<a href="https://www.python.org/downloads/"><img src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/badges/python.svg" alt="Python 3.11+"></a>
<a href="https://github.com/oss-invisible/firefox_antidetect_patch/releases"><img src="https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/badges/firefox.svg" alt="Firefox 159.0"></a>
</p>
MIT — see [LICENSE](LICENSE). The patched Firefox binary is distributed under the MPL-2.0 (Firefox upstream license). The patches themselves are maintained in the [firefox-stealth](https://github.com/P0st3rw-max/firefox-stealth) source repo.
-47
View File
@@ -1,47 +0,0 @@
# Security Policy
## Disclaimer
This is an educational project. It is provided as-is, with no warranties. The maintainers take no responsibility for how it is used. Use it at your own risk and in compliance with the laws of your jurisdiction.
## Supported versions
Only the latest release on `main` receives fixes.
| Version | Supported |
|---------|-----------|
| latest | ✅ |
| older | ❌ |
## Reporting a vulnerability
Do not report security issues via public GitHub issues, discussions, or pull requests.
Send a report to `federico.elia.majo@gmail.com` with subject prefix `[security][invisible_playwright]`.
Include:
- What the issue is and what it affects
- Steps to reproduce
- Version of `invisible_playwright` and OS
- Fix suggestion if you have one
## Scope
In scope:
- The Python wrapper (this repo)
- The binary download and verification flow
- The CLI
Out of scope:
- Vulnerabilities in the patched Firefox source - report to [oss-invisible/firefox_antidetect_patch](https://github.com/oss-invisible/firefox_antidetect_patch/security/advisories/new)
- Upstream Firefox / mozilla-central - report to Mozilla directly
- Third-party dependencies - report to those projects
Not security issues:
- The browser being detected by an anti-bot service - open a regular issue
- Social engineering
- DoS requiring physical or local privileged access
-4
View File
@@ -1,4 +0,0 @@
{
"format": "ab-host-expected/1",
"differences": []
}
-38
View File
@@ -1,38 +0,0 @@
{
"format": "ab-network-volatile/1",
"about": "The leaves of the network transcript that differ between two runs of ONE engine (the A/A of scripts/ci_ab_network.py). Each entry: `pattern` (fnmatch over the leaf path seeds/<seed>/<category>/...), `reason` (why that leaf is noise), `aa_run` (the A/A run that proved it). Born from the evidence of the A/A, never written ahead of it. It may only shrink: an entry that matches no leaf of a run is red as stale.",
"entries": [
{
"pattern": "seeds/*/journey/connects/counts/*",
"reason": "How many TCP connections the browser opens to each destination of the journey (the DoH, the two origins) is the connection pool's: parallel and speculative connections, keep-alive connections that close and reopen, DoH connections. The CONNECTs of the launch stage are counted with the journey ones (the DoH connection at start-up lands in either). The set of destinations and the order they were first reached stay compared (journey/connects/order). Totals of the two runs: Linux DoH 226 and 225, origin A 14 and 13, origin O 20 and 12; Windows DoH 222 and 230, A 23 and 15, O 22 and 14.",
"aa_run": "44946411675 (linux, windows)"
},
{
"pattern": "seeds/*/webrtc/connects/counts/*",
"reason": "The connections to the DoH during the WebRTC page: 14 and 25 between the two Windows runs. Same pool; the destinations of the page (webrtc/connects/order) stay compared.",
"aa_run": "44946411675 (windows)"
},
{
"pattern": "seeds/*/https/*/wire/resumed_connections",
"optional": true,
"reason": "Whether a connection that resumes a session carried a request at all follows the ticket and the pool: an origin had one in a run and none in the other (seed 2 and seed 4 on Linux, h1: 108 leaves each), so what is under it is compared where both runs have a resumption and excused where only one has. The fresh connections (wire/connections) and the protocols stay compared always.",
"aa_run": "44982522362 (linux)"
},
{
"pattern": "seeds/*/h3/wire/resumed_connections",
"optional": true,
"reason": "The same for the HTTP/3 site's resumed connection.",
"aa_run": "44982522362 (linux)"
},
{
"pattern": "seeds/*/https/*/wire/*connections/*/tls/extensions/encrypted_client_hello/aead",
"reason": "The engine sends an ECH extension with no real configuration (GREASE) and picks its AEAD at random for each ClientHello it builds, whether the handshake is fresh or resumed: NSS security/nss/lib/ssl/tls13ech.c:2257, `aead = (rawData->data[0] & 1) ? HpkeAeadAes128Gcm : HpkeAeadChaCha20Poly1305;` where rawData is HKDF output of a freshly generated key (tls13_MaybeGreaseEch, called from ssl3con.c:5888 for every ClientHello that has no real ECH, with or without a pre_shared_key). 1 (AES-128-GCM) or 3 (ChaCha20-Poly1305): Windows h2 first connection 1 then 3, h1 3 then 1, both values inside one run; resumed h1 connections 3 and 1 (seeds 2 and 4 on Windows, seed 63 on Linux). The rest of the extension (type, kdf, enc and payload lengths) stays compared.",
"aa_run": "44946411675 and 44982522362 (linux, windows)"
},
{
"pattern": "seeds/*/h3/wire/*connections/*/tls/extensions/encrypted_client_hello/aead",
"reason": "The same ECH GREASE draw (tls13ech.c:2257) on the TLS connection of the HTTP/3 site (the HTTP/2 connection that opens before QUIC): 1 in one run and 3 in the other, on Linux and on Windows.",
"aa_run": "44946411675 and 44982522362 (linux, windows)"
}
]
}
-749
View File
@@ -1,749 +0,0 @@
{
"format": "ab-oracle-expected/1",
"differences": [
{
"id": "linux-seed6-state.after_fullscreen.events.mousemove",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.events.mousemove",
"published": [
[
0,
86
],
[
0,
85
]
],
"candidate": [
[
0,
85
],
[
0,
84
]
],
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed6-state.after_fullscreen.innerHeight",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed6-state.after_fullscreen.mozInnerScreenY",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "linux-seed6-state.normal.events.mousemove",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.events.mousemove",
"published": [
[
0,
86
],
[
0,
85
]
],
"candidate": [
[
0,
85
],
[
0,
84
]
],
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed6-state.normal.innerHeight",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed6-state.normal.mozInnerScreenY",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "linux-seed6-surface.visualViewport.height",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.visualViewport.height",
"published": 730.4000244140625,
"candidate": 731.2000122070312,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id": "linux-seed6-surface.window.innerHeight",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.window.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed6-surface.window.mozInnerScreenY",
"os": "linux",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.window.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "linux-seed63-state.after_fullscreen.events.click",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.click",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.after_fullscreen.events.mousedown",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mousedown",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.after_fullscreen.events.mousemove",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mousemove",
"published": [
[
0,
85
],
[
0,
84
]
],
"candidate": [
[
0,
73
],
[
0,
72
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.after_fullscreen.events.mouseup",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mouseup",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.after_fullscreen.innerHeight",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed63-state.after_fullscreen.mozInnerScreenY",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "linux-seed63-state.normal.events.click",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.click",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.normal.events.mousedown",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mousedown",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.normal.events.mousemove",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mousemove",
"published": [
[
0,
85
],
[
0,
84
]
],
"candidate": [
[
0,
72
],
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.normal.events.mouseup",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mouseup",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "linux-seed63-state.normal.innerHeight",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed63-state.normal.mozInnerScreenY",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "linux-seed63-surface.visualViewport.height",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.visualViewport.height",
"published": 587.3333129882812,
"candidate": 599.3333129882812,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id": "linux-seed63-surface.window.innerHeight",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.window.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "linux-seed63-surface.window.mozInnerScreenY",
"os": "linux",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.window.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed6-state.after_fullscreen.events.mousemove",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.events.mousemove",
"published": [
[
0,
86
],
[
0,
85
]
],
"candidate": [
[
0,
85
],
[
0,
84
]
],
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed6-state.after_fullscreen.innerHeight",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed6-state.after_fullscreen.mozInnerScreenY",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.after_fullscreen.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed6-state.normal.events.mousemove",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.events.mousemove",
"published": [
[
0,
86
],
[
0,
85
]
],
"candidate": [
[
0,
85
],
[
0,
84
]
],
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed6-state.normal.innerHeight",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed6-state.normal.mozInnerScreenY",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "state.normal.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed6-surface.visualViewport.height",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.visualViewport.height",
"published": 730.4000244140625,
"candidate": 731.2000122070312,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id": "windows-seed6-surface.window.innerHeight",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.window.innerHeight",
"published": 730,
"candidate": 731,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed6-surface.window.mozInnerScreenY",
"os": "windows",
"seed": 6,
"dpr": 1.25,
"leaf": "surface.window.mozInnerScreenY",
"published": 85.5999984741211,
"candidate": 84.80000305175781,
"reason": "Seed 6 is at 1.25. The bar of a main window, client top to content top, is 106 device px in retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406), not the 107 that the published engine's core declares; the candidate's core computes it with window_frame.chrome_height_device(1.25, 'normal'), which rounds the tab strip, the nav bar and the content border once, on the sum in app units (_offset_device), and the page gets 106 device px = 84.8 CSS px. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed63-state.after_fullscreen.events.click",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.click",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.after_fullscreen.events.mousedown",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mousedown",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.after_fullscreen.events.mousemove",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mousemove",
"published": [
[
0,
85
],
[
0,
84
]
],
"candidate": [
[
0,
73
],
[
0,
72
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.after_fullscreen.events.mouseup",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.events.mouseup",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.after_fullscreen.innerHeight",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed63-state.after_fullscreen.mozInnerScreenY",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.after_fullscreen.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed63-state.normal.events.click",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.click",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a click event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.normal.events.mousedown",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mousedown",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousedown event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.normal.events.mousemove",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mousemove",
"published": [
[
0,
85
],
[
0,
84
]
],
"candidate": [
[
0,
72
],
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mousemove event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.normal.events.mouseup",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.events.mouseup",
"published": [
[
0,
85
]
],
"candidate": [
[
0,
73
]
],
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: the distinct (screenY - clientY) that a mouseup event of the page was seen with, in CSS px: the bar above the content as the page reads it from a pointer event."
},
{
"id": "windows-seed63-state.normal.innerHeight",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed63-state.normal.mozInnerScreenY",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "state.normal.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
},
{
"id": "windows-seed63-surface.visualViewport.height",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.visualViewport.height",
"published": 587.3333129882812,
"candidate": 599.3333129882812,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: visualViewport.height, the viewport height in CSS px."
},
{
"id": "windows-seed63-surface.window.innerHeight",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.window.innerHeight",
"published": 587,
"candidate": 599,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.innerHeight, the viewport height in CSS px."
},
{
"id": "windows-seed63-surface.window.mozInnerScreenY",
"os": "windows",
"seed": 63,
"dpr": 1.5,
"leaf": "surface.window.mozInnerScreenY",
"published": 84.66666412353516,
"candidate": 72.66666412353516,
"reason": "Seed 63 is at 1.5, and the work area of its screen is under 720 CSS px high (about 693 on a 1920x1080 panel), so retail Firefox 159 chooses the compact density by itself (browser.js gUIDensity: compact while 36 CSS px over the reference height is more than browser.compactmode.auto.threshold 0.05, that is below 720 CSS px; RetailCaptures analysis/window-geometry/chrome-density; retail Firefox 159 on Windows, measured by the core's retail window-geometry capture workflow (rounds 2 and 3, runs 45672953042 and 45679625406)). The bar is the compact 109 device px = 73 CSS px, not the normal 127 device px = 85 CSS px that the published engine's core declares: the core's constants.ui_density and declared_maximized_ui pick the density, window_frame.chrome_height_device(1.5, 'compact') gives the bar. This leaf: window.mozInnerScreenY, the screen Y of the content's top in CSS px (the bar above the content)."
}
]
}
-7
View File
@@ -1,7 +0,0 @@
{
"comment": "The GeoIP database every CI leg launches with (STEALTHFOX_GEOIP_MMDB): made by scripts/ci_lab_geoip.py, the same bytes on every run, no download and no licensed data. One record answers every public address that is not one of the lab's networks and not reserved (the runner's own egress address is not known in advance). To change it (a network, a field): change the table of the script and mmdb_sha256 here in one commit; `build` refuses to go on when they differ.",
"generator": "scripts/ci_lab_geoip.py",
"mmdb": "geoip-aio-all.mmdb",
"mmdb_sha256": "d02825fd0336afa72ad7b7573769f1d9efddea447133f99ae3008c56d5308929",
"mmdb_bytes": 2706
}
File diff suppressed because it is too large. Load diff
-566
View File
@@ -1,566 +0,0 @@
{
"candidate": [
0,
2,
4,
6,
63
],
"core_version": "71.85.0",
"counts": {
"audio": {
"audio.sample_rate=44100|audio.output_latency_ms=20|audio.max_channel_count=2": 4315,
"audio.sample_rate=44100|audio.output_latency_ms=40|audio.max_channel_count=2": 14437,
"audio.sample_rate=44100|audio.output_latency_ms=50|audio.max_channel_count=2": 8614,
"audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2": 21542,
"audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=6": 7783,
"audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2": 5091,
"audio.sample_rate=48000|audio.output_latency_ms=30|audio.max_channel_count=2": 19799,
"audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2": 18419
},
"codecs": {
"media.av1.enabled=false|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f": 4264,
"media.av1.enabled=false|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f": 18331,
"media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a": 12026,
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=false|media.webm.enabled=true|media.decode_support=sha:960968735a": 4065,
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=false|media.decode_support=sha:960968735a": 4500,
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a": 56814
},
"cores": {
"hw_concurrency=10": 591,
"hw_concurrency=12": 21879,
"hw_concurrency=14": 1593,
"hw_concurrency=16": 13914,
"hw_concurrency=2": 2532,
"hw_concurrency=20": 3999,
"hw_concurrency=22": 1038,
"hw_concurrency=24": 2270,
"hw_concurrency=28": 1047,
"hw_concurrency=3": 1215,
"hw_concurrency=32": 2317,
"hw_concurrency=4": 16106,
"hw_concurrency=5": 800,
"hw_concurrency=6": 2189,
"hw_concurrency=7": 572,
"hw_concurrency=8": 27517,
"hw_concurrency=9": 421
},
"dark_theme": {
"ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1": 59856,
"ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0": 40144
},
"dpr": {
"layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31": 70210,
"layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38": 18299,
"layout.css.devPixelsPerPx=\"1.5\"|screen.frame_border=11|screen.popup_ui=106|screen.popup_client_top=45": 11491
},
"gfx_device": {
"adliris_7085": 7197,
"arl_6629": 2281,
"gtx1650_62101": 5882,
"gtx980_58278": 6133,
"icl_2145": 2398,
"irisxe_7085": 9685,
"renoir_21925": 8650,
"rpl770_7092": 3631,
"rtx3060_62101": 6058,
"rtx4060_62101": 6044,
"rtx5060_62101": 6044,
"rtx5060ti_62101": 5881,
"rtx5070_62101": 6289,
"rtx5080l_61742": 5891,
"rx580_21925": 1855,
"rx6600_32015": 1817,
"rx7600_32015": 1865,
"uhd620_2145": 2680,
"uhd630_2145": 7419,
"uhd770_7092": 2300
},
"gfx_feature_status": {
"gfx.feature_status=sha:05ce56d3c0": 22813,
"gfx.feature_status=sha:098c0bf836": 2281,
"gfx.feature_status=sha:2f5fe3776b": 14187,
"gfx.feature_status=sha:80c00ab015": 9817,
"gfx.feature_status=sha:b153aef69f": 48222,
"gfx.feature_status=sha:d1db3983c9": 2680
},
"render_noise": {
"fpp.hw_seed=11": 11111,
"fpp.hw_seed=16": 11111,
"fpp.hw_seed=19": 11111,
"fpp.hw_seed=20": 11111,
"fpp.hw_seed=28": 11111,
"fpp.hw_seed=5": 22223,
"fpp.hw_seed=6": 11111,
"fpp.hw_seed=9": 11111
},
"screen_panel": {
"screen.width=1280|screen.height=720|screen.avail_device_width=1920|screen.avail_device_height=1008|layout.css.devPixelsPerPx=\"1.5\"": 9276,
"screen.width=1536|screen.height=864|screen.avail_device_width=1920|screen.avail_device_height=1020|layout.css.devPixelsPerPx=\"1.25\"": 15893,
"screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"": 41031,
"screen.width=1920|screen.height=1200|screen.avail_device_width=1920|screen.avail_device_height=1152|layout.css.devPixelsPerPx=\"1.0\"": 5228,
"screen.width=2048|screen.height=1152|screen.avail_device_width=2560|screen.avail_device_height=1380|layout.css.devPixelsPerPx=\"1.25\"": 2406,
"screen.width=2560|screen.height=1080|screen.avail_device_width=2560|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"": 1918,
"screen.width=2560|screen.height=1440|screen.avail_device_width=2560|screen.avail_device_height=1392|layout.css.devPixelsPerPx=\"1.0\"": 19886,
"screen.width=2560|screen.height=1440|screen.avail_device_width=3840|screen.avail_device_height=2088|layout.css.devPixelsPerPx=\"1.5\"": 2215,
"screen.width=3840|screen.height=2160|screen.avail_device_width=3840|screen.avail_device_height=2112|layout.css.devPixelsPerPx=\"1.0\"": 2147
},
"webgl_renderer": {
"ANGLE (AMD, Radeon HD 3200 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)": 8650,
"ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)": 5537,
"ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)": 16030,
"ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)": 21561,
"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)": 48222
}
},
"dimensions": {
"audio": [
"audio.sample_rate=44100|audio.output_latency_ms=20|audio.max_channel_count=2",
"audio.sample_rate=44100|audio.output_latency_ms=40|audio.max_channel_count=2",
"audio.sample_rate=44100|audio.output_latency_ms=50|audio.max_channel_count=2",
"audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2",
"audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=6",
"audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2",
"audio.sample_rate=48000|audio.output_latency_ms=30|audio.max_channel_count=2",
"audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2"
],
"codecs": [
"media.av1.enabled=false|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"media.av1.enabled=false|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=false|media.webm.enabled=true|media.decode_support=sha:960968735a",
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=false|media.decode_support=sha:960968735a",
"media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a"
],
"cores": [
"hw_concurrency=10",
"hw_concurrency=12",
"hw_concurrency=14",
"hw_concurrency=16",
"hw_concurrency=2",
"hw_concurrency=20",
"hw_concurrency=22",
"hw_concurrency=24",
"hw_concurrency=28",
"hw_concurrency=3",
"hw_concurrency=32",
"hw_concurrency=4",
"hw_concurrency=5",
"hw_concurrency=6",
"hw_concurrency=7",
"hw_concurrency=8",
"hw_concurrency=9"
],
"dark_theme": [
"ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0"
],
"dpr": [
"layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38",
"layout.css.devPixelsPerPx=\"1.5\"|screen.frame_border=11|screen.popup_ui=106|screen.popup_client_top=45"
],
"gfx_device": [
"adliris_7085",
"arl_6629",
"gtx1650_62101",
"gtx980_58278",
"icl_2145",
"irisxe_7085",
"renoir_21925",
"rpl770_7092",
"rtx3060_62101",
"rtx4060_62101",
"rtx5060_62101",
"rtx5060ti_62101",
"rtx5070_62101",
"rtx5080l_61742",
"rx580_21925",
"rx6600_32015",
"rx7600_32015",
"uhd620_2145",
"uhd630_2145",
"uhd770_7092"
],
"gfx_feature_status": [
"gfx.feature_status=sha:05ce56d3c0",
"gfx.feature_status=sha:098c0bf836",
"gfx.feature_status=sha:2f5fe3776b",
"gfx.feature_status=sha:80c00ab015",
"gfx.feature_status=sha:b153aef69f",
"gfx.feature_status=sha:d1db3983c9"
],
"render_noise": [
"fpp.hw_seed=11",
"fpp.hw_seed=16",
"fpp.hw_seed=19",
"fpp.hw_seed=20",
"fpp.hw_seed=28",
"fpp.hw_seed=5",
"fpp.hw_seed=6",
"fpp.hw_seed=9"
],
"screen_panel": [
"screen.width=1280|screen.height=720|screen.avail_device_width=1920|screen.avail_device_height=1008|layout.css.devPixelsPerPx=\"1.5\"",
"screen.width=1536|screen.height=864|screen.avail_device_width=1920|screen.avail_device_height=1020|layout.css.devPixelsPerPx=\"1.25\"",
"screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"screen.width=1920|screen.height=1200|screen.avail_device_width=1920|screen.avail_device_height=1152|layout.css.devPixelsPerPx=\"1.0\"",
"screen.width=2048|screen.height=1152|screen.avail_device_width=2560|screen.avail_device_height=1380|layout.css.devPixelsPerPx=\"1.25\"",
"screen.width=2560|screen.height=1080|screen.avail_device_width=2560|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"screen.width=2560|screen.height=1440|screen.avail_device_width=2560|screen.avail_device_height=1392|layout.css.devPixelsPerPx=\"1.0\"",
"screen.width=2560|screen.height=1440|screen.avail_device_width=3840|screen.avail_device_height=2088|layout.css.devPixelsPerPx=\"1.5\"",
"screen.width=3840|screen.height=2160|screen.avail_device_width=3840|screen.avail_device_height=2112|layout.css.devPixelsPerPx=\"1.0\""
],
"webgl_renderer": [
"ANGLE (AMD, Radeon HD 3200 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)",
"ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)",
"ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)",
"ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
]
},
"dpr": {
"0": 1.0,
"107": 1.0,
"11": 1.5,
"134": 1.0,
"1633": 1.25,
"190": 1.0,
"19013": 1.0,
"2": 1.0,
"258": 1.0,
"271": 1.25,
"29735": 1.0,
"3580": 1.0,
"4": 1.0,
"49": 1.0,
"50": 1.0,
"5469": 1.5,
"59": 1.0,
"6": 1.25,
"610": 1.25,
"63": 1.5,
"7": 1.0,
"72": 1.0,
"89": 1.0,
"9219": 1.0
},
"excluded": {
"zoom.stealth.media.enumeration_ms": "the time of the first enumerateDevices(): a draw from its own stream, hundreds of values, no class of seeds to cover"
},
"features": {
"0": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=false|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"cores": "hw_concurrency=12",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx5070_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"107": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=22",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "uhd630_2145",
"gfx_feature_status": "gfx.feature_status=sha:80c00ab015",
"render_noise": "fpp.hw_seed=6",
"screen_panel": "screen.width=2560|screen.height=1440|screen.avail_device_width=2560|screen.avail_device_height=1392|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"11": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=6",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=32",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.5\"|screen.frame_border=11|screen.popup_ui=106|screen.popup_client_top=45",
"gfx_device": "rpl770_7092",
"gfx_feature_status": "gfx.feature_status=sha:05ce56d3c0",
"render_noise": "fpp.hw_seed=16",
"screen_panel": "screen.width=1280|screen.height=720|screen.avail_device_width=1920|screen.avail_device_height=1008|layout.css.devPixelsPerPx=\"1.5\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"134": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=false|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"cores": "hw_concurrency=5",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "gtx980_58278",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=6",
"screen_panel": "screen.width=1920|screen.height=1200|screen.avail_device_width=1920|screen.avail_device_height=1152|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"1633": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=6",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=24",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38",
"gfx_device": "adliris_7085",
"gfx_feature_status": "gfx.feature_status=sha:05ce56d3c0",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=2048|screen.height=1152|screen.avail_device_width=2560|screen.avail_device_height=1380|layout.css.devPixelsPerPx=\"1.25\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"190": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=50|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=false|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=6",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "gtx1650_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=20",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"19013": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=20",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "uhd620_2145",
"gfx_feature_status": "gfx.feature_status=sha:d1db3983c9",
"render_noise": "fpp.hw_seed=28",
"screen_panel": "screen.width=3840|screen.height=2160|screen.avail_device_width=3840|screen.avail_device_height=2112|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"2": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=8",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "renoir_21925",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=16",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (AMD, Radeon HD 3200 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"258": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=14",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx3060_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=19",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"271": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=16",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38",
"gfx_device": "rx580_21925",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=20",
"screen_panel": "screen.width=1536|screen.height=864|screen.avail_device_width=1920|screen.avail_device_height=1020|layout.css.devPixelsPerPx=\"1.25\"",
"webgl_renderer": "ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"29735": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=false|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"cores": "hw_concurrency=28",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "irisxe_7085",
"gfx_feature_status": "gfx.feature_status=sha:05ce56d3c0",
"render_noise": "fpp.hw_seed=6",
"screen_panel": "screen.width=2560|screen.height=1080|screen.avail_device_width=2560|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"3580": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=30|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=false|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=4",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "icl_2145",
"gfx_feature_status": "gfx.feature_status=sha:80c00ab015",
"render_noise": "fpp.hw_seed=11",
"screen_panel": "screen.width=2560|screen.height=1440|screen.avail_device_width=2560|screen.avail_device_height=1392|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"4": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=12",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "uhd630_2145",
"gfx_feature_status": "gfx.feature_status=sha:80c00ab015",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"49": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=8",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rx6600_32015",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=2560|screen.height=1440|screen.avail_device_width=2560|screen.avail_device_height=1392|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"50": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=false|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"cores": "hw_concurrency=4",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx5060_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=28",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"5469": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=8",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.5\"|screen.frame_border=11|screen.popup_ui=106|screen.popup_client_top=45",
"gfx_device": "arl_6629",
"gfx_feature_status": "gfx.feature_status=sha:098c0bf836",
"render_noise": "fpp.hw_seed=19",
"screen_panel": "screen.width=2560|screen.height=1440|screen.avail_device_width=3840|screen.avail_device_height=2088|layout.css.devPixelsPerPx=\"1.5\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"59": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=3",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx5080l_61742",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=28",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"6": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=12",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38",
"gfx_device": "adliris_7085",
"gfx_feature_status": "gfx.feature_status=sha:05ce56d3c0",
"render_noise": "fpp.hw_seed=19",
"screen_panel": "screen.width=1536|screen.height=864|screen.avail_device_width=1920|screen.avail_device_height=1020|layout.css.devPixelsPerPx=\"1.25\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"610": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=false|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=7",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.25\"|screen.frame_border=9|screen.popup_ui=89|screen.popup_client_top=38",
"gfx_device": "rx7600_32015",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=11",
"screen_panel": "screen.width=1536|screen.height=864|screen.avail_device_width=1920|screen.avail_device_height=1020|layout.css.devPixelsPerPx=\"1.25\"",
"webgl_renderer": "ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"63": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=20|audio.max_channel_count=2",
"codecs": "media.av1.enabled=false|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:9c24a8728f",
"cores": "hw_concurrency=32",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.5\"|screen.frame_border=11|screen.popup_ui=106|screen.popup_client_top=45",
"gfx_device": "rx7600_32015",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=1280|screen.height=720|screen.avail_device_width=1920|screen.avail_device_height=1008|layout.css.devPixelsPerPx=\"1.5\"",
"webgl_renderer": "ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"7": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=30|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=4",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx5060ti_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=11",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"72": {
"audio": "audio.sample_rate=48000|audio.output_latency_ms=25|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=10",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "uhd770_7092",
"gfx_feature_status": "gfx.feature_status=sha:05ce56d3c0",
"render_noise": "fpp.hw_seed=5",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (Intel, Intel(R) HD Graphics 400 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"89": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=50|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=true|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=9",
"dark_theme": "ui.systemUsesDarkTheme=0|layout.css.prefers-color-scheme.content-override=1",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "rtx4060_62101",
"gfx_feature_status": "gfx.feature_status=sha:b153aef69f",
"render_noise": "fpp.hw_seed=6",
"screen_panel": "screen.width=1920|screen.height=1080|screen.avail_device_width=1920|screen.avail_device_height=1032|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)"
},
"9219": {
"audio": "audio.sample_rate=44100|audio.output_latency_ms=40|audio.max_channel_count=2",
"codecs": "media.av1.enabled=true|media.encoder.webm.enabled=true|media.mp4.enabled=true|media.webm.enabled=false|media.decode_support=sha:960968735a",
"cores": "hw_concurrency=2",
"dark_theme": "ui.systemUsesDarkTheme=1|layout.css.prefers-color-scheme.content-override=0",
"dpr": "layout.css.devPixelsPerPx=\"1.0\"|screen.frame_border=8|screen.popup_ui=72|screen.popup_client_top=31",
"gfx_device": "renoir_21925",
"gfx_feature_status": "gfx.feature_status=sha:2f5fe3776b",
"render_noise": "fpp.hw_seed=9",
"screen_panel": "screen.width=1920|screen.height=1200|screen.avail_device_width=1920|screen.avail_device_height=1152|layout.css.devPixelsPerPx=\"1.0\"",
"webgl_renderer": "ANGLE (AMD, Radeon HD 3200 Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)"
}
},
"final": [
0,
7,
11,
49,
50,
59,
72,
89,
107,
134,
190,
258,
271,
610,
1633,
3580,
5469,
9219,
19013,
29735
],
"format": "persona-seeds/1",
"max_seed": 100000,
"sha256": "82547e9f34ece0c17075d812dcc009c7e8e6f348eb33fb4cc5cdbff6253cc4f0"
}
-28
View File
@@ -1,28 +0,0 @@
# Input of the gate lock; `python scripts/ci_py_lock.py` writes it and gate.txt from the sources below. Wrapper-owned (ci-03), read at the wrapper_ref.
# python-version: 3.11
# exclude-newer: 2026-11-25T00:00:00Z
# wrapper: pyproject.toml sha256 93d8d0940284352ad53e189e17b9ad6e3109ce52e54ab138ecdfa01d8571b193 (at generation); its dependencies without invisible_core, and its `dev` extra
# core: invisible_core==71.85.0, tag v71.85.0, pyproject.toml sha256 c0d14a4d26d3650005076ab72347eb24fba4b89e643f514e7f7334bd0a2ac174 (at generation); the core is a wheel of ours, only what it depends on is locked
# core-requires: platformdirs>=4 | psutil>=5.9 | requests[socks]>=2.31 | maxminddb>=2.2 | tzdata>=2024.1
# playwright: 1.61.0 from scripts/playwright_pin.txt (the stock client the gate drives the engine with)
# cryptography: 44.0.3 (the lab's PKI)
# harness: uv>=0.5 (the installers of the install-from-index job)
aioquic>=1.2
build>=1
cryptography==44.0.3
cryptography>=41
greenlet>=3.1.1,<4.0.0
h2>=4,<5
maxminddb>=2.2
platformdirs>=4
playwright==1.61.0
psutil>=5.9
pyee>=13,<14
pytest>=7
pytest-timeout>=2
pytest-xdist>=3
requests[socks]>=2.31
ruff>=0.6
tzdata>=2024.1
uv>=0.5
websockets>=13
-845
View File
@@ -1,845 +0,0 @@
# Generated by `python scripts/ci_py_lock.py`: do not edit. Wrapper-owned (ci-03).
# input: ci/py-lock/gate.in sha256 7de18cd95f842ff5df52b931d6fb2f318936f54b0ff1be1c8d66df1d6706d9df
# resolver: uv pip compile --universal --generate-hashes --no-build --python-version 3.11 --exclude-newer 2026-11-25T00:00:00Z
# Every file of each version is hashed (Linux and Windows wheels of every Python from 3.11, and the sdist): one lock for every OS.
# A consumer installs it with: pip install --no-index --find-links <wheelhouse> --require-hashes -r <this file>
aioquic==1.8.0 \
--hash=sha256:12333f99f7493af4bc6b9af24f5ac45ae993a2780b9c469c38bdf4461189d5db \
--hash=sha256:14c8f0e4d7a74ee6ba3ade9434601f21ab8d6f9948f602efddbfc082d2bbb385 \
--hash=sha256:3da2c9609cd7299ee2965ff4b0df7a5d50ebe4eacd0cf50f8243686612c2d801 \
--hash=sha256:6fd3cd612aa739be38ab15005e596087cfc0ecbbe935a0343dc82f8b60532669 \
--hash=sha256:78616046a99831c55ca3aac3405b6353e79a923c67a6e5b1dd134585cfcc8e66 \
--hash=sha256:90d1a379ff0057a84863ba7d886af7f49eedfd1a14def5ba5a3ba719ab99c37f \
--hash=sha256:a17bf2347cb9f92c5ccb93fd88be65550e47db2a76e086602b226259f814b111 \
--hash=sha256:a4b57b3235014074fd7316dae5f4ee08cf46fa9b9c7bdf8718c3f310aaff9155 \
--hash=sha256:ac365806f09cba9127fe716f570219bf1fb7d733e847eef7535ade5c08aed721 \
--hash=sha256:b2acf9f4b7214502792d3430a341907f872cedd25042430f2c4138f9b7092d87 \
--hash=sha256:d9de93041c7749f1a93dbc0367408572ed76d710566fd7d74241ce7f69388350 \
--hash=sha256:eb44d2276ad670e8608bc2f2a926afc8e06f62de87275afb56d7ed8aa8a4f298
attrs==26.1.0 \
--hash=sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309 \
--hash=sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32
build==1.6.1 \
--hash=sha256:51cc11666391ab6f092070437ac747002ff46f3e4113a3622177ee6b488bfc53 \
--hash=sha256:ecd351a4be9d35a9eaaba244a7687143c9c7d4aea6ac964e7e7ddab20cbcf4e7
certifi==2026.11.20 \
--hash=sha256:7422df25243767b9877031a2248cb14d09ddac9beee846f4cef3d5c9191d488f \
--hash=sha256:af1cb240a8133f105aa52684a3a3258339d7f2fd0bd4e2812698ff5cf5588c4e
cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
--hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
--hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \
--hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \
--hash=sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0 \
--hash=sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6 \
--hash=sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971 \
--hash=sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c \
--hash=sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d \
--hash=sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9 \
--hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \
--hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \
--hash=sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80 \
--hash=sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f \
--hash=sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1 \
--hash=sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29 \
--hash=sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8 \
--hash=sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c \
--hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \
--hash=sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48 \
--hash=sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813 \
--hash=sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac \
--hash=sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632 \
--hash=sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6 \
--hash=sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1 \
--hash=sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659 \
--hash=sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688 \
--hash=sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004 \
--hash=sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0 \
--hash=sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062 \
--hash=sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779 \
--hash=sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94 \
--hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \
--hash=sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab \
--hash=sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac \
--hash=sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6 \
--hash=sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676 \
--hash=sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1 \
--hash=sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9 \
--hash=sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf \
--hash=sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13 \
--hash=sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e \
--hash=sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e \
--hash=sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973 \
--hash=sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527 \
--hash=sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72 \
--hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \
--hash=sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c \
--hash=sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990 \
--hash=sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd \
--hash=sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9 \
--hash=sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94 \
--hash=sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3 \
--hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \
--hash=sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41 \
--hash=sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5 \
--hash=sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c \
--hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \
--hash=sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4 \
--hash=sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e \
--hash=sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6 \
--hash=sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98 \
--hash=sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b \
--hash=sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1 \
--hash=sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03 \
--hash=sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af \
--hash=sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231 \
--hash=sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2 \
--hash=sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3 \
--hash=sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836 \
--hash=sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5 \
--hash=sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399 \
--hash=sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96 \
--hash=sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e \
--hash=sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be \
--hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \
--hash=sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc \
--hash=sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455 \
--hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \
--hash=sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12 \
--hash=sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b \
--hash=sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7 \
--hash=sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692 \
--hash=sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54 \
--hash=sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3 \
--hash=sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b \
--hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \
--hash=sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d \
--hash=sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358 \
--hash=sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a \
--hash=sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7 \
--hash=sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc \
--hash=sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960 \
--hash=sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125 \
--hash=sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb \
--hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \
--hash=sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa \
--hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf \
--hash=sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3 \
--hash=sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4 \
--hash=sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264
charset-normalizer==3.5.3 \
--hash=sha256:00edb7682962c596f774bfa126e6b6f885b7af2319f448d327591c284a482de8 \
--hash=sha256:01b35bec964b92b89bdf94adf931d2e80a15f1c7b93bf850b4430cca23f7a2a2 \
--hash=sha256:020cabbb90926b2d8b022a5e057ab349f28844b61f34117323fc08c2971915e3 \
--hash=sha256:02b1abf64742b2d0782172cd2542616e462c201c829c23aff833390babe2967f \
--hash=sha256:06d07272f70d9880fba32d4876e966ae4dc9961134bc989066a0901509dfd8cf \
--hash=sha256:0810592b80dc5a97f8103443460264b588f31c6baa8a20abae7c683435d8117a \
--hash=sha256:085a5d1f49eaf96596d79494fcab18d9a32db6e345da15d6debfc90110b20679 \
--hash=sha256:09833ba78c91f0d1fd06387c69dae9f079428b77ea05eaaf1553eecead31fb68 \
--hash=sha256:0b3fc6f7dd9db4a7782e65dc98eb80b2a91a854cf54a03dd93649be2f7ca638d \
--hash=sha256:0c0fe07631dce6dae788a59c20ed927adc6feeb2d9ed440747eb367d89822a45 \
--hash=sha256:0ca25f1b1167e9fb94d93d3708df0b631de241bf8440947b0cb9f8c4cb66fed0 \
--hash=sha256:0ca2da4a505fae7ef95922f8d48235b2e49ff8f10f4edcc0481e5f6526ba3841 \
--hash=sha256:0cf4cb8d75090a8da3bd30c0963b2c6c6114e791c6fc060c3cef8971497b1f04 \
--hash=sha256:106b9d0438e2ff0a0e8ebd869273fcb3640af28323bba8651c714c57efb38e51 \
--hash=sha256:11ad35a0b856ad8bbd0c9e900c069461a4661694714aa17b6e6e2e8621e1c373 \
--hash=sha256:139aeb8ca63946dc79364c37f2c9cfe5c1b7f3882f2c47484d0e54bf14b921b0 \
--hash=sha256:1714ff1ba001da5241a585fbd17a7742a61ad34efb4be8404aca5679f51e53ea \
--hash=sha256:183aee7e84789391e547ec1609f8269332b9b123d21e97f7ef79eaa474c47e08 \
--hash=sha256:1a34385837db59d5de814c9f1e0f4157b571f9ce0eabdaeace410aa93bf5df62 \
--hash=sha256:1b2704f4651539eab50ba104a975b96c3cd5246011aa0755d2dd71ac12546644 \
--hash=sha256:2246873913d7db43ed5a3d98ace398b989b2ae20b77c8d761a7bef5fdb9bed42 \
--hash=sha256:249bf0b6f43985c33c83adbbab0ca71246ec24c82d960fa00c4ddb2cfed25db9 \
--hash=sha256:256b434b2860ef9da1cb6a5fd4ebb5d600936668e50e2035858948b96b068ecd \
--hash=sha256:26c6ad87bb79628954b52f8f7b9e18ab5cd9667546712ded9689fb7677e630d6 \
--hash=sha256:277b72183b96879887f0c3aa0bdac1fee08a6c7e67bad53145c4fd416d99dfd3 \
--hash=sha256:28ba8e6361e0f319641707484994096ceb77e05c29eaad2919756218c0c89001 \
--hash=sha256:28d954a437bfa5fcdfe7ad8902cf4347a8486f34a86c5f39003bc1288eb67d72 \
--hash=sha256:2978c799237eb66619d8951d2ab7efd317414cb6682160e05614ce1c8b5c905f \
--hash=sha256:29ac44f5878142128ffe4fa7e041ddc4cc5fafe43983245b9a141908c40b515d \
--hash=sha256:2a6f937e0b70133d1f826d0a253331b6fe1a4c874808cc12e16f2fb8177042f4 \
--hash=sha256:2b7797a5b0cb197f118fd13b41c14c5a3c38dd625a87c1da58a3066cf53254fd \
--hash=sha256:2c4e0050b732ee3dca3676a5f5cf7fbd0c131761c194f1bb1d24c055fad071cf \
--hash=sha256:2e7fbd98443f28a5ed8004f0b058edcc4720a3d344adf007c0b7f1adbff2f59f \
--hash=sha256:2f2d973d3c79fbd1066d63d1bafb2ade66934c0840ed149f6fac13c3fdf80793 \
--hash=sha256:323d5cf6df3ea724afcc3bfb07c73be06d2e8200a8b6b37979a300ae1e7836d0 \
--hash=sha256:326a7a0e3715c3ac24c21e7a3b831d6799cc795bff260aa49c23b69025852f99 \
--hash=sha256:34054580168b04e90e6c7c0f6c80173fa2d4f72c4db91c9095598454f96d6389 \
--hash=sha256:366f5efe95a6149ecbcebf779c2594a6a4ff6fc116402826c72ed0eccd6aabe9 \
--hash=sha256:390ef7c7e018c0abb8c0ec2d28ee137567ff50c3706facf6d115cac832ac993b \
--hash=sha256:39229c222445415db07a0be4dff8ad1addc3126644d7aa72d73f1575b637d69e \
--hash=sha256:396fdf2d4367674531a7c8d54ecabbc8e5131e3a1a06270285eb99f3140143df \
--hash=sha256:39e019884c8f857393df954d35f42bf99c5ab85af226fe74d1410188c6fec31f \
--hash=sha256:3ce4e4587e451ebc7d9899a7a1f539ea30a3c712d7bc8e0d256923c697fd5dcc \
--hash=sha256:3e8da696ef1935a019c10ec16555a062183ddf6d5901e296edeca4b2a8f84e1d \
--hash=sha256:40b2ba91f0851aa864994b3c7022e4d96d09026717e6a72e44410d6fb3a74a13 \
--hash=sha256:45aa4ccf5a6caba138dd0f8bf36fa3e26654585d534881b62ce5e4fea2487772 \
--hash=sha256:4831fb33e98e92140fa17d4d673a9f49f9c0ddd056115b722858793e4b86b0c5 \
--hash=sha256:48f7c7f537246bb3af2b3139f44716a30b21e78c2fd1cff0f3e392fbd55d8044 \
--hash=sha256:499e4bbeb1e79b14756311a1d12cb88112f244423e152d80981d9bcaff3279fa \
--hash=sha256:4a991dbd7aec868fe10802b02bddbf898173a47ba236f2d6afb4ab1f98243534 \
--hash=sha256:4ff5e27478681ef1b13b036baaf9beaf9b4c6990e903c752ad3b8764692c6d6c \
--hash=sha256:56405211fa124c393eea14b3aeacf5b90de72b1f69b0a60c9bc40b01dfe71a42 \
--hash=sha256:581d6e7df9b58d34147e21efde42a480b5087fe54f31e42550c26321566ba1e4 \
--hash=sha256:5970d148182b6b7c22b8290a81f02fb521c4e7aee6747743b3e645db58d5001a \
--hash=sha256:5f86753952f7de3abc7ce871f8239ce4e0d32a91c84d22f3a667e669907c3897 \
--hash=sha256:6118055f4ad0d94e016eadbb86caed9caf2c9033631ed70964ba631c1336984f \
--hash=sha256:61e32fdbf56f4cd25a1efa451c8b5fe886fc5e00143ccaacafdf21f301fad059 \
--hash=sha256:61f3258f700412c68fde407e7c749ed6930e795ea8f5ead9a40afddefbec12c4 \
--hash=sha256:6423accb6ecd1456bf824bbac98ba919398523a69ee5f1680dd1da88769de866 \
--hash=sha256:643724071b01cc0369026e259850791212cc187c6031d0e930abcd253f128e0c \
--hash=sha256:656b9744bac4493561d28b56d7d646afd7a8471254ef7004d849aa8368020037 \
--hash=sha256:6651fecdac146ecfa52700e02a5fa3b3677bddf5fced4983b43e904244de3f6a \
--hash=sha256:67bb767a8de7a2b1164c74fdbe5cdc32b9c15d7142efd9a6dc77ff63da94e846 \
--hash=sha256:6b702d36c565f6c650f4b479488f475b2982132ab8d0840d42b1442462c21056 \
--hash=sha256:6bfbbb9414dd0f5b81c259deb7e50b4b44e65e05879eee482351bdabed49d7f4 \
--hash=sha256:6c80b4e83e2fbddd25fe27804cdfc45ef71bb387522caa575af42118d72dc970 \
--hash=sha256:6c8abe7d59bbc891e5080b8b142c36db93154f840c4baf7c83ad6273a1a15397 \
--hash=sha256:6dde7edd9ba5005389bc7c0ab461411f281dbacb2b06e52bd23592eba42bb503 \
--hash=sha256:6eea31136fd924ecbb4e7c4f3df4b18230409629a22b3896f38a6754d5857794 \
--hash=sha256:70f65dd0c2ed79ea2d9776096e9c7d25e398c2c03eb31877753598d201d91784 \
--hash=sha256:73b4ddf1230df56c9e7017a16e3f5171b6ef0e4ff554a418a370d7ac7245bd84 \
--hash=sha256:747e83d415939612284afdc99f15295382639c0d3fc69a73aeb84b380d1f4af3 \
--hash=sha256:7a7e5bb8974842ad747d4a2b9fb928f84c3cdbe2c2fd7e405197fc1a1badaeaa \
--hash=sha256:7c313b46730b4a68bb31450973467313b2c496fefa42ae316b86c186cba74613 \
--hash=sha256:7fd816f466883dcaac196ac77271d0292eee4a81f4db1191b95d15328f335937 \
--hash=sha256:7fdd11094a0b07bce306b359fa7311c71d93466d967b3b345f2e9f03d8b2c959 \
--hash=sha256:806e72ebaeef54d7faa03414be9e8409eb3dcae49fba089d62063a60c0b5a4e5 \
--hash=sha256:81132eaffa984f0a399233df4cd383caad18e8cadc6c24c568cf9324732a9768 \
--hash=sha256:8231365b03b702b516aad35c9515694177ac31c9dc6240326f07308a4c45c708 \
--hash=sha256:826d82356907350f345cf0aa744d43a69ac7948bd60f460f997cde86928beadf \
--hash=sha256:84356c7b7ddf090e3e4692cb99fc820e6189b5f6662ca7e8589f41095cc8efca \
--hash=sha256:87d5a237d6531c654e7b9b319be9ba7e368665c466e02a03cfd4d3d77730782e \
--hash=sha256:87f7d6c595465a25d33fa3d5215a571a98c4cad00ead3ad18ebfb62adb3d3e6e \
--hash=sha256:885f202d6e4e2298bea9802ffc6d8c7dc45394199a8dd9e1492f05fe32dce311 \
--hash=sha256:8b969f0309de905101bc3d2471c112e9ccbba711a7590b12d51f372b4163688a \
--hash=sha256:8baddc6349faf49edae4d1322f12b681b9e86acacd01874457c997437ef4ccaa \
--hash=sha256:8c4dfcd3269f13dff7f29f9c332d54a4a21f17be818b49e769e111befd4d39e6 \
--hash=sha256:90b1ff6cb9c7a204a3b79b1b0ed6ac8a1d8fed3b6dc69e50ae5de0f358ee81d4 \
--hash=sha256:92bf85ecec3ad6374ae50d870bd1deb34de12bc1158b5fd09036d4c435c6f58c \
--hash=sha256:92ddc32b6a1508ea145f4f7995e00666db454b8fd3e2cae6c2ecbde4f4d44616 \
--hash=sha256:948fb3649416a70bcdbb267d79c7048e8aa16e989ab9da09f416e67cdd3d6b8c \
--hash=sha256:94b595e64bc2927f679774de50df340b7828dc1c07c99149ba7c2d0828dd8bf3 \
--hash=sha256:94c9d5d91c16554f6397b823d9e47181ba100d830ab16b5d720adc229e17b2e2 \
--hash=sha256:9510da88bdebc903be7844f31523ac8d7b3f63e167db54b6045104a2354afa6a \
--hash=sha256:96387278c3b17bc1170f80693398d0babac7b41df128ced8e27588a7155d95b2 \
--hash=sha256:96e268b0cbda016ac519513294fcd17032264085b600abaac58b93049477e132 \
--hash=sha256:9902e80096a94cf70fb72d12ae40e3b187b40e96fa722873d4d62afcd0333c46 \
--hash=sha256:9a6b95b1737f9b5942c35676c52db0c302d60fa806efde3fc2d9f54247ecf4be \
--hash=sha256:9b887e8a7103ae2171dccbab00a4bb2bf1560f5c10c28227e5513bc90a608cad \
--hash=sha256:9c1bd8321a840729a6b2620774cf4000fafe66c54cac9064972a10c4f607794b \
--hash=sha256:9eba4613d45b49196af04a5cbadfc5e9379ba94aac85184b72cb1107ad31af0d \
--hash=sha256:a094178c51530c9ebd1775e72d160af0eac4be244fb06ff1b6f182128c71903c \
--hash=sha256:a09ca76391f6e17b12d55c1068b4b5f8f6c9b44b432d936075372fa12782292d \
--hash=sha256:a250888753faa289e2997962fbb17c4960cbdb58575533ca6fceee68c224bdff \
--hash=sha256:a312fedd182357f2c22f066d17dcd7413b6a205ee3d063d36950e94e3019d3de \
--hash=sha256:a36bba41dc7fd263417688c4daf95a1091f93e1f6957c0f71ad7798907c5a10c \
--hash=sha256:a3f4044dd5d2f7b958be6b9903cb432e6a0fd944d673707ca5cab68137d0592c \
--hash=sha256:a43831574e14423103d69fb1357e76e4f2347041c98e8357ab88ef21812e80d9 \
--hash=sha256:a491d4afb361aba32d55d7df7ccde766a3aa9a34c002d2c32c2743bf6e77c13c \
--hash=sha256:a5a7e0326566759f9a7bc44f4b9a179cc40a297e09e759b0bc7c848c06347527 \
--hash=sha256:a6eba94fc00d899f8d268712772c8dcafc40215aa9b51701a397afc9426e012b \
--hash=sha256:a8f92cc9080bff47555c79b88e7fb8655438ce3bcf29c5f01ed2ed5efdf174a4 \
--hash=sha256:aa2476abf8669be493689634bdb79f468a6fe57b005a5126db7e9f61d1954fe2 \
--hash=sha256:aa8be1f24fbc03a07cfe002b70ba0716effc6b3011fd9e5560ca399d3d0605ad \
--hash=sha256:aa9390d89822dd06f9920ae3038819cb121643a72f4753b2eee1a79b2f1215f8 \
--hash=sha256:acaa0e100f39287dc5d13de96e33ba0786f1cdfb5b4ca28918913ab0eec3af72 \
--hash=sha256:ad1becd776f5a41a4d91cb9ee51778f4fd687ef15e4919779e00a33c6cff6948 \
--hash=sha256:af217012cfdaf6ea5dc0c538aac29b7bd030eb865056cc60f1d973b982b7917b \
--hash=sha256:b013417037c931583578639cab2523d5a2efc35a584c192d07f4c909b133f6b0 \
--hash=sha256:b0aa6b81bc632af7cac7b270c933298cb5ee858506dcf344e0da006667e0c351 \
--hash=sha256:b30e5496e453ac971bb17f5e096b84fbaae16d09e2613f6148ff528c08a54a0c \
--hash=sha256:b66a0e045cf859d7418f26a554509b65f21ebb6d90a95152460781939e8264f4 \
--hash=sha256:b6dad86d938104f9d43404029e5fc8392f82762d171933be4f192a6008bffa53 \
--hash=sha256:b6ea5bf7e3c39f6e56957d82274ac7cfab469590085883fdbc86e754cde76b11 \
--hash=sha256:b8fc4fe56992b089d6177021fe6db641321bb2bc2fc7a1abf815c29a80ca2137 \
--hash=sha256:ba26e4d073a4f7f2594676f2ff20ab80a7f03332b81c3f9964e9e53bf2305329 \
--hash=sha256:bed05639ae1bc23df7996a4fd13ea5064ddf60dc7dabd754f8badf060daec63f \
--hash=sha256:c08e06fc69750827d7ccebba63ebc97a85e479cd5c9dbdb80f5e08a77b774fdb \
--hash=sha256:c39a4fe28a16e8fa667c55c154f62c6c3cd9ca2491cca9f16330dd7360d05b76 \
--hash=sha256:c437ed8775d201d37206f37d233f547506e3aef60b9711584c65444c686b4905 \
--hash=sha256:c43d9737c3b85ccd16b1862b1e7aa5c4bf30a6033068403713c0a2bba5bda979 \
--hash=sha256:c9d1f467d121b33b06865c94ed5ed8388a9ef76f5e1acc1c8a854ac653493f5d \
--hash=sha256:caefc441edff6070a9f9749ca880a22731a1715d9e74b24304a546eec44bfc16 \
--hash=sha256:cb18428af7399e0a6f7e3b45f110d57a1a47cf07fd4b3ce50e2366d99a38959a \
--hash=sha256:cb4c25a9d3410262216b5c7447e51bfd2de0efae0a7640772dc6d2a8741590de \
--hash=sha256:cbd09b22b340f846671e79e8d832167fac60c1884be4c71fd667211486a3b58e \
--hash=sha256:cd5422fd4f8a7859846c9289e310dd95c0d1890c31819667942753e510f88f69 \
--hash=sha256:d12571adb9ceeb9ba0640db46433430062f5f1dec89e39713a2a5a8ce3016c37 \
--hash=sha256:d1b7a3fe4cf679eb3870b91b86b8ce12cacd5cf4d74bc114864a5cd65319ddac \
--hash=sha256:d313494077f849d8199f36166947785da1eeb36335fda15fde2e8f801ef271b6 \
--hash=sha256:d3c9d5284d64f4c1015d95b751577b260fd6d14e3f8edf21710f4436e7ac4c49 \
--hash=sha256:d4e7ecaa25f0dae672ac783c2e5aa9054a62e011749d64ff47b887af360a3e82 \
--hash=sha256:d57f1b6affc3581fbf0bc6d783cc60e7c9957adfd9c7b89f8a9f3573ad1cd49a \
--hash=sha256:d8f85e019c9f08ec134648a378ddd3f6f073c1e4b5ce9bdacd9a9e7b60749cd2 \
--hash=sha256:d93403a13c8f6f2d027185d90ab695e81d95e3ebd000f0078e201a1c3159d4d1 \
--hash=sha256:da606e3015dbd4b9a31c0468898a0c4c998846197ddfda78308821dc8c9e9be3 \
--hash=sha256:db2eedef732424346f98d0aba5c6ad688b648bc79847f4cc70dfca830130b1e6 \
--hash=sha256:dbdd407104ebf2360464ce02c7933c6ffac58bd5b64cdf6ef7dc0e787e782aaf \
--hash=sha256:ddea089587432e3df6771a4a405ef249cc9727f7becb1de3f00ab571b2432002 \
--hash=sha256:dfbde696fb427301ec40cd82b8eec0b528e44c6af8239f33ede2b2552d9a085a \
--hash=sha256:e1cdbde56f9fa6d426b78941c381e2ba160c1214809baa47e02c1d0d8881d598 \
--hash=sha256:e282983b8def5ada758fa1f18bf9060bb8ce6cdd73be32f62a2de59820d3286d \
--hash=sha256:e34f591669498a03cd70993b0a79b9f0ef40c4e6f8232466bac33c42f0c15742 \
--hash=sha256:e405cce4170de1fe520d9a92de9d7ececc23dfcf6888c62ab608a21be50838eb \
--hash=sha256:e4a0f2adf29a69dd8fe58e42bb191f3c87067b05fcc63279983e8c9ce5092abd \
--hash=sha256:e4f85c34f9be32ec5568a0668fb8bc029d3e729285fb8fccc38695e185379a9b \
--hash=sha256:e5e4785d8a0adeadfbdf75f4efc357911842674651cbafd7e97f69b11ec3cbc6 \
--hash=sha256:e86a27ab632d2e888c22b79263864eaff8b7dea9e87328a9bb0ea04eff24786f \
--hash=sha256:ea880ae1a692ae694c11bca7be74864614ff1a58bdfff4605f36d1956b4b1588 \
--hash=sha256:ee9de080e8d6221bbe4ba2667367b1cee0f47a53f60ffc5e431b698cd2f2b214 \
--hash=sha256:ef8b925f2b331a1f17d6fb32625e09fd571cf41844f578379f934dab0067cf0d \
--hash=sha256:f06e257ee0cc85a7e4ec44f171ae2595fd901c34212f3c9e7ab8fd8621401e99 \
--hash=sha256:f1214052966421a88ed526ba93e4463b39346862fa4721be5306434b33dae795 \
--hash=sha256:f160f03e15bd1e3c35db9bfc20c42ff83155d37f9b0c79806cb10051ca725f13 \
--hash=sha256:f1b357340e4cd29011683bd81226175611ad835fec22e5b7df83b96701571226 \
--hash=sha256:f39290a0c2e3f4196563189bb45e6ef5d5badf50864e1bfaafa9003f0595573f \
--hash=sha256:f5a5c311e5de6954c36230a37863b5ca58ce232589bd637ad2881c4056897b12 \
--hash=sha256:f7a841170fde40b0e1345884bee09ceca7db49a9291fa340089bec66a366c243 \
--hash=sha256:f7fb9a3275f1a1528e542a0f5a3d2c89fcaf68e797fc5c6530434cbd92a852c4 \
--hash=sha256:fc540d1618c5638fcf5aea97060cf011467918b010bf682a84ecc0c9474e6cd0 \
--hash=sha256:fcb17f1d40c38912a2cdb56ea47aadac3527cd0b06fe24f3a0c4896febbea063 \
--hash=sha256:fd0341b9dea133d187d7c5a2cd7e21ae6449a7b68ea8c2454f9cf77def11ec1b
colorama==0.4.6 ; os_name == 'nt' or sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
cryptography==44.0.3 \
--hash=sha256:02f55fb4f8b79c1221b0961488eaae21015b69b210e18c386b69de182ebb1259 \
--hash=sha256:157f1f3b8d941c2bd8f3ffee0af9b049c9665c39d3da9db2dc338feca5e98a43 \
--hash=sha256:192ed30fac1728f7587c6f4613c29c584abdc565d7417c13904708db10206645 \
--hash=sha256:21a83f6f35b9cc656d71b5de8d519f566df01e660ac2578805ab245ffd8523f8 \
--hash=sha256:25cd194c39fa5a0aa4169125ee27d1172097857b27109a45fadc59653ec06f44 \
--hash=sha256:3883076d5c4cc56dbef0b898a74eb6992fdac29a7b9013870b34efe4ddb39a0d \
--hash=sha256:3bb0847e6363c037df8f6ede57d88eaf3410ca2267fb12275370a76f85786a6f \
--hash=sha256:3be3f649d91cb182c3a6bd336de8b61a0a71965bd13d1a04a0e15b39c3d5809d \
--hash=sha256:3f07943aa4d7dad689e3bb1638ddc4944cc5e0921e3c227486daae0e31a05e54 \
--hash=sha256:479d92908277bed6e1a1c69b277734a7771c2b78633c224445b5c60a9f4bc1d9 \
--hash=sha256:4ffc61e8f3bf5b60346d89cd3d37231019c17a081208dfbbd6e1605ba03fa137 \
--hash=sha256:5639c2b16764c6f76eedf722dbad9a0914960d3489c0cc38694ddf9464f1bb2f \
--hash=sha256:58968d331425a6f9eedcee087f77fd3c927c88f55368f43ff7e0a19891f2642c \
--hash=sha256:5d186f32e52e66994dce4f766884bcb9c68b8da62d61d9d215bfe5fb56d21334 \
--hash=sha256:5d20cc348cca3a8aa7312f42ab953a56e15323800ca3ab0706b8cd452a3a056c \
--hash=sha256:6866df152b581f9429020320e5eb9794c8780e90f7ccb021940d7f50ee00ae0b \
--hash=sha256:7d5fe7195c27c32a64955740b949070f21cba664604291c298518d2e255931d2 \
--hash=sha256:896530bc9107b226f265effa7ef3f21270f18a2026bc09fed1ebd7b66ddf6375 \
--hash=sha256:962bc30480a08d133e631e8dfd4783ab71cc9e33d5d7c1e192f0b7c06397bb88 \
--hash=sha256:978631ec51a6bbc0b7e58f23b68a8ce9e5f09721940933e9c217068388789fe5 \
--hash=sha256:9b4d4a5dbee05a2c390bf212e78b99434efec37b17a4bff42f50285c5c8c9647 \
--hash=sha256:ab0b005721cc0039e885ac3503825661bd9810b15d4f374e473f8c89b7d5460c \
--hash=sha256:af653022a0c25ef2e3ffb2c673a50e5a0d02fecc41608f4954176f1933b12359 \
--hash=sha256:b0cc66c74c797e1db750aaa842ad5b8b78e14805a9b5d1348dc603612d3e3ff5 \
--hash=sha256:b424563394c369a804ecbee9b06dfb34997f19d00b3518e39f83a5642618397d \
--hash=sha256:c138abae3a12a94c75c10499f1cbae81294a6f983b3af066390adee73f433028 \
--hash=sha256:c6cd67722619e4d55fdb42ead64ed8843d64638e9c07f4011163e46bc512cf01 \
--hash=sha256:c91fc8e8fd78af553f98bc7f2a1d8db977334e4eea302a4bfd75b9461c2d8904 \
--hash=sha256:cad399780053fb383dc067475135e41c9fe7d901a97dd5d9c5dfb5611afc0d7d \
--hash=sha256:cb90f60e03d563ca2445099edf605c16ed1d5b15182d21831f58460c48bffb93 \
--hash=sha256:dad80b45c22e05b259e33ddd458e9e2ba099c86ccf4e88db7bbab4b747b18d06 \
--hash=sha256:dd3db61b8fe5be220eee484a17233287d0be6932d056cf5738225b9c05ef4fff \
--hash=sha256:e28d62e59a4dbd1d22e747f57d4f00c459af22181f0b2f787ea83f5a876d7c76 \
--hash=sha256:e909df4053064a97f1e6565153ff8bb389af12c5c8d29c343308760890560aff \
--hash=sha256:f3ffef566ac88f75967d7abd852ed5f182da252d23fac11b4766da3957766759 \
--hash=sha256:fc3c9babc1e1faefd62704bb46a69f359a9819eb0292e40df3fb6e3574715cd4 \
--hash=sha256:fe19d8bc5536a91a24a8133328880a41831b6c5df54599a8417b62fe015d3053
execnet==2.1.2 \
--hash=sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd \
--hash=sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec
greenlet==3.5.6 \
--hash=sha256:0616b8f878098c5681fd8f0dc92d887551717402342a70f0abcbfea5f5ad8a44 \
--hash=sha256:06c0e933290fba8ffe53ead4ae1b8044b0e9754b75cebf381aa2bc3e50d82fac \
--hash=sha256:128813fc29f2336a21b4d06eedd5e16bcc7ea46f59e9ff1cb30ea70e48195d88 \
--hash=sha256:188bf333769b7145e2b0b4a7f09615ec550ed44d3a2a8395fb7b36f0e9901e13 \
--hash=sha256:1c20ea32a73d17b9b60e3371240e17b0068120c98a5ec01a224a7dd8c89733ba \
--hash=sha256:2ab5f42ac6c238eb71770715e6e909ad9a1a92b6c681ccb64cd5a0f07edb953f \
--hash=sha256:301102a49120b095e72a7838792b41233975fc1c155daec6d98f81c00c9280e0 \
--hash=sha256:311018b46472fb26ee85870847fb89eb64cc8aaddb617400789d87076f7cfeec \
--hash=sha256:3ac3494c381dab876cad7d0b22f3a722f3e0c8deb3a65b9e7f35ad7f58b8fcb3 \
--hash=sha256:3c6dede9133e1da41d561bc3fb14e92b47e2ce39ae60edefaad145658ea7c5e2 \
--hash=sha256:3dbb4596a6a4e5d47121a33ff20533a81e60f302d9e67b69909a8bc21a43f0a7 \
--hash=sha256:3deccbb57a481e3a408fe61cdfd5c13e0678fc0a30fdd09597917ca87b4be877 \
--hash=sha256:45663c01a4de48b9a64a2ee1509d92d1dfd3afb02b2ccfc9333029d11aef996a \
--hash=sha256:45bfd2b51e38aaa5f9849f114d9c7c1d75f69187c849b3549cd64c465283abfa \
--hash=sha256:460e70b033aba8ed47e2ac9b5d0d2157b05a34fbfa30a241400aef4118902cdc \
--hash=sha256:4fb8e59f68845d56c23c031dcd79c329f345e4a9d2ffac91c3d1ab366bdc457b \
--hash=sha256:520648db8fb92eef7b3e6013f5a6f901cdf0d6685f639c2f7a245879f865bef7 \
--hash=sha256:5599b380c1f28efeb724e81569eac80cd92f99a85bd9775456caaf3225d40b11 \
--hash=sha256:59deccd347735a7774223b05a93773fddbb298aba3cea21be4337fb4752dbe32 \
--hash=sha256:5a0b2791239c99992a86c1b635b787fe2a877d9eaaa26f8891ce943832b585ae \
--hash=sha256:5adcbbfe78bdc242c71740a02e0991cc1b2f34d33c8bb15ca45eee8fd1140942 \
--hash=sha256:5b602b4201b965a8354d74e232364a66ff243dd142e350d035f46169bb36e13d \
--hash=sha256:5bbda3c70dd35d60671bc33b01916802707a052130d9e50cdb871d34594d35cb \
--hash=sha256:602024dae6d77e161f4b89491b62ca1d4f19949d79d47b2db057e476d21179d6 \
--hash=sha256:61a61b4a95a4f97922c3a6f5606d3e360851584bd47e500a5161373c53810e3d \
--hash=sha256:63aff70fe5aac59c72215f42ec39fcb59ff46774fa966e717f8ecb6ee2273577 \
--hash=sha256:71890d5247020c25c21a6b65202782bfc281d4e6e244842419d30e3492bb6dcc \
--hash=sha256:73a29b5ba642e35433166a03a3e02935e7238c4b3467fbd77523b99edea23e5b \
--hash=sha256:7969bffa322c097bd46ae595ada6a931cefda613f18ba64587e9cff4cb320756 \
--hash=sha256:7ac4abb3877c43af320392c664774eef6fa2cc063c79a55fc02d844a3cbe7395 \
--hash=sha256:7f731ebac68ea06d628658295cb2d217b10186329fcf9a3b6a149045059bf92e \
--hash=sha256:7f924a5a9d5890649566f2f6682e0d8ad8ca23028bacffbbac36dbd7fd680176 \
--hash=sha256:874cea8bb1ec1ddccbacbd027856f6bf496f6bc18aba97a918c20e067edab236 \
--hash=sha256:876077e7ebb8c84ed068e2b23d4c62ebb010d60df84b9591af1be2f39010ffb2 \
--hash=sha256:886bcf1870af74c32bc310fd00a6b803445e17e51b7d5a107c7b35c0f362cc16 \
--hash=sha256:8b27df301f56e3b3d2298095c8f7d6b68f2521f6b1693e901fa039bdbae34424 \
--hash=sha256:8b7c73d1cef3d9ae963e9ff03f6222df43efbb9054ffd2f1969c935b7fc84c02 \
--hash=sha256:8cda13494d86a4f12429641117cb6ac4bbbc9c30a33f711f7d3a2e5fbe4b0b7e \
--hash=sha256:8cddea1b8339451c2fb3388e138347b6126744f33b611bdb55b7357361cfef46 \
--hash=sha256:8dba0129b93e7091dfefaf4cf7000172741bff7f47bf6326fcf17f32fbb54d6b \
--hash=sha256:8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575 \
--hash=sha256:9133d68624b1f2e89ec2f554d56aea8a5b0d7168cd9320200ba58d4d794845a4 \
--hash=sha256:916f92f2a8db10508f739d0b5e00b83defe5d1115a997c54532a6d7cf8c95404 \
--hash=sha256:9297fb9c39b9a2c039dbcd306c410bd6906b95244dec3bba4318d36c718c164c \
--hash=sha256:95e7c44d072db623a1aab04ce488cf9533294a77ed9d072cd503a3596f4106ac \
--hash=sha256:975736b002ed080d124cf81a79cb7e05cb26d6b3f5c7a7b651c0fcce70353aa1 \
--hash=sha256:97c5a53e8c1754df58e73f047a99e287d4da1bdfe64b0072fb25c87000897951 \
--hash=sha256:9a09d59bef1db94f384b5bcc2d523694d338f3df6b757aeeaf7baca5d0c0be88 \
--hash=sha256:a364c1ea75dc51b83a17f52fe0c79cf8bc4ddf740403bebd4581c7666eea017d \
--hash=sha256:a3b4a01c6da07ef9f80d4fe8933b994bc99747bcea3eab0330a9c34d3c12655b \
--hash=sha256:a5876d0a60355af98d535c47f6cd6eb0f8a432396dab26845d380b92f8412422 \
--hash=sha256:a6a4b98a9132e0f45c9fc245a63894cfd8c45fb7a0d6bffc5eab3ec327cf7324 \
--hash=sha256:a6b4ff33f7e011bbaa148238d131c4fd4f8afbab3c104ddfbdb2b12b74ff7016 \
--hash=sha256:a93ee7c6e8fd0f8a83525a51bd777be57ee17787e91d805bd8d6faf9dcada18e \
--hash=sha256:b374e79ffa7511afc11773aef40a4ccea6191fba1c856ea2f9c56738dca69d7a \
--hash=sha256:b7d501d5eb5d4f67207df364752ad697465b834268744be7581c18d81d35d41d \
--hash=sha256:c59acfa8eb73a1e0d484392dc002bdf001fd4ce73394e0132df3d1ab6093d7cb \
--hash=sha256:c75116c9de79949de23006e2d9b35ee82874c594fcf5c0311b439acaa14b8441 \
--hash=sha256:ca80a49b53ed1d22f7282da7255f7bb2fd1935fd0f623d8613fda38745f18961 \
--hash=sha256:cad5782f93f7f738b62c6527b6f32a60694d924029f299a8b524758cfa53d815 \
--hash=sha256:ccadce0130fd813ec86ebfe969a6c58b42acc1d0fe55a47525375b740e07b605 \
--hash=sha256:d701eab36200c36224833d07dbdb709adb7fd4253429548ddb5e547b8ed40586 \
--hash=sha256:dad3d233d441a022c1f7155f0fb9d5aff7b97c1ea8c7dfa02cce586b16ab2d0b \
--hash=sha256:dd0b83bed3405b586a3133629f1d1a5bc7bfd64822a3b7ab342bdc68e6dbc61b \
--hash=sha256:de3de000d459402cda015068fd135aa50c0bf6f2477a80d4da1e646f123b4e78 \
--hash=sha256:de9923832f2d8c1a5ecd8d7260465a6ca5a86888a0d129e3bd5cf0406d2fc5bf \
--hash=sha256:df19e2d0b1620039af5102563fbd96e8938c7f5c3f5828528d641d9fc585525e \
--hash=sha256:e85880b538e59a59f55117b81f208a6660ad5ac328aad9305f812d9b8bc67a0f \
--hash=sha256:ee7d9da3bf493909cf811a3f038840cb34fab5ae2956b8a263919f6e289ab188 \
--hash=sha256:eed88b64a5e5da72d6a71cdc5aaeefaa5ced9b748f8d19f89800b339961dad39 \
--hash=sha256:f0ba7c2a329d650628f4c8572fd1db29f0a59dd70a3e3e0710dcf18a35cce9d8 \
--hash=sha256:f8e63209c3e1e828ee6a457529b4a6d8b05d050fe0ae03a7ae49e967c5d312e0 \
--hash=sha256:f8f0bd690e1a41294ac87905e8121c81a3761ec2583c768f13467428606c8c7a \
--hash=sha256:f96f0e30b5a95c7631b12bfe214cbc90ec8fe8cfa36920596c10514a65743519 \
--hash=sha256:f98e8215e172f567ce80eeaed9107fb4d32b6c44f26983d9b8334658136a205a \
--hash=sha256:f9fe868463ec7e1363733af77e38a5fda3e9b63940337048c945d69e0c80ff24 \
--hash=sha256:fdacf26402389bdd89857ad3c045a26fe8f3314f9a8b28226f82f88463a65b77 \
--hash=sha256:fe3170a69fe039b18ad18171e66faa9a75f6fe9d78f968fd9b54e09fbd714d81 \
--hash=sha256:fea4427d1ffdb3b523d7daa6712038428a4c16c450b9777bdd1221cfee0eab49
h2==4.4.1 \
--hash=sha256:0e25f1462b23c9cb82d9eb02e28bc706dac2a68cb457c6a0d74d63c8a2a5d0e6 \
--hash=sha256:4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516
hpack==4.2.0 \
--hash=sha256:0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0 \
--hash=sha256:858ac0b02280fa582b5080d68db0899c62a80375e0e5413a74970c5e518b6986
hyperframe==6.1.0 \
--hash=sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5 \
--hash=sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08
idna==3.20 \
--hash=sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44 \
--hash=sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c
iniconfig==2.3.1 \
--hash=sha256:67f4b9c50da0dedf52af349e7749a80a9057a5031199791b906c3bb3ae878960 \
--hash=sha256:9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7
maxminddb==3.3.0 \
--hash=sha256:02cc5c537c4114e28d016df20038782bb58ac8b2ff0c2b565c98b2d98b5f0fe5 \
--hash=sha256:07319eff57ffd7098e03134617ad5c7f914d142e480c8c94e03c1f6de5fac730 \
--hash=sha256:0bbe7c13bfbd2f31b07814af15aa3c00143f8ffb0d29395b9eea1be6455961e6 \
--hash=sha256:0ce3807a0152b15d3f21786df65b111a8125bbf6791116f8f7fc4bfa9400f1b3 \
--hash=sha256:0de3312ba04de27cadb94cb929a70e4e766e2c6ef2e03c7fe00d539aa37ac0f3 \
--hash=sha256:0e0ee21668fc19e363220f3ada0c711840d9a2113969196f72f839e693e04c71 \
--hash=sha256:0f5eb14e7aa94cd0a527d2204eec5300990dd625312ebc149fc3404dcaeeeb98 \
--hash=sha256:0faf21b6af26e16714c1a5a3bc25ed33fd54e36cc569a6d237fd933747c2bf88 \
--hash=sha256:1522beddd9469584592259adbeb7a8e9c245c711340e3d69ec119455122cc6d0 \
--hash=sha256:1ae6c42bb73a1d1fc49c444968226d7badc692da325bf7933fdd4914f3594f99 \
--hash=sha256:1d00629a61610b79049c58a038f2b153b753a3c49705feddddd5794e0fdb8ffe \
--hash=sha256:20f49792c0cbcc7ca471beb4fe2d672166f80214d995ca1904f7cdee9ec22a7f \
--hash=sha256:21f4f14eb7952be84ad8545c47b3dc6f74ec9c9376f558bfcc3010e8f39ab698 \
--hash=sha256:258dae2eaf1d41fd2cec24c35f4416db1fc5f229bf4e166e48b95ec63a56a14c \
--hash=sha256:27dcb821921058222f482a07e0197234acb20115f1d306ddc6a8366166119016 \
--hash=sha256:28dc9fdf062804d4f45f2a1db22a53bca4efb0a7819a91135e66f5a3128889f2 \
--hash=sha256:2c2ce11abe1e95024a89c94760363018117991c5beedabba31bdb8919233588b \
--hash=sha256:2c5b2e1d004bad06a5b69287b2f5e9dc62e627d53687add975fa2eb89e8935bc \
--hash=sha256:349efe73c27482bc2cf8102a54afbfb8d9edb354251f92f153f68ba37b337c90 \
--hash=sha256:365d4f1e278062669e67911c83a5e6cc0b6a7056eb809dab9510aaa2f3598039 \
--hash=sha256:3a04a057569c7a25f22bb09d2eb3642afdd68229f553d1fce45a5671ecb10933 \
--hash=sha256:3a9e909ea42c485f36827193a0c2e308b2507ec9f3dcc20a15007d9311da917a \
--hash=sha256:3e644605506108fc186b51cb4b8d0689a9b6e645e437d3a0d44aa9eaa703c929 \
--hash=sha256:3ff1a4df2f3bed1e59cc2e6d133b5958cc8ef0809099ea1832ef9254a512e704 \
--hash=sha256:40b3221611c5e7f4e2ea763f126750f0d07cd9008cf4dcbd2be556e2bcfef1df \
--hash=sha256:4116b442797b7abe627e0602a2bd18962f6334b6de9c8ac84975be1b1275cf57 \
--hash=sha256:41c76b7477242d750ba445cc546ba4f35b5e0c25697c5152394ada7a1e09201b \
--hash=sha256:467dbdc1057ef3654d67caf5786aefca06875601620d9b82b431863d95caf29b \
--hash=sha256:46bf4d61e7756c05eeaded62f1c4972937fd1f78565e2506a186819ba066b46c \
--hash=sha256:476f017ef7de4297c67e53e2f09797e467932192308e7076db5b1e92c875c3db \
--hash=sha256:49c265a28764299c80c42c571d61d04c636a2a2ba12cd9b03ef8ab7ba6da2405 \
--hash=sha256:4dcc5db21722eda1ef390da04ac07b404776f9883c04266ebfdeb0bda2d45173 \
--hash=sha256:509249b07366262792532ec08191eb342a50310001ce9a14ecb1750b82392f10 \
--hash=sha256:5a3a7921ab8c3d9ee885ece3111b91722fa5a376413de10caff61331108c6714 \
--hash=sha256:5c35330ff224d61c10a3d3b3d34eeb9b21cbb1639a8bfe7a7a8dc9eda745ca33 \
--hash=sha256:5cefe4162a1a61dc4a9e2b9dccfe24bc6e5e5f49f713f6d4fcb062bdba1bb326 \
--hash=sha256:5d07281b67c3db198073780657e452a7d75664bddc75b462246335569475b8d1 \
--hash=sha256:5ecacf5d13421d5222368874e98bec96b634aca4743f92384f0aead15fa16147 \
--hash=sha256:5efc65479e474059ae7f85aede693ad3a8e31c255437d39aa03528dc17d369cf \
--hash=sha256:5f82f74e1e15cd828a55ab392d0fd80d4fc6d51eb31b5262d3481b7027c18efc \
--hash=sha256:610fc2a2e62037e4b23b17391897b63be600fae99a92a7ae68169c73e7a4a4ae \
--hash=sha256:61acddb7247a405fe944368574d44e11bc0d1dcd6b61008abab75d0f5472e6bd \
--hash=sha256:6267226f6664c3f0260841295ef0c9af70a6ba05b70f2dc7475ac560aa3fbb90 \
--hash=sha256:64f2d3635d2cc9dc5271d84c4d05a4577b60e10abff5af52b2fd6b60959107b8 \
--hash=sha256:71aba1b8f867e62724beae2a23fa92cbf4276375067abfd225d0ac1f021ee500 \
--hash=sha256:7a9ad4ddddf7bc20798975a1171cbccf7c0f50cecb3e86be30659253d2d8bee7 \
--hash=sha256:7b81da613941cc7d9e82db57c1772f6bef5c100954cacc7d9876232aca59505e \
--hash=sha256:833121c30e701edf8ac2464b1c310607e51a3f54c0f26b2b9922344f363e596a \
--hash=sha256:8827cd2d85ef250460d9dd96a0e67c57ef8deaa14599caa3f06e290cc1838389 \
--hash=sha256:88d6c904009e5bec0e6a38ab5dfe421646a0d14f7084fa86a8b36142117418ce \
--hash=sha256:890bc8115b8750fa4af1cd548b1064e844f4804ec39527b11c794830bade51fd \
--hash=sha256:8ab285825e128d211f31d11a46517e44235bf5dca79cba9a2cb1f10bcf99ad27 \
--hash=sha256:8ab7572acf78e2ef8d630b667a0b85690278221cca76339803488fa6c1272786 \
--hash=sha256:8ac0f9fdd7e27f5b9815684616759bd6fb367bd37cd7f4217c5aa5c0541f0aed \
--hash=sha256:8cb0027692908d9c302ba8dd0dae0eb8a9955b7ccf72335b4651ef66778df284 \
--hash=sha256:8f12c30c765cd6181bcd91affc2f0138f5364daff567f4672a9ae7b77e631480 \
--hash=sha256:91c1cc2989d4e392a37c26de67505a79ba213c90eecc83740b7c81e2df3e60db \
--hash=sha256:9639ca7810411293c9c576ed9843d3e7a8666474a1371fd9982a6f62728e6c35 \
--hash=sha256:99620535d26c8da868bae2018affde754e59e5b43b8705902f0f4a6003356a13 \
--hash=sha256:9a1bebada95181fd1602ef554e9d5d36da00403691dc8520efb99751c52d9162 \
--hash=sha256:9a9c7ada72b6af6dc2920be812867ff17cb6168892f3cba87f052986d2125f2a \
--hash=sha256:9add6485ddb57071d919dcb8ee98617392d143ac39dad797d9786701d8397c7c \
--hash=sha256:9cc2c7c166f87080f1471f1c1b256fef57ff9f3db436d69f1659837b98793d98 \
--hash=sha256:a00220f8c1b5427eb541fed03329ed122b731de571f9379ce1c7b235ef43e75d \
--hash=sha256:a04d62ae564795a630e4e375b30ef2166933ba887862f825494b2ad40cfcf622 \
--hash=sha256:a2438674f20fa9a86961ef121d0e07baa27000e186356ebf29cebf1af3ea9db3 \
--hash=sha256:aae50ff65f1252476587c351af9b6509bef7931bafe2cb90bf76f14fc4a2c1af \
--hash=sha256:ac035833b9792e045eb425c887b95a2e31ef657edf7923c5e80989580c69c604 \
--hash=sha256:b0006b64890a98a88faf89cad185deb7b519c0bfbf405a8273ede74a521b64fb \
--hash=sha256:b4b808b90b6f7a360d7bd7a3c5093e072b8a7f5c8e58bad9747e7f072dec9434 \
--hash=sha256:b7ba63a56028e629205ecf09820a92247a43f2ec90177aebbc745a36d7504805 \
--hash=sha256:bb4bc63ec6599362f7d8dcef412b17d7231a828af4ae0961f570a99a13096f72 \
--hash=sha256:bda0e715d702b847ab2082be1ef298f2b4a6cdffb72435d9967b057e88e8d8ec \
--hash=sha256:bf0d031ae8536c3f255db2677712f32802a3075e19c5638fb39868e439fd8dfd \
--hash=sha256:c56dacc8b9a4c85c62e5363ba718f628c93ae542df9e2d4c806362ac823d99be \
--hash=sha256:c85a62953aece0e4ae5ae54bfef64bd6b5af5945febfb9d587cbca848b9e4bd9 \
--hash=sha256:c8d81122ae0c7433ff40b32ae15b033e092ab2d00a2dfdd14f1a281e5d34015c \
--hash=sha256:c928a8ec2bf02166fdb7ea2f7c34221a4cd7870efe9eb9880adb85c994e9d044 \
--hash=sha256:c9ac07bb579fe86b61eaf1afebacc814be9310735e57764b18ccdb4988ef18d8 \
--hash=sha256:c9caa99bc6c724d83b28ecb047ecf4025df3fca551dc55361277fa24fcb41294 \
--hash=sha256:caa27e2adfaf74e9543f7cab81c1ce7247ff6a916fa122aa5af9e2bf9ebfd074 \
--hash=sha256:d09e124045edeaa0d81f3682e58b7b7e4c661f7a4b5ca1fad51746ef3b88df60 \
--hash=sha256:d2c45dc64167e177241c875e43d6baef2c36add9e1494bbb695a802eb8958e1d \
--hash=sha256:d926424a2ab007733913698f85d229e3cc5063fc95fc425b9088ec565de35a84 \
--hash=sha256:db36ff8dad59bc58882ea3374f191557783203588cf9aa2f9c4542adce36eb63 \
--hash=sha256:de07a78680594a9b4c49bab13c7b3d280068ee4846a1580787ed3ca800e1604f \
--hash=sha256:df8121c8af59e9ec51810f54d47d3bf9b89ac20a8305a890d5b97133325d10c1 \
--hash=sha256:e0971046ef19aa64e77446e45d8a87a7aa4a7b867312253d0ae90f12dd53ab6c \
--hash=sha256:e1dc4c12292fc9629a95daa7c98ebf74cf59368e62b5eec79975a2598c91b5e5 \
--hash=sha256:e30ded32a953398b001a8856ddd2eae2ff79656cf25db62b26fdf8fc3e7597f5 \
--hash=sha256:e31dd47a404093a3b257285c70e230bcd76952ab11c1b326c21abe400a252a12 \
--hash=sha256:e4bf04ee9373307becc3e6cb70ae47b4c0dcf9e566d5f9bf59a97e569ef7d38e \
--hash=sha256:e621394915e565f671958e2453e5fb6cc7e34552c1e51a2768686d4b1501c2c3 \
--hash=sha256:e72ae1be344ee834ba6e9951b2a2b4866968f85443505078847b139549921884 \
--hash=sha256:ec86c26da32501ba0fa0ed47de784c61500614b1b2d9e2a78e6c621bdd17d2c1 \
--hash=sha256:ed94f267f0c5caaac4ab2430b11cad3af7b98a882498ea73101776ac881735eb \
--hash=sha256:eda4be57322b09230af7e3cbec89f8f3f90709835137902d5d741cfecda862fd \
--hash=sha256:edda68f4ea05a3ac537bc1505f916019d7a9eb47d88244904713aec5a2761421 \
--hash=sha256:f0fdc32d7b2e9890de5bf5c24d11f0740bbc7d137b97764a2e47374bbd581efb \
--hash=sha256:f198f726c515dac34a9a75fe663a475506f30b430631e10ea8f14dc15370154e \
--hash=sha256:f19a0a42d3c99a80edd14d0bd972cb83993989c714d54d41f5fe170031aca7b8 \
--hash=sha256:f21ff2e354e15b865af7cf393366c2c5b1169eacd5d5b1ca3660ac10a04706f1 \
--hash=sha256:f22a60827975d1ef37cfadf87cafda030e669c1b298deaee823e1f45cef7f886 \
--hash=sha256:f5a7a57ad94f2ac03cdd8f345c1d17f33a97f12fe75ff04c3a0d050fce91cad0 \
--hash=sha256:fc6bb1b23a4614377d6ca090e01da624d5141193abcc58be27b9bbe67ae86d02 \
--hash=sha256:fcaf3aa27b2872da169818c5f44bd55161ef509f83216cb9669499a0aa0f41cb \
--hash=sha256:fd7a6faa680a285f2747d22185401f09dbde094e40267201e743c91a8c6e2813 \
--hash=sha256:fff5ae9e651fb2098b8634e6a1bbec07077279d2fd0f20a1da529b9353515336
packaging==26.4 \
--hash=sha256:81383611a09c1bc0b08b76e0fd5829d7c6824c65b27a6aee339da133f4233ea2 \
--hash=sha256:c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a
platformdirs==4.14.8 \
--hash=sha256:1e34af590de4d978631b751eb2202f2fee4497537a17c1720b12fcf57b331392 \
--hash=sha256:96893d686e84e9e6f358a9ea41a8de544df66dbf2ba6cda250e7dc73acf85b9b
playwright==1.61.0 \
--hash=sha256:009588c2a7e499bc5a8b425b61fa65490968bbda9cd69e0cf2cff10f8304659a \
--hash=sha256:35c6cc4589a5d00964a59d7b3e59641e0aac0c02f15479a7af77d20f6bc79597 \
--hash=sha256:372d55a6f1248fa1dd47599686980cb8fb5bbe6fcda59eab793eb657c11d8a9b \
--hash=sha256:54f3b39f6eab832e33458c1dd7da0b5682aedab3b09ae731b5c59fa12fd2024e \
--hash=sha256:93454322ade8c11d5d6c211bfd91bdfb9ffb4810e3e026371bcbc4bec1b7ee4c \
--hash=sha256:9f7de4536088d12037c13a52b7ea34b59270b78926bb56935070597ffac6b1af \
--hash=sha256:e9fcbffcf557a8620fdedd92491eb59a32d18e23d6f3b4f6214b952be324fe51 \
--hash=sha256:ff138c3a604f69911e9d42fd036e55c2a171e5616edf04c1e7f60a2a285540b0
pluggy==1.7.0 \
--hash=sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec \
--hash=sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8
psutil==7.2.2 \
--hash=sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372 \
--hash=sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9 \
--hash=sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841 \
--hash=sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63 \
--hash=sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979 \
--hash=sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a \
--hash=sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b \
--hash=sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9 \
--hash=sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee \
--hash=sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312 \
--hash=sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b \
--hash=sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9 \
--hash=sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e \
--hash=sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc \
--hash=sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1 \
--hash=sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf \
--hash=sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea \
--hash=sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988 \
--hash=sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486 \
--hash=sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00 \
--hash=sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8
pyasn1==0.6.5 \
--hash=sha256:4017b0fce125096b8573b39c989fdb1a4b19cf761e683398184550fea0e66587 \
--hash=sha256:6b11616a6bcf3a40e635f082bb232fa57b5e0dd7f517bd7ddd69ec3794508a47
pyasn1-modules==0.4.2 \
--hash=sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a \
--hash=sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6
pycparser==3.12 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
--hash=sha256:a076f3f489b39b43ed13563a1dafe42447445bec2e294154ec5c57fcdda4c85e \
--hash=sha256:f03387877eab82ce01bbdfd0ba7252ee55a90b1c708d5129e2ce915475cf1db6
pyee==13.0.1 \
--hash=sha256:0b931f7c14535667ed4c7e0d531716368715e860b988770fc7eb8578d1f67fc8 \
--hash=sha256:af2f8fede4171ef667dfded53f96e2ed0d6e6bd7ee3bb46437f77e3b57689228
pygments==2.21.0 \
--hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \
--hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c
pylsqpack==1.1.3 \
--hash=sha256:11242dfb87124853c1af0931dc766c34f99e000ceca9cf1912883297b19509c5 \
--hash=sha256:20e870f903bfad70c3b65536049091d5d325367bcde6855dd6d2b7b419c45ae6 \
--hash=sha256:4cac49c32d9f455bea012223b8e2bc64e79d4b94eb8a8a7f60a239947b09df97 \
--hash=sha256:6ba422e788309d0564f80cde1704d8857ae288951b7707f9fee7ab660ae56109 \
--hash=sha256:8fdb02cb2d4c7e5b31ad6959398ccc2d6963f449f5776bf754a3425fbbb830f2 \
--hash=sha256:b220afff798cf59baf15489a4f1bd8d5f167d0f3224695380b767e8dffe8316b \
--hash=sha256:b733be9fc7ea9ac37945a3333a11c79838d8d9886fb9f6169376fc258333530b \
--hash=sha256:bc3967c423fbba759b4353d0b467753b8f510c6f769bf3f68317ac4b8dfef9db \
--hash=sha256:c1f1c495c161415a371535e524ab1a68753fe15c6534aaf87a3a50bfd804e85c \
--hash=sha256:cd4de1c914be239e99b6251f0c03ceeca5fe4d19dc67b727e921dcf3d3587d4d \
--hash=sha256:f25a63d645a3e3ad59c5d453048f91b2d9b0f3655b146d1491c18c783d584a56 \
--hash=sha256:ff53d63bf96a90973fbfceb7381c11bf1656bd9704f703259f9ba38f71c6040d
pyopenssl==25.1.0 \
--hash=sha256:2b11f239acc47ac2e5aca04fd7fa829800aeee22a2eb30d744572a157bd8a1ab \
--hash=sha256:8d031884482e0c67ee92bf9a4d8cceb08d92aba7136432ffb0703c5280fc205b
pyproject-hooks==1.3.3 \
--hash=sha256:5fc53fdac9f7bd63fbcdc868fb5f90b4784d78a53a3d3388cd738b807441a20b \
--hash=sha256:defda19b854fa0d3bd4f76ea4ddcba8abd7dcfcdd585a6690ade050744fc5f43
pysocks==1.7.1 \
--hash=sha256:08e69f092cc6dbe92a0fdd16eeb9b9ffbc13cadfe5ca4c7bd92ffb078b293299 \
--hash=sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5 \
--hash=sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0
pytest==9.2.0 \
--hash=sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588 \
--hash=sha256:97c4f3b1f3c7414aa36465e09b8220f1d03627993bd51b1282e193753c80557b
pytest-timeout==2.4.0 \
--hash=sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a \
--hash=sha256:c42667e5cdadb151aeb5b26d114aff6bdf5a907f176a007a30b940d3d865b5c2
pytest-xdist==3.8.0 \
--hash=sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88 \
--hash=sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1
requests==2.34.2 \
--hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \
--hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
ruff==0.17.6 \
--hash=sha256:0692088e6b33455572fb18465e891b443f196e98dc1986825685c77ff6f4c5ac \
--hash=sha256:084d9c8f5ec718e7eba007dba339e7cb4f7571d2f267558ae080bf428fb6a69b \
--hash=sha256:1939b3d701c7b6981b7cf93473de5bf88b129b9ba84efaed5154cc517c44634d \
--hash=sha256:1a0bea6aa1216e0ec4cd35d3dbccec0d772a7c2aad28ec9c6e82571dff2c20b0 \
--hash=sha256:2b04276561331300325040bdca21460770029ec574d4c479099e39e8ad1ed43c \
--hash=sha256:3db61f5015600543a581b07fa7f6f64afa0eeedefe16034cadd88c4074087582 \
--hash=sha256:435241c61af5909a022f76219d3d1bf24730dc1bf0acabb5ddf4b569ab3cbb30 \
--hash=sha256:6a12c50a33936dc00db2be21ba25fb168a8b95c55eda2a3ac85005af69885e4b \
--hash=sha256:9cd2fd9923e9806b8b6b67a3469e2258e84bd4d21e45d5a1a690afdfb9c8e57d \
--hash=sha256:9d44ef2140402043fd6f689ef541858b80883a8b0a02e38539ef0614ebe57d0c \
--hash=sha256:9fbddc08577592e283c265d865e0182de6e33db185494db7b06290d989d888e5 \
--hash=sha256:aa3b08254a732acba246891089a152c47c5733dc36b8ecb76ce8602f8326e5e4 \
--hash=sha256:b5aba93b3db4b70c5697e4fee6e0d5b9c8452a9a3a03679611cadc25915a2173 \
--hash=sha256:c2f4af6670b7a0501904e881bb3f1f24bd0d964dec1eedbd85f0eb73786e1128 \
--hash=sha256:d006bbb2945edb17b0ce6a0c1b5f5a8d81ba11dbac294a0a925effa22ce34feb \
--hash=sha256:d8b14e1473dc86ab9069cf7a2ba5041dc012f59110201844ed04cfddf07055a0 \
--hash=sha256:fb589e032806bb942e4fb526f30b80a1a64112147ed9f1d38cc3de2e255b6f45 \
--hash=sha256:fd661702202a89c00a4c9d0339008805fa5876bfa1c57e165495c2e62230dfbf
service-identity==24.2.0 \
--hash=sha256:6b047fbd8a84fd0bb0d55ebce4031e400562b9196e1e0d3e0fe2b8a59f6d4a85 \
--hash=sha256:b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09
typing-extensions==4.16.0 \
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
tzdata==2026.6 \
--hash=sha256:0a10eec6e13ef16b627fabed9a5f2ba61a62b1c67f327305f4e7e412a70b4aec \
--hash=sha256:85d2cd9c09f81f0bb29db27759fc83af4f1e620efb814f8c5bf8b4cc4feece6d
urllib3==2.8.0 \
--hash=sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3 \
--hash=sha256:63bf2ead4c879426ebf22ef2a781eeb4aa3b4ae798a0435506f8687fd5bb9b63
uv==0.13.10 \
--hash=sha256:19a76fd50a6a2bba38ee088d8336566856569be08196865f98132a08806581fc \
--hash=sha256:2a9ff188b442419c7aadebc445fcc1f287b25f99af50fa6d563b90cc0047b7cf \
--hash=sha256:30e75714a9cff3aa56281c7bf533a4e93cb5bdfcc0325d3aae54b9106460bd63 \
--hash=sha256:3bf1c1b13cac2533a342ca16b1c5f41347cd399404c9477a04ff79c5f7cb4dea \
--hash=sha256:50bee2a59ea9422b493aabc0cde9288f58fbcf6e8d688c30c4ecd8309459cac1 \
--hash=sha256:5bcf77c50760146ff7b41022ab7aeb1954d42dd47b89fad36b43a1a8a43da994 \
--hash=sha256:771a749b34477501092c9fe6d5e52f45cef944d875b0f2e2c989047a2ee647ab \
--hash=sha256:7cc9c41b43d583e34c781fd3446405b06e9c5fa2db468ce2a534d353db6429e5 \
--hash=sha256:7fa025c4b0f33b9a5357252e1be058d94157e13bfb8ae45d7e27cfce3759c65d \
--hash=sha256:8b0a15613aae9a3e1c134bb5ee706583af0addced7eb1add992f8b1b3e3a92a0 \
--hash=sha256:a52ee170c00d4de1d42026c4dbb00c5d7f327edcf2b2bddeecd0cfb169868ac7 \
--hash=sha256:a9636b4430a9b8a37ecc4d85111d1fd2560ef616edf5301b84f474073bf89e2f \
--hash=sha256:bf7174b00c88879d4a1019b51256bbdb2dd61c55c7dc896031e16d090e380ce6 \
--hash=sha256:c85a2ecb62d09d61904f5405b525fcc51f971d081f8508a881fa2f9bae7543a7 \
--hash=sha256:d87b9cf8165f2b3cc596e856b5bf794da9cfad6d1b110ca9d87eed42a15b3684 \
--hash=sha256:e52a1af7f97b717572f9e2bd69e54eb253b2c88a705500e35811c21106c439d4 \
--hash=sha256:e89dd26ea831dde70639ba0a798fa04a4c7c0226fd2b241da86218bfa370e495 \
--hash=sha256:ee3bca6523ed93c3ae0d1a90c2733be307f5f7cc5287c746214e93a3bae0da13 \
--hash=sha256:ee403b6bbcfda1bc7db269be5c40c1624df27b3b838d3f8a416648e00e2de5d4
websockets==17.4 \
--hash=sha256:00ad98e4bb0df7a6711c645eec16d5a9fdf99f0692bd4f5b6cb85a68677ba8df \
--hash=sha256:0132e3cbd3f5cfc1ec77588961b302d72a02e2603b82c2c23fd5fb59dc4fa206 \
--hash=sha256:023dc13bdc42a55e152acc81c39c90ec6cc4159ed17d23c6d73460fa2a73ab16 \
--hash=sha256:02f380df26de14999ecace203fe1396ac14d1c6132afc7924eb6f8c8b646c69d \
--hash=sha256:03ddf4eb76ced8725dcbb000ff60b0fb8d7330ed011f6dc725a1925c5fe02051 \
--hash=sha256:043945a43873c7c11a3f75238d475c95f902e967de329eb8763704546cfaa6b6 \
--hash=sha256:046ed16d3d83d64594e4a40655fef061ccf36059d8c30a01feca8a9481fe13b8 \
--hash=sha256:06ea46717553cdd10f2682126cf7a66e91c8ed17b6969f4a95e94b4e01d06188 \
--hash=sha256:09d3939b70df0c8ad2da145ebd50978bccaee1d565e838b0e7921a34d38571eb \
--hash=sha256:0a57b99f2e28922b5a2434317580fd23fdf118caff4c5b752f5452836426205a \
--hash=sha256:0c22a9c6b2349204f56123dd0ca7779e989d68e336d0dc02ad823485d44925de \
--hash=sha256:0dcce83837328e6795225ead920d3aa8d867cc9d6922aa558b0e9111599fdbb9 \
--hash=sha256:0e51546a3bedadd80dfa5c2efaed840ac51b8632d8db7f9f502175f5349382a9 \
--hash=sha256:156221ad7638b5abccefd6f798916bf3f8ffd6ac51480eb4ba5b05df914ccbf3 \
--hash=sha256:16550e24ac22c27e0a728100d8de196b5f054bab6748ef9f0b168fb8b3c32e35 \
--hash=sha256:18d3710becc612ec6f0229425bd6495133dfcbf30f7b6569585acc8ed2f1b452 \
--hash=sha256:1962f3bfde085af18878f1bb1aafb300c9a6ac33da886d0b0d97e33c9ce7a222 \
--hash=sha256:203e42eb77e06f85778a908b34c5ad032f34e98a68ef33920d6685c1e65a9420 \
--hash=sha256:2103982762460a764a7ef0021443bb471f46d45ecc6858276e4fe699ebac6b94 \
--hash=sha256:25eb661d8ba7e2b85ebb4e7a1bb9f6a3280910ed10b84330a7abfb5ed32d2764 \
--hash=sha256:29b615c2d5dd883f89c107a782681b73a7aa8b2bd894130310e45eb09b143913 \
--hash=sha256:2a9cb5bbfc33b4ebd3c8d3714d6e09805437f60a14977774e4bd11b5ace46c23 \
--hash=sha256:2b23dacf7a8a88afe92f77bcdbf4cf043a84692bac2f2da02f4011c687e19b48 \
--hash=sha256:2fd562372d4afaf18d1c7f1c68e39bd32818bb16d5f57f778a4a4ed88eedcaae \
--hash=sha256:32110d954d9d0e51f36edb0396673bf4d35193a0a80ba7013bf7f7d58a33ca07 \
--hash=sha256:332b88022d0acd47c44158bcd43f47f14eaddcd979247f242b1a33291c45cdd1 \
--hash=sha256:361f9a21a33191d5287e7a75f508fc3b9bf47aaffb0241198d6b7be3384f294e \
--hash=sha256:37ed7782972545e67d97ef9a172e9499d25459b1e32cb99d1c2a30c572f2441b \
--hash=sha256:3acc45494c08a4d27375a2c28474537f68910219f42624a08011221b04623d04 \
--hash=sha256:3b76837cd051d8875913f3934b27205f7a592f78b8a4f4a1f3abc36a2420c5bc \
--hash=sha256:3b78b39377630a70aa2198e5f03be416e690364a046b1d8af80a9263733083d0 \
--hash=sha256:3d27153a0413696767b98b5d96173a2a7e27cbfca02000a6069cea7b977765a7 \
--hash=sha256:3d512e3a6c528c42ce220ed9c3caff83c6fdcd98a1b98249f08ccfc66ad111b1 \
--hash=sha256:4073ab7cefe5a2e7dc368c1f01eb27716dc8ea8f1c69e9b7725ebce05aa53cf7 \
--hash=sha256:42d7a6e818214336cf7af9a3aae5c6923f94f09fa07ac5aab98268ba2a98a6d5 \
--hash=sha256:4441d655a53185ef1b01b1d42ad9b3a96b905110a9219043e3fdaec855ba3b6e \
--hash=sha256:47beedf07a706140b50786457e082497ee6b5970c41e49bcd1572ee3f4c73f80 \
--hash=sha256:48c83103f82fce36191a9e3a8a80731d4340e2da544eae8c5aaaf6a45280e7d0 \
--hash=sha256:4b79ea31cf277c72d2307c6cb8bd32a2c151959e80a2f24fa85df620c5f2860c \
--hash=sha256:4c792e6cce24d08f92199d907785c9e64f74c357deeed3dbaf7d699ed5930b64 \
--hash=sha256:4d2636a5b61c69e32db0e74b57073dd4a66f1ad195e9398c5f01bba41090deea \
--hash=sha256:4fb2db1f649b6464711846b5bb9c1611bd906ce939d9460cbd1fa419552cd6c3 \
--hash=sha256:506623128d7a55b726a5a46e4c9a8eae4c9dd0f04ff60b041fe7df85b9d034fe \
--hash=sha256:51adfc30f467077293a6695d8149bcef501c0728386f3a491054f835dadb60b2 \
--hash=sha256:52c31d123f5adf14dec694c2a4036bf42c523df7cefc641d31cd05653de56e49 \
--hash=sha256:5830f94a7190a33e55d06d89242ea951ee2009c3a27fc31538f3ac9386b27edd \
--hash=sha256:5cec3e7fbc911ff4fcf43b24aaf1b96906381ad36030f42897def3ff4b78729e \
--hash=sha256:5da7f7f1ecf866186f195f7ecc374c915e1838496b86f2f3b41da27c798a25c3 \
--hash=sha256:5ec906bb21b35e66cfdcc2ea0133f249f52b7d89e3e45ec8d2bd2d84a0255d7d \
--hash=sha256:5f772007dfba8941873dbd276b6a6845428cc740888b5c6c37bf483b1ea34b42 \
--hash=sha256:648adde345cfd13335342e23cfe94871c7f7f55a43fb254f3b95acb071072968 \
--hash=sha256:6531540aa63e6864cb0615a3a5da70ae03191334507852a5385320bb7916df3f \
--hash=sha256:6597a1f7413189b4bc58437babcdf39b79da416e5c477ae98323a88ecc108188 \
--hash=sha256:6686d29eaafddeeab9e48af92103dc0d26161035faa4be083b8b488f1ab47219 \
--hash=sha256:679eef0123861ca381dd8fd9bdc1920e87636ac55eae6cff875c53dcb05fbcf8 \
--hash=sha256:6afc32a7a1a40b071070419537df3559d26907086556769683fa97b7b6e90fd5 \
--hash=sha256:6b061ea7ca94966af7cd7a87cb189ff15972c103244611a2b1e8408c04f1dbe6 \
--hash=sha256:6cf4c002268da5c11cae9083aec71ac943bce9d95e0f83c8bf9a95a3ce421fbb \
--hash=sha256:6e6558efbb256b532c9f06a21ba42bcac729718e365c505819f181f25e5c0eca \
--hash=sha256:6fd8cac4907fec8302726d49e6969acfffaf720bc39b1cee23f473b81f4dce01 \
--hash=sha256:70293c25d79d1f084fdd665894481547575e429d2a75e8d72caec2f6b6b07af8 \
--hash=sha256:71f76bb8e59be847330b8a8d3753f85397677e128f9f9692c215f8cf721cefc7 \
--hash=sha256:725be1aff55f1c873a79cea0f612df9dff21a9d2c2e05783665b824b8aa7c24e \
--hash=sha256:72d0a731eccf482d5661c6711abfcd5921f3dbfbbb0789061e1918ef4bc89c70 \
--hash=sha256:7390e060f830b3d132f484b21ac2783a2d227b682ef62bb8146e1c1b4ca0e45a \
--hash=sha256:73b00645316121105274fd266ed54a20e6514650126d399cdea39876ab1e7b04 \
--hash=sha256:74e46409666c358b93fce0d8c6f4cb107d8dd7cba1302a38d49adf6fa8193c7e \
--hash=sha256:75b32cf33ea40f945f226f97bc1d43151e1a5adff21f420b5e63c468b1a28114 \
--hash=sha256:769e4f7b090e10cae4c082e3e39b9458ec2444505df84953c16c0468b16539c4 \
--hash=sha256:7849a096d6fdba3f2bdf849eb89f2d233a24400c92faa3efb25fa8dc615b706c \
--hash=sha256:799c5a23126c9589cb10b6c6b54f9087246940dad20cd74bf3f06fc9ae3bbab5 \
--hash=sha256:7a7e9321822ca59ba56fa8744c3e3f01ef74d547aafe0d383d000d7a4d11eb79 \
--hash=sha256:7b23db4b469d9e051ac74d96db9bf61e27c9054de64f8263fefa32bf72867ba1 \
--hash=sha256:7b4ee34acefa9ba1333f02b817982f1e4127f6f9b975017a707c4e738d7f9fb9 \
--hash=sha256:829bcaa90be8737c132d9515d6a466e8528e3b3d050d3f3466f36ea94d3beb48 \
--hash=sha256:8588edf317fbe4f16a949bc5a6ccdd22b6e6fd5b4745d128bc40bccf31024ce5 \
--hash=sha256:868744c68e9342768888c7326604da2228c19bb6946aa46b5f9e1ac32ea8d40b \
--hash=sha256:88ba8a439b2bad97bb69c38db5bf0ec16a061ee834cf0f244089186ee803e899 \
--hash=sha256:8b45d40f07081b377f0b837ddbfba4a9ab4a89a7b569d3c095436564e767a27b \
--hash=sha256:8c00c5c49f80a588a2c4f99d519d2abed4ce26cdca11273041bc8b7e60af60de \
--hash=sha256:8c51ac7b31578a7275650f580aac985940985b6d2e57247ac6d5e07f2c936cd6 \
--hash=sha256:8d148b4b295224d3a19e7bd9f02ebe7344de254b3b2c4d0628ce42ade0bca119 \
--hash=sha256:8f32a6cb0b101170abc2d8053af1473a2a29ef2a06d7130994ee8455a50f5dbf \
--hash=sha256:8fd30d217a4275107667fe1d4f601e2d50c797d0727148cfbb384536d65f04d3 \
--hash=sha256:927d602fb8fb595a69e6b1ae998a6ec19851d0fb9391759456e6425090996647 \
--hash=sha256:94622cf24e80d03054ceb69a06a86c950e12fe993ed06b933f7895232cacbc3e \
--hash=sha256:954d43574f72be244b65f0fa61e2f814214b024f2ec849f487aa2f553f7c6e71 \
--hash=sha256:98f16db5e79f2605194c0f899d0532005bb12269e698bf96f62a5635bcf33010 \
--hash=sha256:9a4e95d56994a45ac76541853796720436ffe462957d0b1b89e87ff3d3b1627e \
--hash=sha256:9ae1429ee9e52b139167ed0169757806a27ed7307e942e8c62037a9184e9843b \
--hash=sha256:9e282f35ece8895b9fa5af406fc6a4cb42f01e1009525cf46641de584781c83b \
--hash=sha256:9ff89e36451a19775e7556d95ebfa4a0b24b84cc87565d6b5d0ec8ea82bf3f2c \
--hash=sha256:a0457561e8a87a6a3b509e21c35084d7d207ced262139de3f738e9676a476bbd \
--hash=sha256:a50bd9b44dd9b7b845802030b4d88610c01c7f95571b4cbd3a1aeec17a34c9fd \
--hash=sha256:a703f23ca15a51251fc94f1774683f5aa511588a7ad6bbb83960cdb2a4dcd978 \
--hash=sha256:a920e99155d75d1b1c08172da8aaa7200e7b30871fb628d1631d7891a333e30e \
--hash=sha256:a9b0026538719f7a532998d84640ab2e91ca1a051ce4b8d924fdcb607307e921 \
--hash=sha256:ab9e4bd60796866c578e3afa0a17c98636887827a39c2e238a61989c18fd8e7b \
--hash=sha256:accb5e9492b9bc9c9aeec5b72ea8f2ddcbefc6143d1c626fba960ecbdc89807e \
--hash=sha256:ad2e9e152bec6c4f7e4cdb4adcea6b708400090eec04bfe5ee5b30d368ffd721 \
--hash=sha256:adc30e5d064c9e33049e825408fa4e952f4e8a0cf4c329dc2ded72e1bb5bae08 \
--hash=sha256:b529ad6c81ad21db2f4e3d6e33db78ce3b9f272066b438b5d673361f9282898d \
--hash=sha256:b6c7f91520c29420639925fd1cecceac9ca07366b50c09ea24eac1cd116b4866 \
--hash=sha256:b7ea61af293a153f2d67430038cf0efc10140caa623f2bdf5a9f5a457ff20f57 \
--hash=sha256:b8451f31ae24620cc9372acd2728d87922f2bb0cae3fa57aed68b152844cdf08 \
--hash=sha256:bbb6bed49f083e2ec8ae0bb21c00c7c5171ab8e08a8b008c61a43fc6c944fdac \
--hash=sha256:bc581579885728bb54ef15000295c20e6a64a200b1b73d5cfca71879a3eb3e1f \
--hash=sha256:bcad49104711f88b2b7c3ba166de172857d837248205e541b044a552558fecc3 \
--hash=sha256:bfc86dff091104eec770c29ea1831dbe191968a70aa2d8ae8eda3240d863970a \
--hash=sha256:c00f0c45851a2c61efffd03dde8fb4d594026b5cc18196c94e15460f1225f2ed \
--hash=sha256:c0cc2cb47face4dae64bd70a9268dbebddb3e48c1b48cf6d7b6ac1471609fd88 \
--hash=sha256:c2db7b9e2d726f7e051bedb67abcf460b84b11437b2f9fdacda7e6931dace85b \
--hash=sha256:c44776f82b04e623eb9e1b81fcd17ac6e9808ae1ba5cdf8edce1f7c869a95a9b \
--hash=sha256:c564d1e6531611bf87078c28780456ecc75459dcca189629fff2fe7c020d8e67 \
--hash=sha256:c568e72f5425a74616daeb824afe28da460cbeea036432f41c6af5380b83300d \
--hash=sha256:c5e970d3996c597186c9dbb6e77a8048737a834ac03cb13186a54999e0e1c31e \
--hash=sha256:c634053459278cf31fb404ddb5ecd38124e4609e8b609166da621edc2d5796db \
--hash=sha256:c63c0d7832956d5f3bb77888b93c854569d13f806289ff75c43926d25c6e5fd2 \
--hash=sha256:c6bd2c9781915592b209160d0f017d4c7c82ad53075e6b0c24d2a89299e7f9e9 \
--hash=sha256:c74954409ea5789f7a60daa5f94580c00ad0b60b20751c47b35c4784877b5057 \
--hash=sha256:c7a56140fcbf4662cb263754a754c651a16fe2196cae1fd232d18f89acd30c83 \
--hash=sha256:c7b996c02de5e032cb63dc65482b73693b7ecaa586654126be2749ddea239c40 \
--hash=sha256:c7f66a53e9b7ec831abb15e3d9b6cee8f52d6a24cd0a374786bf46c3ec218bc6 \
--hash=sha256:c8052c3058c402d53602583da5ddcf1a15a63ab1efe0222f47c7be59944e6463 \
--hash=sha256:c9f8fdb7bbefc4907c2bb3593f810f2b67a2d5329e1d38724a1aa3d763cf63eb \
--hash=sha256:cbdf4b42f4514422051889424fd03bc269be8c5d751bf39ec29ad761590bd10d \
--hash=sha256:cc0cd4065a65ac98f3e2742ee9f314da9d224db49b07dc17d3a20cef0d79658d \
--hash=sha256:cebad8f4796248b91fc2168515e507e5cb6b663a32befd09f3b1e7920acdcb1a \
--hash=sha256:cf99debb17227a50620aee16647bb33a0387f5fa5418d628666c0f05745e0d2a \
--hash=sha256:cfbbba4597f19ad717f79fd3f2a67ae7efae647bd6a61e14554e1b5ad242a5bf \
--hash=sha256:d0acd8191c0e5a61d1c27bfa33b6ec8431982299f5d71c02129aa4f16f182ad0 \
--hash=sha256:d0b6a9bd86f865ebc9d847a1eb0a655a0e2b447cbcde743dda97c4298415cc0b \
--hash=sha256:d0f943b53bb1d7389d72a5380078670e5fcc34a1328142148b72d20fd82031c7 \
--hash=sha256:d48795c7d64ca1c42e3d61fcc6478cb15a19b6ad3f9c882bc8d8dee49d4a420f \
--hash=sha256:d8255971f6789cf0cb365e3e22b9b166eba978548a26241eaa5b7af0440d885a \
--hash=sha256:ddab54dc0ec46ed09ef9ac131252cb5740ed21fbe6fc145f3c6fed0b575a8f15 \
--hash=sha256:dde9cd67f18803949ebf96de8aba12b8ec5ee3115e34c75a2db85a3b0a6c20d5 \
--hash=sha256:de29795f23833cdfb68ba45c8a5cc0ec49778ea5deb670188f4465bba5930d25 \
--hash=sha256:e0feb03a338f8f5e819ae23a73aabb7b46fd3b73f15f7df782dd12d99e2b02ad \
--hash=sha256:e30550965c78223439815dbdf40c93eb8931dfbf12427110dcfcaeebef76feb6 \
--hash=sha256:e3e80cad85ba68c07c1e8d4ccc9cf51e63bf6a73d6bf631640be947bd72b6b63 \
--hash=sha256:e4beaef2f4796558e738e15ca0b8802e35f419a9fa374a978e41706f43c48b26 \
--hash=sha256:e6d2a185ec4ff0478089305abd833da3a9fda8803eb77325b89ebeae5585a3b7 \
--hash=sha256:ed7fe197b8bb66eef4f62c052e33752d456d2fdda74805469d4bd954950ab339 \
--hash=sha256:ee48728a07566c32e097d267f4d4d01b85123c9ae748a42da02185b908cbedc4 \
--hash=sha256:ee6c4e0085bff5f6621bf9c53452584dcb91ebd993ce841e1f4061ac12b6b556 \
--hash=sha256:ef03fb4b3685df0ed9dc6a074a090f030345cad2c23c61818da3e08e693a9caa \
--hash=sha256:f01a680d4b66fd15cc7513fae55c673cc8cc340d41340305b7f9a782abdbefed \
--hash=sha256:f0494d3d97502e270282cc6a1f8648cd7335b4fe8d5c452006e5b7f9d62b8892 \
--hash=sha256:f24bed98595b9d854da8d6debaf82754abf3e8fe63ec90505ef560566814df7e \
--hash=sha256:f42671900e0b602d05a074c52fd3d757c2f8e5c4f73f771794dae1aa4aea5f0e \
--hash=sha256:f5b1d315a615cec81a79e2ce3a94221dc5c23e7fd4012897085d3b5e5a5638d0 \
--hash=sha256:f5f06f59e19aa0770aaf651ce91c196fa620b35aed49a7e6c36e7335f3f83db7 \
--hash=sha256:fcac44d917672ad6257ad64b80b5168306f168a78cab5c0612e4c699caed18cf
-34
View File
@@ -1,34 +0,0 @@
{
"playwright": "1.61.0",
"platforms": {
"ubuntu24.04-x64": [
{
"path": "builds/firefox/1532/firefox-ubuntu-24.04.zip",
"sha256": "8f3c97b95caf84cec1e83acdbee5079156cce338fc21bf2f4bc6afe3eec616c0",
"size": 110001368
},
{
"path": "builds/ffmpeg/1011/ffmpeg-linux.zip",
"sha256": "ebc74fc5b94830176a3c2914ae96bd8bc7f6a91f4f33890230f84a172ee61ccc",
"size": 2376500
}
],
"win64": [
{
"path": "builds/firefox/1532/firefox-win64.zip",
"sha256": "c02daa45e8af1164cba27301f076a877d9419f0d40b51b9fab4fe415daf6f77f",
"size": 122449192
},
{
"path": "builds/ffmpeg/1011/ffmpeg-win64.zip",
"sha256": "8d08827c019ad36e7b9d49d3648447d884534cb2acf200e71c715f6dd834cc50",
"size": 1411741
},
{
"path": "builds/winldd/1007/winldd-win64.zip",
"sha256": "0069f0d11d4ad6df068a068c003d22fe7dbec192a47bba64b2e115e9c8ce41d8",
"size": 128684
}
]
}
}
-9
View File
@@ -1,9 +0,0 @@
# The PUBLISHED SET, the control side of the A/B oracles (scripts/ci_published_set.py): the last published invisible-playwright and the invisible-core it pins (its seal pins the engine). Written by `python scripts/ci_published_set.py resolve --write`; .github/workflows/published-set.yml keeps it equal to the index.
# wrapper-requires: greenlet<4.0.0,>=3.1.1 | psutil>=5.9 | pyee<14,>=13
# core-requires: maxminddb>=2.2 | platformdirs>=4 | psutil>=5.9 | requests[socks]>=2.31 | tzdata>=2024.1
invisible-core==70.83.0 \
--hash=sha256:1dff040e41f5aba5aa07e086328ca436291fddbd31514d1bc9a9dbfc4ba7fb6a \
--hash=sha256:f7144262686adf54a4a1c85a8d17f76b31dc4ddcfbd6636d777c5c39963d3293
invisible-playwright==0.60.0 \
--hash=sha256:00509578944ff0d742761d4d5f19fcde21b7657197fa24ab0718e076ebdf9aa6 \
--hash=sha256:7285f5756ad2031087d12f339c2e89b76bdb953449c9151c0edc11a58d96d9c6
-36
View File
@@ -1,36 +0,0 @@
[
{"id": "wrapper.e2e.udp", "giro": "G2", "os": ["linux", "windows"], "min_tests": 44, "exact": true, "tests": ["tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py", "tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py", "tests/test_turn_over_tcp_is_tried_for_real_e2e.py", "tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy", "tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_when_the_exit_of_the_lab_is_loopback", "tests/test_declared_host_network_e2e.py", "tests/test_a_held_ice_port_blinds_the_loopback_checks_e2e.py", "tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py", "tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay", "tests/test_webrtc_realness.py::test_a_host_with_ipv6_addresses_gathers_through_an_ipv4_relay", "tests/test_webrtc_realness.py::test_a_gateway_that_is_far_away_still_gives_the_page_a_srflx_born_through_its_relay", "tests/test_webrtc_realness.py::test_the_first_candidate_of_a_gather_does_not_wait_for_a_gateway_that_is_far_away", "tests/test_webrtc_realness.py::test_a_gather_after_the_page_loaded_through_the_gateway_costs_only_the_road_to_the_server", "tests/test_webrtc_realness.py::test_two_contexts_with_two_proxies_each_gets_the_srflx_of_its_own", "tests/test_webrtc_realness.py::test_the_turn_over_tcp_of_a_context_goes_through_the_proxy_of_that_context", "tests/test_webrtc_realness.py::test_a_proxy_that_does_not_relay_udp_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_udp_leaves_from_another_address_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_relay_never_answers_gives_no_srflx_at_all"], "marker": "e2e", "needs_root": false, "note": "Needs the candidate binary (STEALTHFOX_E2E_BINARY) and the engine that carries the UDP line. 57 = 1+7+6+1+21 from the five files + 21 from the 10 UDP-line tests of test_webrtc_realness.py (parametrized). The chain by name is here in its variant with the lab's exit on loopback (127.0.0.2) and the pref `media.peerconnection.ice.loopback`, on Linux and Windows: the exit of the lab is loopback, and a loopback mapped address is thrown away by nICEr unless the ICE context allows it. The variant without the pref (an exit that is not loopback) is the suite wrapper.e2e.udp.exit, Linux only; the address added to the interface of the Windows runner is work of the release after firefox-63. The preload_newtab test (2) is here: seen green on Linux as root (Docker) and on Windows 10 runs of 10 (windows-2022, round 5 engine); it reads the engine's own process log."},
{"id": "wrapper.e2e.udp.exit", "giro": "G2", "os": ["linux"], "min_tests": 7, "exact": true, "tests": ["tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_before_the_tick", "tests/test_a_proxy_that_cannot_carry_udp_leaks_nothing_direct_e2e.py"], "marker": "e2e", "needs_root": ["linux"], "note": "Linux only, and not collected on Windows: the exit of the lab is a documentation address (198.51.100.9) added to lo with `ip addr add`, which needs root and iproute2; a mapped address in 127/8 would be thrown away by nICEr as bogus (stun_client_ctx.cpp nr_stun_transport_addr_check) and the pref that allows it is off in a product. The page reads a srflx equal to the gateway exit and the relay of the TURN server, the TURN name resolved by the DoH through the proxy, in the tick of 2 s. On the Windows runner of GitHub (administrator, the network of the runner) it could run too: not yet. A skipped test would turn the verdict red, hence a suite of its own. Its twin with the lab's exit on loopback and the pref stays in wrapper.e2e.udp on both systems, so that Windows keeps the walk of the chain by name.", "linux_only": "The lab's exit is a documentation address the host must hold besides its loopback (nICEr throws away a mapped address in 127/8). Linux holds it on lo as root; Windows takes no extra address on its loopback pseudo-interface, and adding it to the runner's adapter took the runner off the network (runs 43314251547 and 43334169682 died in the test step). A Windows twin waits for a way that leaves the runner's network alone."},
{"id": "wrapper.e2e.udp.sandbox", "giro": "G2", "os": ["linux"], "min_tests": 13, "exact": true, "tests": ["tests/test_the_socket_process_is_sandboxed_e2e.py", "tests/test_webrtc_realness.py::test_the_gather_is_real_without_a_proxy", "tests/test_webrtc_realness.py::test_a_gateway_with_coherent_udp_gives_the_page_a_srflx_born_through_its_relay", "tests/test_ice_names_by_the_context_proxy_e2e.py::test_a_gateway_without_udp_resolves_the_ice_name_then_ends_in_701"], "marker": "e2e", "needs_root": false, "note": "The browser WITH its sandbox, run by a normal user, as on any Linux that allows user namespaces. On the Ubuntu 24.04 runner AppArmor refuses them to a user, so every other non-root suite runs a browser WITHOUT the sandbox of its socket and content processes; the gate turns the restriction off for this leg (sysctl kernel.apparmor_restrict_unprivileged_userns=0) and the first test fails unless the socket and a tab process have a seccomp filter (Seccomp: 2). The three situations of the UDP line: A (a proxy that carries UDP: the srflx born through the relay), B (no proxy: the gather is real), C (a proxy with no UDP: the ICE server name goes by DoH through the proxy and the gather ends in 701). No root and no resolver trap needed.", "linux_only": "It reads the seccomp filter of the socket and tab processes in /proc. The Windows twin reads the sandbox token of the same processes (integrity level, restrictions) and needs a measurement of the retail Firefox's tokens first; until then Linux only.", "needs_userns": true},
{"id": "wrapper.e2e.web", "giro": "G2", "os": ["linux", "windows"], "min_tests": 27, "exact": true, "tests": ["tests/test_networkidle_through_a_served_browser_with_routes_e2e.py", "tests/test_http3_through_the_proxy_e2e.py"], "marker": "e2e", "needs_root": false, "note": "The networkidle e2e with routes and the HTTP/3 e2e, split from wrapper.e2e.udp (about 260 s of 500 on Linux; the whole suite did not fit the 15 minutes of Windows).", "moz_log": "nsHttp:5,neqo_http3:5"},
{"id": "wrapper.e2e.doh", "giro": "G2", "os": ["linux", "windows"], "min_tests": 19, "exact": true, "tests": ["tests/test_the_hosts_file_of_the_host_is_never_read_e2e.py", "tests/test_resolver_race_e2e.py", "tests/test_doh_under_stress_e2e.py", "tests/test_context_proxy_only_resolves_by_doh_e2e.py", "tests/test_doh_through_the_proxy_e2e.py", "tests/test_ice_names_by_the_context_proxy_e2e.py"], "marker": "e2e", "needs_root": ["linux"], "note": "Linux needs root: the resolver trap of the file (ResolverTrap) points /etc/resolv.conf at a counting resolver on port 53. Su Windows il resolver trap non gira: l'asserzione sul resolver di sistema è l'unica omessa. Run it without xdist (port 53 is one per host). On the Linux leg the gate exports INVPW_REQUIRE_TRAP=1: a trap that cannot run or bind port 53 is a failure, not a skipped assertion."},
{"id": "wrapper.e2e.context.egress", "giro": "G2", "os": ["linux", "windows"], "min_tests": 14, "exact": true, "tests": ["tests/test_nothing_leaves_but_the_proxy_e2e.py", "tests/test_a_turn_name_over_tcp_goes_through_the_proxy_of_the_context_e2e.py"], "marker": "e2e", "needs_root": ["linux"], "note": "Taken from the minimal-engine port (branch tests/minimal-port) unchanged but for the removed engine gate: 12 = 6 kinds of page work (hints, image/fetch/WebSocket/EventSource, WebRTC STUN and TURN-udp by name, geolocation, a service worker with push, a page still loading when its context closes) x 2 schemes (no proxy at launch and a gateway on the context; a launch gateway and a different one on the context), and 2 = the TURN server named over TCP in those two schemes. EXPECTED RED on the published firefox-63: the 2 TURN-by-name cases (the lookup of the TCP socket takes user context 0; fixed by commits ac0214bff4 and 058edd6cc6 of firefox-64). The 12 have not run on any engine yet. Like wrapper.e2e.doh: the Linux leg runs as root for the resolver trap (INVPW_REQUIRE_TRAP=1); on Windows the DoH log and the gateway's CONNECTs are the sink."},
{"id": "wrapper.e2e.context.sink", "giro": "G2", "os": ["linux", "windows"], "min_tests": 36, "exact": true, "tests": ["tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py"], "marker": "e2e", "needs_root": ["linux"], "note": "The behavioural half of the class gate 'nothing of a context leaves but through its proxy', with a witness at an address of this host (no root, no address on lo) and the engine's own resolver log as the native-lookup sink. 35 = 31 + the 4 OCSP cases; the 31 are 19 probes (fetch, WebSocket, stun, turn over UDP, turn and turns over TCP, each by name, by IP and by a .local name, behind SOCKS5 and behind an HTTP proxy where the road differs) + 3 controls (the same probe by IP with no proxy IS heard by the witness) + 1 control of the native sink. + 4 PeerConnections built from a torn-down window (a detached iframe, a closed popup; behind SOCKS5 and behind HTTP; defect B3: EXPECTED RED on firefox-63, green on firefox-64) + 2 controls of them (the same PeerConnection from an attached iframe, green on both). + 2 cases of two contexts alive at once (each with its own proxy and DoH, a TURN server over TCP by a different name in each; behind SOCKS5 EXPECTED RED on firefox-63 like turn_tcp-name-socks5, behind HTTP green on both). EXPECTED RED on firefox-63: turn_tcp-name-socks5, turns_tcp-name-socks5 (user context 0, fixed in firefox-64) and the three .local cases fetch-local-socks5, stun-local-socks5, stun-local-http (audit B4, also red on firefox-64 until decided). The Linux leg runs as root so the resolver trap is a second sink. Windows reads the same engine log (its getaddrinfo lines are in the parent process file under the sandbox: run 43574494194), with the no-proxy native control as its positive control. THE OCSP CASES (4): a TLS page whose leaf, signed by a lab CA the engine trusts (put in the profile by the engine's xpcshell, no ignore_https_errors), names its OCSP responder by a NAME (ocsp-<nonce>.lab.test) and by an IP; a context behind the gateway loads it and the request must go through the gateway, never be looked up natively, in user context 0, or reach the responder (2 cases, EXPECTED RED on firefox-63, green on firefox-64); the same page in a context with no proxy IS asked of the responder (control); a page of an issuer the engine does not trust makes no OCSP request (negative control). THE CLOSED CONTEXT CASE (1, gated firefox-65): a beacon sent on pagehide as a proxied context closes, to a name never looked up, is resolved over the DoH through the context's gateway after the close; on firefox-64 it went to the machine's resolver every time (hunt 43733181674)."},
{"id": "wrapper.e2e.realness", "giro": "G2", "os": ["linux", "windows"], "min_tests": 31, "exact": true, "tests": ["tests/test_realness_behind_a_declared_exit_e2e.py"], "marker": "e2e", "needs_root": ["linux"], "note": "The realness check without a real proxy: six declared exits, the values a page reads, and the roads. Linux runs as root without xdist like the DoH suite (the resolver trap); on Windows the trap does not exist and the assertion on the system resolver is the only one omitted."},
{"id": "wrapper.unit.udp", "giro": "G1", "os": ["linux", "windows"], "min_tests": 273, "exact": true, "tests": ["tests/test_doh_session_prefs_unit.py", "tests/test_every_route_command_is_answered_may_fail.py", "tests/test_preload_newtab_is_written_only_when_asked.py", "tests/test_the_doh_e2e_launch_on_a_virtual_display.py", "tests/test_the_egress_sink_helpers.py", "tests/test_the_exit_of_a_context_is_discovered_through_its_own_gateway.py", "tests/test_the_fake_doh_answers.py", "tests/test_the_fake_doh_delays_and_refuses.py", "tests/test_the_h3_line_helpers.py", "tests/test_the_host_address_helper.py", "tests/test_the_http_proxy_helper_asks_for_credentials.py", "tests/test_the_lab_ca_and_its_ocsp_leaf.py", "tests/test_the_leak_watcher_sees_a_direct_connection.py", "tests/test_the_network_declaration_reaches_the_engine.py", "tests/test_the_realness_helpers.py", "tests/test_the_resolver_trap_counts_its_own_users.py", "tests/test_the_resolver_trap_is_required_by_the_gate.py", "tests/test_the_server_says_nothing_about_the_launch_counter.py", "tests/test_the_udp_bench_survives_what_a_loaded_machine_does_to_it.py", "tests/test_the_udp_chain_helper.py", "tests/test_the_witness_hears_a_direct_send.py", "tests/test_the_witness_picks_a_port_both_sockets_bind.py"], "marker": "unit", "needs_root": false, "note": "The leak watcher file defines exactly one of its two resolver-trap tests per host (7 everywhere), so no test is skipped. `exact`: min_tests is raised by hand when a test is added. The sink of the egress gate (tests/test_the_egress_sink_helpers.py, 20): the engine's log (the same on Linux and Windows) and the witness read on known inputs, and a blind log that must raise, never answer 'nothing'. The lab CA of its OCSP case (tests/test_the_lab_ca_and_its_ocsp_leaf.py, 17; tests/test_the_fake_doh_answers.py +1, the DoH serving a lab-CA leaf): the leaf's AIA, trusted and untrusted issuers, the responder, the xpcshell step."},
{"id": "wrapper.e2e.page", "giro": "G2", "os": ["linux", "windows"], "min_tests": 130, "exact": true, "tests": ["tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py", "tests/test_a_page_that_moves_on_e2e.py", "tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py", "tests/test_a_popup_of_a_link_reaches_the_client_e2e.py", "tests/test_popup_destinations_e2e.py", "tests/test_popups_reach_the_client_e2e.py", "tests/test_route_superseded_e2e.py", "tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py", "tests/test_a_drag_keeps_its_buttons_pressed_e2e.py"], "marker": "e2e", "needs_root": false, "note": "130 = 126 + the 4 of test_a_drag_keeps_its_buttons_pressed_e2e.py (a drag reaches the page with the button it holds: event.buttons is 1 on every mousemove of a left drag, 2 on a right one, 0 after the release; with and without humanize). The 126 before it: 116 + the 9 of test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py (four browsers in one process, one closes: the loop is never seen inside a step of the close, the removal of the profile is held still and reached on a thread of the reaper while the close has returned, the other three keep answering; one control holds the loop on purpose, the other leaves it late in its selector and must not be charged). 116 = 100 + the 16 of test_a_page_that_moves_on_e2e.py (a navigation the page overtook with location.replace ends; the engine fix 860ef8a6d9 is proved by it; 2 of them the strict networkidle cases, a document still arriving that moves). 100 counted at the collection; was 96 = 10+32+16+34+4 before the popup tests of 6200bc2). A page is handed over when the engine says Page.ready; a popup reaches the client (link, noopener, window.open; own site and another; with and without a route; in-process and over launch_server) as Playwright's does; a superseded route. Needs the candidate binary, and the stock Playwright client of the dev extra.", "moz_log": "DocumentChannel:5,ProcessIsolation:5,nsDocShell:4,DocLoader:4", "juggler_trace": true},
{"id": "wrapper.unit.page", "giro": "G1", "os": ["linux", "windows"], "min_tests": 72, "exact": true, "tests": ["tests/test_a_download_finished_before_it_was_announced_is_finished.py", "tests/test_every_order_of_the_events_of_a_popup_gives_one_page_event.py", "tests/test_ci_drive_gate_goes_through_the_core.py", "tests/test_a_page_is_handed_over_only_when_the_engine_says_it_is_ready.py", "tests/test_a_new_page_waits_for_the_engine.py", "tests/test_page_number_follows_the_call.py", "tests/test_a_commit_at_any_point_of_the_hand_over_reaches_the_client_once.py", "tests/test_no_event_of_any_family_is_lost_by_the_hand_over.py", "tests/test_the_hand_over_of_a_popup_holds_under_concurrency.py", "tests/test_a_page_closed_before_its_announcement_is_not_announced.py", "tests/test_a_live_event_does_not_overtake_the_replay_of_a_new_page.py"], "marker": "unit", "needs_root": false, "note": "72 = 44 + 3+9+5+1+10 of the popup hand-over (24 counted at the collection before; was 20 = 3+8+1+8 before 6200bc2). The page dispatcher's wait for Page.ready and what it hands over; the drive gate goes through the core (the engine waits for the session's road)."},
{"id": "wrapper.e2e.compositing", "giro": "G2", "os": ["linux", "windows"], "min_tests": 9, "exact": true, "tests": ["tests/test_software_compositing_is_declared_e2e.py", "tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py"], "marker": "e2e", "needs_root": false, "note": "The engine DECLARES software compositing on every machine (core: the compositing entries of zoom.stealth.gfx.feature_status carry the VM decision, and on Windows gfx.webrender.software=true, gfx.webrender.software.d3d11=false). 3 = (1) the compositor read from a privileged context is 'WebRender (Software)' on Windows and on Linux (windowUtils.layerManagerType of each window: Troubleshoot.snapshot().graphics throws on this engine, `ext is null`, so it is not the route); (2) the GPU process uses under 1.5 s of CPU on the fixed 10-scene loop of one browser (Windows runner: 0.32 s declared, 2.7-4.2 s not, runs 43652292533 and 43642744101; on Linux it is held to the bound if a GPU process exists); (3) the 86 keys of the page-bytes probe plus the canvas 2D scenes (drawImage scaled with smoothing off/low/medium/high, text with linear/radial/conic gradients) equal tests/data/page_bytes_<os>.json, PNGs on decoded pixels. EXPECTED RED on the core 64.71.0 (tests 1 and 2 on Windows). The reference of Windows holds the 75 stable keys and 6 of the 11 PNG keys of run 43652292533; the five other PNG keys and the new canvas keys, and all of Linux, are written from the first run on the engine of the reference (the failure of test 3 prints RECORD-BEGIN ... RECORD-END with the entries to merge): a reference that is not complete is red, never skipped. 9 = those 3 + the 6 families of tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py (from firefox-66, engine_at_least): a screenshot draws the text of Arial, Times New Roman, Consolas and Segoe UI, with accents, the typographic apostrophe, the euro sign, Chinese, Arabic and Russian, and of MS PGothic (face 2 of msgothic5_32.ttc: Japanese and Latin) and NSimSun (face 1 of simsun.ttc: Chinese), two faces that are not the first of their collection, with the same bytes as the content process drew them in a canvas (an SVG image with a foreignObject of the same markup), cut from the same page.screenshot, on both systems and with no threshold. EXPECTED RED on every engine that rebuilds the text in the parent with another font than the bundle (Linux: fontconfig answers DejaVu Sans), and skipped, hence red here, on an engine older than firefox-66. It saves the screenshot, the two boxes and a result.json under RUNNER_TEMP/invpw-evidence.", "runner_image": {"windows": "windows-2022"}},
{"id": "wrapper.e2e.fakeweb", "giro": "G2", "os": ["linux", "windows"], "min_tests": 7, "exact": true, "tests": ["tests/test_fakeweb_p2_e2e.py", "tests/test_fakeweb_p4_e2e.py"], "marker": "e2e", "needs_root": false, "note": "The fake web, offline: our browser on the hard pages (profile P2: a reused routed page reaches networkidle every time, also under a load of three other browsers; the other site is another process) and on the 17-step journey of a person (profile P4: every step as stock, and every page left only once its noise is done), each judged against what stock Firefox does, as tests/fakeweb/pages.json declares it. 7 = 3 + 4 (the last two: a `load` that takes 20 s is a step that succeeds, and a `load` that never comes ends in an error that names the wait and the page). Stock itself is held to that declaration, and compared with ours step by step, by scripts/run_fakeweb.py in .github/workflows/fakeweb.yml. Needs the candidate binary (STEALTHFOX_E2E_BINARY).", "stock_firefox": true, "extra_steps": ["fakeweb_profiles"]},
{"id": "wrapper.e2e.stock_twin.dnd", "giro": "G2", "os": ["linux", "windows"], "min_tests": 4, "exact": true, "tests": ["tests/test_a_drag_from_the_top_into_a_frame_of_another_site_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of the real drag from the top into a frame of another site (4 scales): the same steps first on Playwright's own Firefox (stock_firefox), headed, driven by the stock Playwright client, and second on ours; the verdict is 'the same as the reference' (tests/_stock_twin.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.", "stock_firefox": true},
{"id": "wrapper.e2e.stock_twin.select", "giro": "G2", "os": ["linux", "windows"], "min_tests": 4, "exact": true, "tests": ["tests/test_a_select_dropdown_opens_at_its_element_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of the select dropdown (4 scales), measured from chrome scope against RETAIL Firefox 159 driven by Marionette alone, headed (the leg sets INVPW_RETAIL_FIREFOX to its firefox.exe), the reference first and ours second; the verdict is 'the same as the reference' (tests/_stock_twin.py, tests/_retail_reference.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.", "stock_firefox": true},
{"id": "wrapper.e2e.stock_twin.tooltip", "giro": "G2", "os": ["linux", "windows"], "min_tests": 4, "exact": true, "tests": ["tests/test_a_tooltip_opens_at_the_pointer_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of the tooltip (4 scales), measured from chrome scope against RETAIL Firefox 159 driven by Marionette alone, headed (the leg sets INVPW_RETAIL_FIREFOX to its firefox.exe), the reference first and ours second; the verdict is 'the same as the reference' (tests/_stock_twin.py, tests/_retail_reference.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.", "stock_firefox": true},
{"id": "wrapper.e2e.stock_twin.intersection", "giro": "G2", "os": ["linux", "windows"], "min_tests": 8, "exact": true, "tests": ["tests/test_intersection_and_lazy_loading_in_a_frame_of_another_site_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Split from the row wrapper.e2e.stock_twin, which ran past the 25-minute limit of a leg: one file, one leg. The twin of what the IntersectionObserver of a scrolled frame of another site reads (8 steps, 4 scales) and of when a lazy frame is requested (4 distances, 4 scales): the same steps first on Playwright's own Firefox (stock_firefox), headed, driven by the stock Playwright client, and second on ours; the verdict is 'the same as the reference' (tests/_stock_twin.py). Each record keeps the page's and the chrome's devicePixelRatio and the real scale of the screen. The file is in no whole-suite row: the references are installed only for this row's legs.", "stock_firefox": true},
{"id": "wrapper.e2e.fontconfig", "giro": "G2", "os": ["linux"], "min_tests": 2, "exact": true, "tests": ["tests/test_the_parent_reads_the_bundle_from_fontconfig_s_cache_linux_e2e.py"], "marker": "e2e", "needs_root": false, "linux_only": "Fontconfig exists only on Linux: the parent of the engine shows <GRE>/fonts to it (FcConfigAppFontAddDir) to rebuild a font from a path and a face index. On Windows DirectWrite opens the file from its path, with no folder to scan and no cache to read, so this test has no Windows counterpart.", "note": "2 = (1) the stand-in that runs the engine under strace stays in the engine's place, as the core launches it (the leader of a process group of its own): a fake engine with a child, no browser; the process the launcher holds lives as long as the fake engine, and the group killed holds strace and the child (the stand-in that exec'd setsid forked and exited 0 at once: candidate 44161687675); (2) the warm launch of the parent reads the bundle from fontconfig's cache and does not scan it again (from firefox-66, engine_at_least). Two launches under strace with the same XDG_CACHE_HOME of the test, the first cold and the second warm: the cold parent opens every font file of <GRE>/fonts (the folder as the disk lists it) before any page and fontconfig writes its cache; the warm parent does not open every one of them, and it opens a *.cache-* file of fontconfig (a few files are opened to be used, so the verdict asks about the whole folder, as a scan does). Scan and drawing are told apart by position: only what the parent opens before the first page counts (the opens that draw are written as after_startup). Evidence in RUNNER_TEMP/invpw-evidence/fontconfig-cache: the interval and the number of opens of the bundle, the names of the files of the bundle each launch opened before the first page, the size of the cache file, the VmRSS of the parent after about:blank and after a page with every family, and a third launch with gfx.bundled-fonts.activate=0 (the behaviour before), which is evidence only. Needs strace on the runner: without it both are red, not skipped. No threshold."},
{"id": "wrapper.unit.compositing", "giro": "G1", "os": ["linux", "windows"], "min_tests": 30, "exact": true, "tests": ["tests/test_the_page_bytes_reference_compares_decoded_pixels.py"], "marker": "unit", "needs_root": false, "note": "The helpers of wrapper.e2e.compositing on known inputs, no browser: the PNG compared on decoded pixels (another deBG chunk and compression are the same, one pixel is not, every scanline filter), the comparison with a reference (changed, missing and extra keys named, the entry to record), the type of an engine process, an engine process known by its executable and not by the name it gives itself (Linux), and the CPU of a window, and the shape of the committed Windows reference, and the box cut out of a screenshot (its pixels, a box outside the picture refused, written as a PNG and read back, two boxes told apart by a pixel that is named, the pixels that are not grey)."},
{"id": "wrapper.unit.all.linux", "giro": "G1", "os": ["linux"], "min_tests": 4375, "exact": true, "tests": ["tests/test_a_162_message_is_read_like_a_161_one.py", "tests/test_a_click_makes_one_mousemove_at_its_point.py", "tests/test_a_closed_context_leaves_nothing_in_the_registry.py", "tests/test_a_closed_page_says_nothing.py", "tests/test_a_closed_pipe_is_a_closed_target.py", "tests/test_a_commit_at_any_point_of_the_hand_over_reaches_the_client_once.py", "tests/test_a_context_proxy_carries_its_measured_udp_exit.py", "tests/test_a_context_route_disables_the_cache.py", "tests/test_a_detached_frame_answers_detached.py", "tests/test_a_dialog_is_a_protocol_object.py", "tests/test_a_dialog_is_answered_after_a_pause.py", "tests/test_a_download_finished_before_it_was_announced_is_finished.py", "tests/test_a_failed_expect_carries_its_call_log.py", "tests/test_a_failed_generation_of_the_security_state_keeps_its_evidence.py", "tests/test_a_failed_launch_stops_the_display.py", "tests/test_a_field_is_typed_after_a_pause.py", "tests/test_a_file_chooser_is_never_dropped_in_silence.py", "tests/test_a_frame_tap_needs_a_context_with_touch.py", "tests/test_a_gil_free_thread_dump_kills_a_busy_process_and_the_stack_watchdog_does_not.py", "tests/test_a_handle_action_walks_like_a_selector_action.py", "tests/test_a_launch_asks_nobody_on_the_internet_where_it_leaves_from.py", "tests/test_a_launch_gives_the_core_its_engine_for_the_security_state.py", "tests/test_a_launch_has_one_deadline.py", "tests/test_a_launch_without_a_session_gets_one.py", "tests/test_a_live_event_does_not_overtake_the_replay_of_a_new_page.py", "tests/test_a_marionette_session_is_asked_after_the_first_window.py", "tests/test_a_module_that_leaves_a_browser_open_fails.py", "tests/test_a_new_page_waits_for_the_engine.py", "tests/test_a_non_finite_number_crosses_the_wire_as_a_tag.py", "tests/test_a_page_closed_before_its_announcement_is_not_announced.py", "tests/test_a_page_is_handed_over_only_when_the_engine_says_it_is_ready.py", "tests/test_a_path_leaves_as_one_stroke.py", "tests/test_a_port_number_is_held_until_it_is_used.py", "tests/test_a_read_whose_probe_ran_out_is_the_callers_timeout.py", "tests/test_a_request_and_a_response_are_light.py", "tests/test_a_request_says_what_it_is.py", "tests/test_a_screenshot_refuses_what_would_touch_the_page.py", "tests/test_a_screenshot_sends_its_scale_to_the_engine.py", "tests/test_a_session_ends_before_the_next_test_starts.py", "tests/test_a_streamed_upload_is_staged_in_the_session.py", "tests/test_a_stroke_is_judged_by_its_shape_not_its_length.py", "tests/test_a_test_that_is_not_e2e_never_leaves_the_machine.py", "tests/test_a_unit_test_does_not_read_the_seal_of_the_job.py", "tests/test_ab_host.py", "tests/test_ab_host_aa_stable.py", "tests/test_ab_network.py", "tests/test_ab_network_turn_credential.py", "tests/test_ab_network_turn_deallocation.py", "tests/test_ab_network_webrtc_evidence.py", "tests/test_ab_oracle.py", "tests/test_ab_oracle_declared_differences.py", "tests/test_actions_without_a_point.py", "tests/test_add_script_tag.py", "tests/test_an_element_handle_serves_every_method_of_the_client.py", "tests/test_an_expect_reads_its_value_once.py", "tests/test_async_api.py", "tests/test_browser_output_is_drained.py", "tests/test_ci_downloads_are_authenticated.py", "tests/test_ci_drive_gate_goes_through_the_core.py", "tests/test_ci_host_gate.py", "tests/test_ci_host_gate_ab.py", "tests/test_ci_lab_geoip.py", "tests/test_ci_lab_geoip_verify.py", "tests/test_ci_lab_intermediates.py", "tests/test_ci_lab_security_state.py", "tests/test_ci_linux_legs_read_no_mirror.py", "tests/test_ci_poison_host.py", "tests/test_ci_published_set.py", "tests/test_ci_real_geoip_check.py", "tests/test_ci_real_geoip_exit_code.py", "tests/test_ci_runs_once_per_commit.py", "tests/test_ci_suite_run.py", "tests/test_ci_verdict.py", "tests/test_ci_windows_temp_is_on_d.py", "tests/test_ci_workflows_build_the_geoip_database.py", "tests/test_ci_workflows_set_the_intermediates_list.py", "tests/test_ci_workflows_set_the_security_state.py", "tests/test_cli.py", "tests/test_click_rhythm.py", "tests/test_connect_does_not_start_threads_on_the_loop.py", "tests/test_context_locale_is_a_list.py", "tests/test_core_pin.py", "tests/test_cpu_by_type_window.py", "tests/test_cross_origin_iframe.py", "tests/test_cursor_dispatch.py", "tests/test_cursor_wiring.py", "tests/test_docs_name_the_mcp_repo_as_it_is.py", "tests/test_doh_session_prefs_unit.py", "tests/test_drag_motion.py", "tests/test_e2e_hermetic.py", "tests/test_element_handle_actions.py", "tests/test_every_action_is_pinned_by_commit_sha.py", "tests/test_every_argument_reaches_the_page_as_playwright_sends_it.py", "tests/test_every_held_request_of_the_journey_starts_after_the_load.py", "tests/test_every_order_of_the_events_of_a_popup_gives_one_page_event.py", "tests/test_every_page_a_twin_asks_for_is_routed.py", "tests/test_every_page_draws_its_own_acts.py", "tests/test_every_refusal_is_declared.py", "tests/tLine truncated
{"id": "wrapper.unit.all.windows", "giro": "G1", "os": ["windows"], "min_tests": 4387, "exact": true, "tests": ["tests/test_a_162_message_is_read_like_a_161_one.py", "tests/test_a_click_makes_one_mousemove_at_its_point.py", "tests/test_a_closed_context_leaves_nothing_in_the_registry.py", "tests/test_a_closed_page_says_nothing.py", "tests/test_a_closed_pipe_is_a_closed_target.py", "tests/test_a_commit_at_any_point_of_the_hand_over_reaches_the_client_once.py", "tests/test_a_context_proxy_carries_its_measured_udp_exit.py", "tests/test_a_context_route_disables_the_cache.py", "tests/test_a_detached_frame_answers_detached.py", "tests/test_a_dialog_is_a_protocol_object.py", "tests/test_a_dialog_is_answered_after_a_pause.py", "tests/test_a_download_finished_before_it_was_announced_is_finished.py", "tests/test_a_failed_expect_carries_its_call_log.py", "tests/test_a_failed_generation_of_the_security_state_keeps_its_evidence.py", "tests/test_a_failed_launch_stops_the_display.py", "tests/test_a_field_is_typed_after_a_pause.py", "tests/test_a_file_chooser_is_never_dropped_in_silence.py", "tests/test_a_frame_tap_needs_a_context_with_touch.py", "tests/test_a_gil_free_thread_dump_kills_a_busy_process_and_the_stack_watchdog_does_not.py", "tests/test_a_handle_action_walks_like_a_selector_action.py", "tests/test_a_launch_asks_nobody_on_the_internet_where_it_leaves_from.py", "tests/test_a_launch_gives_the_core_its_engine_for_the_security_state.py", "tests/test_a_launch_has_one_deadline.py", "tests/test_a_launch_without_a_session_gets_one.py", "tests/test_a_live_event_does_not_overtake_the_replay_of_a_new_page.py", "tests/test_a_marionette_session_is_asked_after_the_first_window.py", "tests/test_a_module_that_leaves_a_browser_open_fails.py", "tests/test_a_new_page_waits_for_the_engine.py", "tests/test_a_non_finite_number_crosses_the_wire_as_a_tag.py", "tests/test_a_page_closed_before_its_announcement_is_not_announced.py", "tests/test_a_page_is_handed_over_only_when_the_engine_says_it_is_ready.py", "tests/test_a_path_leaves_as_one_stroke.py", "tests/test_a_port_number_is_held_until_it_is_used.py", "tests/test_a_read_whose_probe_ran_out_is_the_callers_timeout.py", "tests/test_a_request_and_a_response_are_light.py", "tests/test_a_request_says_what_it_is.py", "tests/test_a_screenshot_refuses_what_would_touch_the_page.py", "tests/test_a_screenshot_sends_its_scale_to_the_engine.py", "tests/test_a_session_ends_before_the_next_test_starts.py", "tests/test_a_streamed_upload_is_staged_in_the_session.py", "tests/test_a_stroke_is_judged_by_its_shape_not_its_length.py", "tests/test_a_test_that_is_not_e2e_never_leaves_the_machine.py", "tests/test_a_unit_test_does_not_read_the_seal_of_the_job.py", "tests/test_ab_host.py", "tests/test_ab_host_aa_stable.py", "tests/test_ab_network.py", "tests/test_ab_network_turn_credential.py", "tests/test_ab_network_turn_deallocation.py", "tests/test_ab_network_webrtc_evidence.py", "tests/test_ab_oracle.py", "tests/test_ab_oracle_declared_differences.py", "tests/test_actions_without_a_point.py", "tests/test_add_script_tag.py", "tests/test_an_element_handle_serves_every_method_of_the_client.py", "tests/test_an_expect_reads_its_value_once.py", "tests/test_async_api.py", "tests/test_browser_output_is_drained.py", "tests/test_ci_downloads_are_authenticated.py", "tests/test_ci_drive_gate_goes_through_the_core.py", "tests/test_ci_host_gate.py", "tests/test_ci_host_gate_ab.py", "tests/test_ci_lab_geoip.py", "tests/test_ci_lab_geoip_verify.py", "tests/test_ci_lab_intermediates.py", "tests/test_ci_lab_security_state.py", "tests/test_ci_linux_legs_read_no_mirror.py", "tests/test_ci_poison_host.py", "tests/test_ci_published_set.py", "tests/test_ci_real_geoip_check.py", "tests/test_ci_real_geoip_exit_code.py", "tests/test_ci_runs_once_per_commit.py", "tests/test_ci_suite_run.py", "tests/test_ci_verdict.py", "tests/test_ci_windows_temp_is_on_d.py", "tests/test_ci_workflows_build_the_geoip_database.py", "tests/test_ci_workflows_set_the_intermediates_list.py", "tests/test_ci_workflows_set_the_security_state.py", "tests/test_cli.py", "tests/test_click_rhythm.py", "tests/test_connect_does_not_start_threads_on_the_loop.py", "tests/test_context_locale_is_a_list.py", "tests/test_core_pin.py", "tests/test_cpu_by_type_window.py", "tests/test_cross_origin_iframe.py", "tests/test_cursor_dispatch.py", "tests/test_cursor_wiring.py", "tests/test_docs_name_the_mcp_repo_as_it_is.py", "tests/test_doh_session_prefs_unit.py", "tests/test_drag_motion.py", "tests/test_e2e_hermetic.py", "tests/test_element_handle_actions.py", "tests/test_every_action_is_pinned_by_commit_sha.py", "tests/test_every_argument_reaches_the_page_as_playwright_sends_it.py", "tests/test_every_held_request_of_the_journey_starts_after_the_load.py", "tests/test_every_order_of_the_events_of_a_popup_gives_one_page_event.py", "tests/test_every_page_a_twin_asks_for_is_routed.py", "tests/test_every_page_draws_its_own_acts.py", "tests/test_every_pytest_process_clears_the_gp_Line truncated
{"id": "wrapper.e2e.securitystate", "giro": "G2", "os": ["linux", "windows"], "min_tests": 4, "exact": true, "tests": ["tests/test_security_state_engine_e2e.py"], "marker": "e2e", "needs_root": false, "note": "The security state the core declares, against the engine: the engine launched directly in its generate mode makes what it is given (the contract's result, security_state/ with the bytes of the full filter and of the delta, the core's own validation of it); a normal launch declares no pref of the mode and re-imports nothing; a certificate that Mozilla's CRLite test data say is revoked in a delta is refused at the first navigation (SEC_ERROR_REVOKED_CERTIFICATE) while a valid one loads, and the revoked one loads when the ready directory has no data; a ready directory with no or an empty security_state/ starts. Certificates made on the run (a fresh root trusted in cert9.db by the engine's own xpcshell, Mozilla's default test key as the key of CN=int), servers on loopback, no network. Red on firefox-67 (no generate mode).", "core_dumps": "invpw-cores"},
{"id": "wrapper.e2e.suite.linux.1", "giro": "G2", "os": ["linux"], "min_tests": 447, "exact": true, "tests": ["tests/test_a_closed_browser_leaves_the_others_alone_e2e.py", "tests/test_a_context_that_ends_leaves_no_process_e2e.py", "tests/test_a_cors_preflight_is_not_a_request_of_the_page_e2e.py", "tests/test_a_declared_webgl_extension_survives_its_use_e2e.py", "tests/test_a_granted_permission_is_the_one_the_page_asks_for_e2e.py", "tests/test_a_held_ice_port_blinds_the_loopback_checks_e2e.py", "tests/test_a_launch_without_a_session_gets_one_e2e.py", "tests/test_a_left_documents_body_is_evicted_e2e.py", "tests/test_a_mouse_click_makes_one_mousemove_on_its_point_e2e.py", "tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py", "tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py", "tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py", "tests/test_a_screenshot_honours_its_scale_e2e.py", "tests/test_a_screenshot_refuses_what_would_touch_the_page_e2e.py", "tests/test_a_served_browser_answers_a_plain_client_e2e.py", "tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py", "tests/test_a_turn_name_over_tcp_goes_through_the_proxy_of_the_context_e2e.py", "tests/test_accept_language_on_the_wire_e2e.py", "tests/test_browser_output_is_drained.py", "tests/test_click_rhythm.py", "tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py", "tests/test_control_a_selects_all_in_a_field_e2e.py", "tests/test_cross_origin_iframe.py", "tests/test_declared_host_network_e2e.py", "tests/test_detectors_e2e.py", "tests/test_e2e.py", "tests/test_element_handle_actions.py", "tests/test_element_screenshot_e2e.py", "tests/test_every_page_draws_its_own_acts.py", "tests/test_file_chooser.py", "tests/test_fingerprint_surface.py", "tests/test_fission_frames_history_and_processes_e2e.py", "tests/test_fission_frames_workers_storage_and_special_frames_e2e.py", "tests/test_frames_outlive_the_back_forward_cache_e2e.py", "tests/test_goto_networkidle_after_spa_e2e.py", "tests/test_goto_script_redirect_e2e.py", "tests/test_hidden_display_linux.py", "tests/test_ice_names_by_the_context_proxy_e2e.py::test_the_ice_name_of_a_context_goes_by_the_proxy_of_that_context", "tests/test_ignore_https_errors_e2e.py", "tests/test_injected_node_surface.py", "tests/test_juggler_connection.py", "tests/test_juggler_posix_pipe.py", "tests/test_juggler_transport.py", "tests/test_navigation_across_processes_e2e.py", "tests/test_navigation_response.py", "tests/test_networkidle_reaches_the_client_e2e.py", "tests/test_oop_frame_element.py", "tests/test_oop_frame_geometry.py", "tests/test_page_number_follows_the_call.py", "tests/test_persistent_profile_keeps_state.py", "tests/test_pointer_position.py", "tests/test_popups_reach_the_client_e2e.py", "tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py", "tests/test_realness_behind_a_declared_exit_e2e.py", "tests/test_resolver_race_e2e.py", "tests/test_route_header_order_e2e.py", "tests/test_same_document_goto_e2e.py", "tests/test_screencast.py", "tests/test_screencast_stop_e2e.py", "tests/test_screenshot_looks_where_you_are.py", "tests/test_security_state_engine_e2e.py", "tests/test_service_worker.py", "tests/test_service_worker_controller_e2e.py", "tests/test_set_offline_e2e.py", "tests/test_shadow_trusted_input.py", "tests/test_strict_and_force.py", "tests/test_the_callers_code_is_not_counted_e2e.py", "tests/test_the_device_enumeration_takes_the_declared_time_e2e.py", "tests/test_the_engine_is_born_in_the_job_e2e.py::test_a_launch_scans_no_process_of_the_machine", "tests/test_the_engine_is_born_in_the_job_e2e.py::test_after_close_no_process_of_the_session_is_left", "tests/test_the_hosts_file_of_the_host_is_never_read_e2e.py", "tests/test_trial_does_not_act.py", "tests/test_turn_over_tcp_is_tried_for_real_e2e.py", "tests/test_ua_widget_not_selectable.py", "tests/test_voices_e2e.py", "tests/test_wait_for_function.py", "tests/test_webgl_draws_on_the_engine_s_own_gl_e2e.py", "tests/test_webgl_noise_active.py", "tests/test_webrtc_realness.py::test_a_gateway_that_is_far_away_still_gives_the_page_a_srflx_born_through_its_relay", "tests/test_webrtc_realness.py::test_a_gather_after_the_page_loaded_through_the_gateway_costs_only_the_road_to_the_server", "tests/test_webrtc_realness.py::test_a_host_with_ipv6_addresses_gathers_through_an_ipv4_relay", "tests/test_webrtc_realness.py::test_a_proxy_that_does_not_relay_udp_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_relay_never_answers_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_udp_leaves_from_another_address_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_not_blocked_behind_tcp_only_socks", "tests/test_webrtc_realness.py::test_the_first_candidate_of_a_gather_does_not_wait_for_a_gateway_that_is_far_away", "tests/test_webrtc_realness.py::test_the_turn_over_tcp_of_a_context_goes_throuLine truncated
{"id": "wrapper.e2e.suite.linux.2", "giro": "G2", "os": ["linux"], "min_tests": 420, "exact": true, "tests": ["tests/test_a_click_waits_for_the_navigation_it_plans_e2e.py", "tests/test_a_context_init_script_runs_once_e2e.py", "tests/test_a_drag_keeps_its_buttons_pressed_e2e.py", "tests/test_a_field_is_typed_after_a_pause.py", "tests/test_a_goto_to_a_response_with_no_document_ends_e2e.py", "tests/test_a_keepalive_request_reaches_the_client_e2e.py", "tests/test_a_latin_letter_on_a_cyrillic_persona_e2e.py", "tests/test_a_page_cannot_probe_the_juggler_e2e.py", "tests/test_a_page_that_moves_on_e2e.py", "tests/test_a_pointer_event_is_handled_before_the_call_returns_e2e.py", "tests/test_a_request_says_what_it_is_e2e.py", "tests/test_a_select_dropdown_stays_open_after_the_release_e2e.py", "tests/test_a_worker_comes_back_with_its_page_from_the_cache_e2e.py", "tests/test_actions_without_a_point.py", "tests/test_add_script_tag.py", "tests/test_an_isolated_page_and_the_next_e2e.py", "tests/test_bypass_csp_e2e.py", "tests/test_caller_world_handles_e2e.py", "tests/test_canvas_reads_as_drawn.py", "tests/test_canvas_render_stealth.py", "tests/test_context_locale_e2e.py", "tests/test_context_proxy_only_resolves_by_doh_e2e.py", "tests/test_doh_through_the_proxy_e2e.py", "tests/test_doh_under_stress_e2e.py", "tests/test_download_is_intercepted_e2e.py", "tests/test_drag_motion.py", "tests/test_expose_binding_e2e.py", "tests/test_fakeweb_p4_e2e.py", "tests/test_fingerprint_consistency.py", "tests/test_fission_frames_dialogs_downloads_popups_e2e.py", "tests/test_fission_frames_route_and_bindings_e2e.py", "tests/test_fission_identity_parity_e2e.py", "tests/test_fission_iframe_crash_e2e.py", "tests/test_fission_strategy1_bench.py", "tests/test_goto_to_the_same_url_e2e.py", "tests/test_http3_through_the_proxy_e2e.py", "tests/test_input_is_born_before_the_page_sees_it_e2e.py", "tests/test_juggler_actions.py", "tests/test_juggler_event_listeners.py", "tests/test_juggler_injected.py::test_a_javascript_that_THROWS_arrives_as_an_error_not_as_None", "tests/test_juggler_injected.py::test_actionability_DISTINGUISHES_instead_of_always_saying_yes", "tests/test_juggler_injected.py::test_reads_that_make_no_sense_are_REJECTED", "tests/test_juggler_injected.py::test_states_DISCRIMINATE_instead_of_always_saying_true", "tests/test_juggler_injected.py::test_the_DOM_READING_group", "tests/test_juggler_injected.py::test_the_selector_engines_respond", "tests/test_juggler_injected.py::test_the_text_reads", "tests/test_juggler_lifecycle_e2e.py", "tests/test_key_delay_reaches_the_keyboard.py", "tests/test_keyboard_rhythm.py", "tests/test_long_session_e2e.py", "tests/test_mouse.py", "tests/test_mouse_events_keep_their_values_e2e.py", "tests/test_new_page_defaults.py", "tests/test_popup_destinations_e2e.py", "tests/test_popup_pages.py", "tests/test_proxy_http_auth_e2e.py", "tests/test_proxy_reaches_the_browser.py", "tests/test_proxy_socks_auth_e2e.py", "tests/test_requestless_navigation.py", "tests/test_route_abort_code.py", "tests/test_route_e2e.py", "tests/test_route_post_data_e2e.py", "tests/test_route_sends_a_navigation_elsewhere_e2e.py", "tests/test_route_superseded_e2e.py", "tests/test_same_document_navigation.py", "tests/test_screenshot_of_text_returns_linux_e2e.py", "tests/test_scroll_into_view.py", "tests/test_scroll_only_if_needed_e2e.py", "tests/test_service_workers_blocked.py", "tests/test_set_input_files_payloads.py", "tests/test_software_compositing_is_declared_e2e.py", "tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py", "tests/test_the_callers_code_runs_once_e2e.py", "tests/test_the_close_returns_when_the_browser_has_exited_e2e.py", "tests/test_the_favicon_stays_out_of_sight_e2e.py", "tests/test_the_font_list_is_the_bundle_e2e.py", "tests/test_the_parent_reads_the_bundle_from_fontconfig_s_cache_linux_e2e.py", "tests/test_the_scheme_is_the_personas_e2e.py", "tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_when_the_exit_of_the_lab_is_loopback", "tests/test_typing_a_character_without_a_key_e2e.py", "tests/test_wait_for_timeout.py", "tests/test_web_fonts_of_closed_contexts_e2e.py"], "marker": "e2e", "needs_root": false, "windows_twin": "wrapper.e2e.suite.windows.2", "note": "Part 2 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 2 rows of linux are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 564 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row,Line truncated
{"id": "wrapper.e2e.suite.linux.3", "giro": "G2", "os": ["linux"], "min_tests": 333, "exact": true, "tests": ["tests/test_a_click_in_an_iframe_lands_at_the_frames_own_screen_origin_e2e.py", "tests/test_a_context_language_is_the_accept_language_of_every_request_e2e.py", "tests/test_a_file_chooser_reaches_every_client_e2e.py", "tests/test_a_frame_reads_only_declared_origins_while_it_loads_e2e.py", "tests/test_a_goto_to_a_refused_port_ends_with_its_reason_e2e.py", "tests/test_a_handle_action_walks_like_a_selector_action_e2e.py", "tests/test_a_launch_and_a_context_timezone_reach_the_page_e2e.py", "tests/test_a_navigation_that_moved_is_told_by_the_engine_e2e.py", "tests/test_a_popup_moves_and_resizes_as_declared_e2e.py", "tests/test_a_popup_of_a_link_reaches_the_client_e2e.py", "tests/test_a_regional_indicator_pair_measures_the_same_first_and_after_other_families_e2e.py", "tests/test_an_element_handle_serves_every_method_of_the_client_e2e.py", "tests/test_audio_context_values_are_declared_e2e.py", "tests/test_audio_noise_e2e.py", "tests/test_audio_sample_rate_is_declared_e2e.py", "tests/test_bundle_font_names_e2e.py", "tests/test_canvas_create_pattern_projection_e2e.py", "tests/test_canvas_measure_text_metrics_e2e.py", "tests/test_css_media_reads_the_declared_screen_and_pointer_e2e.py", "tests/test_dom_iterables_from_evaluate_e2e.py", "tests/test_every_argument_reaches_the_page_e2e.py", "tests/test_every_reader_of_a_webgl_canvas_agrees_e2e.py", "tests/test_exslt_date_time_through_an_imported_stylesheet_is_in_the_declared_zone_e2e.py", "tests/test_fakeweb_p2_e2e.py", "tests/test_fission_frames_tree_input_and_pixels_e2e.py", "tests/test_focus_survives_os_deactivation_e2e.py", "tests/test_fullscreen_without_wm_e2e.py", "tests/test_geolocation_reads_nothing_of_the_host_windows_e2e.py", "tests/test_goto_and_every_way_it_is_stopped_e2e.py", "tests/test_hardware_values_are_declared_e2e.py", "tests/test_input_reaches_the_top_and_a_frame_of_another_site_at_every_scale_e2e.py", "tests/test_ipv6_literal_connect_e2e.py", "tests/test_moz_element_paints_a_webgl_canvas_as_drawn_e2e.py", "tests/test_native_line_endings_are_windows_e2e.py", "tests/test_nested_frame_actions.py", "tests/test_networkidle_through_a_served_browser_with_routes_e2e.py", "tests/test_nothing_leaves_but_the_proxy_e2e.py", "tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py", "tests/test_page_element_atoms_run_in_a_sandbox_e2e.py", "tests/test_popup_geometry_is_the_declared_frame_e2e.py", "tests/test_script_cache_written_is_adopted_e2e.py", "tests/test_the_branding_a_page_loads_is_the_declared_archive_e2e.py", "tests/test_the_evaluated_code_has_no_debugger_name_e2e.py", "tests/test_the_host_gl_probe_runs_only_on_an_undeclared_engine_linux_e2e.py", "tests/test_the_launch_counter_is_one_plain_get_before_any_page_e2e.py", "tests/test_the_maximized_window_frames_and_popups_read_retail_e2e.py", "tests/test_the_parent_methods_of_the_window_origin_are_not_exposed_to_a_page_e2e.py", "tests/test_the_shutdown_ping_leaves_by_the_background_task_e2e.py", "tests/test_webgl_declared_parameters_e2e.py", "tests/test_webgl_shader_language_e2e.py", "tests/test_webgpu_adapter_is_declared_e2e.py", "tests/test_webgpu_canvas_readback_is_noised_e2e.py", "tests/test_webgpu_external_texture_e2e.py", "tests/test_window_occlusion_e2e.py"], "marker": "e2e", "needs_root": false, "windows_twin": "wrapper.e2e.suite.windows.3", "note": "Part 2 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 2 rows of linux are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 565 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on linux (a skip is red in the verdict).", "run": "suite_run"},
{"id": "wrapper.e2e.suite.windows.1", "giro": "G2", "os": ["windows"], "min_tests": 332, "exact": true, "tests": ["tests/test_a_click_waits_for_the_navigation_it_plans_e2e.py", "tests/test_a_closed_browser_leaves_the_others_alone_e2e.py", "tests/test_a_context_init_script_runs_once_e2e.py", "tests/test_a_goto_to_a_refused_port_ends_with_its_reason_e2e.py", "tests/test_a_granted_permission_is_the_one_the_page_asks_for_e2e.py", "tests/test_a_held_ice_port_blinds_the_loopback_checks_e2e.py", "tests/test_a_left_documents_body_is_evicted_e2e.py", "tests/test_a_page_cannot_probe_the_juggler_e2e.py", "tests/test_a_screenshot_honours_its_scale_e2e.py", "tests/test_a_screenshot_refuses_what_would_touch_the_page_e2e.py", "tests/test_a_tiny_download_on_a_served_browser_is_saved_e2e.py", "tests/test_a_worker_comes_back_with_its_page_from_the_cache_e2e.py", "tests/test_browser_output_is_drained.py", "tests/test_canvas_create_pattern_projection_e2e.py", "tests/test_click_rhythm.py", "tests/test_closing_one_of_four_browsers_does_not_hold_the_loop_e2e.py", "tests/test_context_locale_e2e.py", "tests/test_context_proxy_only_resolves_by_doh_e2e.py", "tests/test_detectors_e2e.py", "tests/test_download_is_intercepted_e2e.py", "tests/test_e2e.py", "tests/test_element_handle_actions.py", "tests/test_every_page_draws_its_own_acts.py", "tests/test_every_reader_of_a_webgl_canvas_agrees_e2e.py", "tests/test_fission_identity_parity_e2e.py", "tests/test_fission_iframe_crash_e2e.py", "tests/test_focus_survives_os_deactivation_e2e.py", "tests/test_geolocation_reads_nothing_of_the_host_windows_e2e.py", "tests/test_goto_to_the_same_url_e2e.py", "tests/test_ignore_https_errors_e2e.py", "tests/test_juggler_actions.py", "tests/test_juggler_transport.py", "tests/test_keyboard_rhythm.py", "tests/test_moz_element_paints_a_webgl_canvas_as_drawn_e2e.py", "tests/test_nested_frame_actions.py", "tests/test_popups_reach_the_client_e2e.py", "tests/test_preload_newtab_turns_the_privileged_about_process_off_e2e.py", "tests/test_route_superseded_e2e.py", "tests/test_scroll_only_if_needed_e2e.py", "tests/test_security_state_engine_e2e.py", "tests/test_service_worker.py", "tests/test_service_workers_blocked.py", "tests/test_strict_and_force.py", "tests/test_the_engine_is_born_in_the_job_e2e.py", "tests/test_the_hosts_file_of_the_host_is_never_read_e2e.py", "tests/test_the_shutdown_ping_leaves_by_the_background_task_e2e.py", "tests/test_trial_does_not_act.py", "tests/test_ua_widget_not_selectable.py", "tests/test_webgpu_canvas_readback_is_noised_e2e.py"], "marker": "e2e", "needs_root": false, "linux_twin": "wrapper.e2e.suite.linux.1", "note": "Part 1 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 609 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).", "runner_image": {"windows": "windows-2022"}, "run": "suite_run"},
{"id": "wrapper.e2e.suite.windows.2", "giro": "G2", "os": ["windows"], "min_tests": 291, "exact": true, "tests": ["tests/test_a_file_chooser_reaches_every_client_e2e.py", "tests/test_a_goto_to_a_response_with_no_document_ends_e2e.py", "tests/test_a_latin_letter_on_a_cyrillic_persona_e2e.py", "tests/test_a_navigation_that_moved_is_told_by_the_engine_e2e.py", "tests/test_a_regional_indicator_pair_measures_the_same_first_and_after_other_families_e2e.py", "tests/test_a_select_dropdown_stays_open_after_the_release_e2e.py", "tests/test_a_turn_name_over_tcp_goes_through_the_proxy_of_the_context_e2e.py", "tests/test_add_script_tag.py", "tests/test_an_element_handle_serves_every_method_of_the_client_e2e.py", "tests/test_an_isolated_page_and_the_next_e2e.py", "tests/test_audio_context_values_are_declared_e2e.py", "tests/test_bundle_font_names_e2e.py", "tests/test_caller_world_handles_e2e.py", "tests/test_canvas_reads_as_drawn.py", "tests/test_canvas_render_stealth.py", "tests/test_css_media_reads_the_declared_screen_and_pointer_e2e.py", "tests/test_declared_host_network_e2e.py", "tests/test_every_argument_reaches_the_page_e2e.py", "tests/test_expose_binding_e2e.py", "tests/test_fission_frames_dialogs_downloads_popups_e2e.py", "tests/test_fullscreen_without_wm_e2e.py", "tests/test_goto_networkidle_after_spa_e2e.py", "tests/test_goto_script_redirect_e2e.py", "tests/test_hidden_desktop.py", "tests/test_ice_names_by_the_context_proxy_e2e.py::test_the_ice_name_of_a_context_goes_by_the_proxy_of_that_context", "tests/test_juggler_lifecycle_e2e.py", "tests/test_key_delay_reaches_the_keyboard.py", "tests/test_long_session_e2e.py", "tests/test_mouse.py", "tests/test_native_line_endings_are_windows_e2e.py", "tests/test_navigation_across_processes_e2e.py", "tests/test_networkidle_reaches_the_client_e2e.py", "tests/test_nothing_leaves_but_the_proxy_e2e.py", "tests/test_nothing_of_a_context_leaves_but_through_its_proxy_e2e.py", "tests/test_oop_frame_geometry.py", "tests/test_proxy_socks_auth_e2e.py", "tests/test_resolver_race_e2e.py", "tests/test_route_e2e.py", "tests/test_screencast_stop_e2e.py", "tests/test_the_branding_a_page_loads_is_the_declared_archive_e2e.py", "tests/test_the_device_enumeration_takes_the_declared_time_e2e.py", "tests/test_the_evaluated_code_has_no_debugger_name_e2e.py", "tests/test_the_favicon_stays_out_of_sight_e2e.py", "tests/test_the_font_list_is_the_bundle_e2e.py", "tests/test_the_scheme_is_the_personas_e2e.py", "tests/test_the_whole_udp_chain_by_name_e2e.py::test_a_turn_srflx_by_name_arrives_through_the_relay_when_the_exit_of_the_lab_is_loopback", "tests/test_turn_over_tcp_is_tried_for_real_e2e.py", "tests/test_voices_e2e.py", "tests/test_wait_for_function.py", "tests/test_wait_for_timeout.py", "tests/test_web_fonts_of_closed_contexts_e2e.py", "tests/test_webrtc_realness.py::test_a_gateway_that_is_far_away_still_gives_the_page_a_srflx_born_through_its_relay", "tests/test_webrtc_realness.py::test_a_gather_after_the_page_loaded_through_the_gateway_costs_only_the_road_to_the_server", "tests/test_webrtc_realness.py::test_a_host_with_ipv6_addresses_gathers_through_an_ipv4_relay", "tests/test_webrtc_realness.py::test_a_proxy_that_does_not_relay_udp_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_relay_never_answers_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_a_proxy_whose_udp_leaves_from_another_address_gives_no_srflx_at_all", "tests/test_webrtc_realness.py::test_not_blocked_behind_tcp_only_socks", "tests/test_webrtc_realness.py::test_the_first_candidate_of_a_gather_does_not_wait_for_a_gateway_that_is_far_away", "tests/test_webrtc_realness.py::test_the_turn_over_tcp_of_a_context_goes_through_the_proxy_of_that_context", "tests/test_webrtc_realness.py::test_two_contexts_with_two_proxies_each_gets_the_srflx_of_its_own"], "marker": "e2e", "needs_root": false, "linux_twin": "wrapper.e2e.suite.linux.2", "note": "Part 2 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 610 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).", "runner_image": {"windows": "windows-2022"}, "run": "suite_run"},
{"id": "wrapper.e2e.suite.windows.3", "giro": "G2", "os": ["windows"], "min_tests": 277, "exact": true, "tests": ["tests/test_a_click_in_an_iframe_lands_at_the_frames_own_screen_origin_e2e.py", "tests/test_a_context_that_ends_leaves_no_process_e2e.py", "tests/test_a_cors_preflight_is_not_a_request_of_the_page_e2e.py", "tests/test_a_launch_without_a_session_gets_one_e2e.py", "tests/test_a_mouse_click_makes_one_mousemove_on_its_point_e2e.py", "tests/test_a_page_over_ipv6_gathers_on_a_machine_declared_without_it_e2e.py", "tests/test_a_served_browser_answers_a_plain_client_e2e.py", "tests/test_actions_without_a_point.py", "tests/test_audio_noise_e2e.py", "tests/test_audio_sample_rate_is_declared_e2e.py", "tests/test_bypass_csp_e2e.py", "tests/test_control_a_selects_all_in_a_field_e2e.py", "tests/test_cross_origin_iframe.py", "tests/test_dom_iterables_from_evaluate_e2e.py", "tests/test_drag_motion.py", "tests/test_element_screenshot_e2e.py", "tests/test_fakeweb_p4_e2e.py", "tests/test_fingerprint_consistency.py", "tests/test_first_launch_from_a_new_path.py", "tests/test_fission_frames_history_and_processes_e2e.py", "tests/test_fission_frames_workers_storage_and_special_frames_e2e.py", "tests/test_fission_strategy1_bench.py", "tests/test_goto_and_every_way_it_is_stopped_e2e.py", "tests/test_http3_through_the_proxy_e2e.py", "tests/test_input_is_born_before_the_page_sees_it_e2e.py", "tests/test_ipv6_literal_connect_e2e.py", "tests/test_networkidle_through_a_served_browser_with_routes_e2e.py", "tests/test_page_number_follows_the_call.py", "tests/test_persistent_profile_keeps_state.py", "tests/test_pointer_position.py", "tests/test_popup_destinations_e2e.py", "tests/test_popup_pages.py", "tests/test_proxy_http_auth_e2e.py", "tests/test_requestless_navigation.py", "tests/test_route_abort_code.py", "tests/test_route_post_data_e2e.py", "tests/test_same_document_navigation.py", "tests/test_screencast.py", "tests/test_screenshot_looks_where_you_are.py", "tests/test_service_worker_controller_e2e.py", "tests/test_set_input_files_payloads.py", "tests/test_set_offline_e2e.py", "tests/test_the_callers_code_is_not_counted_e2e.py", "tests/test_the_callers_code_runs_once_e2e.py", "tests/test_the_close_returns_when_the_browser_has_exited_e2e.py", "tests/test_the_launch_counter_is_one_plain_get_before_any_page_e2e.py", "tests/test_webgl_declared_parameters_e2e.py", "tests/test_webgl_shader_language_e2e.py", "tests/test_webgpu_adapter_is_declared_e2e.py", "tests/test_webgpu_external_texture_e2e.py"], "marker": "e2e", "needs_root": false, "linux_twin": "wrapper.e2e.suite.linux.1", "note": "Part 3 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 610 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).", "runner_image": {"windows": "windows-2022"}, "run": "suite_run"},
{"id": "wrapper.e2e.suite.windows.4", "giro": "G2", "os": ["windows"], "min_tests": 293, "exact": true, "tests": ["tests/test_a_context_language_is_the_accept_language_of_every_request_e2e.py", "tests/test_a_declared_webgl_extension_survives_its_use_e2e.py", "tests/test_a_drag_keeps_its_buttons_pressed_e2e.py", "tests/test_a_field_is_typed_after_a_pause.py", "tests/test_a_frame_reads_only_declared_origins_while_it_loads_e2e.py", "tests/test_a_handle_action_walks_like_a_selector_action_e2e.py", "tests/test_a_keepalive_request_reaches_the_client_e2e.py", "tests/test_a_launch_and_a_context_timezone_reach_the_page_e2e.py", "tests/test_a_page_that_moves_on_e2e.py", "tests/test_a_pointer_event_is_handled_before_the_call_returns_e2e.py", "tests/test_a_popup_is_reported_when_the_engine_says_it_is_ready_as_playwright_does_e2e.py", "tests/test_a_popup_moves_and_resizes_as_declared_e2e.py", "tests/test_a_popup_of_a_link_reaches_the_client_e2e.py", "tests/test_a_request_says_what_it_is_e2e.py", "tests/test_a_screenshot_draws_the_text_of_the_bundled_fonts_as_the_content_does_e2e.py", "tests/test_accept_language_on_the_wire_e2e.py", "tests/test_canvas_measure_text_metrics_e2e.py", "tests/test_doh_through_the_proxy_e2e.py", "tests/test_doh_under_stress_e2e.py", "tests/test_exslt_date_time_through_an_imported_stylesheet_is_in_the_declared_zone_e2e.py", "tests/test_fakeweb_p2_e2e.py", "tests/test_file_chooser.py", "tests/test_fingerprint_surface.py", "tests/test_fission_frames_route_and_bindings_e2e.py", "tests/test_fission_frames_tree_input_and_pixels_e2e.py", "tests/test_frames_outlive_the_back_forward_cache_e2e.py", "tests/test_hardware_values_are_declared_e2e.py", "tests/test_injected_node_surface.py", "tests/test_input_reaches_the_top_and_a_frame_of_another_site_at_every_scale_e2e.py", "tests/test_juggler_connection.py", "tests/test_juggler_event_listeners.py", "tests/test_juggler_injected.py::test_a_javascript_that_THROWS_arrives_as_an_error_not_as_None", "tests/test_juggler_injected.py::test_actionability_DISTINGUISHES_instead_of_always_saying_yes", "tests/test_juggler_injected.py::test_reads_that_make_no_sense_are_REJECTED", "tests/test_juggler_injected.py::test_states_DISCRIMINATE_instead_of_always_saying_true", "tests/test_juggler_injected.py::test_the_DOM_READING_group", "tests/test_juggler_injected.py::test_the_selector_engines_respond", "tests/test_juggler_injected.py::test_the_text_reads", "tests/test_mouse_events_keep_their_values_e2e.py", "tests/test_navigation_response.py", "tests/test_new_page_defaults.py", "tests/test_oop_frame_element.py", "tests/test_page_element_atoms_run_in_a_sandbox_e2e.py", "tests/test_popup_geometry_is_the_declared_frame_e2e.py", "tests/test_proxy_reaches_the_browser.py", "tests/test_realness_behind_a_declared_exit_e2e.py", "tests/test_route_header_order_e2e.py", "tests/test_route_sends_a_navigation_elsewhere_e2e.py", "tests/test_same_document_goto_e2e.py", "tests/test_script_cache_written_is_adopted_e2e.py", "tests/test_scroll_into_view.py", "tests/test_shadow_trusted_input.py", "tests/test_software_compositing_is_declared_e2e.py", "tests/test_the_association_is_ready_when_the_peerconnection_is_born_e2e.py", "tests/test_the_maximized_window_frames_and_popups_read_retail_e2e.py", "tests/test_the_parent_methods_of_the_window_origin_are_not_exposed_to_a_page_e2e.py", "tests/test_typing_a_character_without_a_key_e2e.py", "tests/test_webgl_noise_active.py", "tests/test_window_occlusion_e2e.py"], "marker": "e2e", "needs_root": false, "linux_twin": "wrapper.e2e.suite.linux.2", "note": "Part 4 of the whole e2e suite of the wrapper (every test that opens the browser: what e2e.yml runs on the published engine), on the engine under test, as two passes through scripts/ci_suite_run.py (4 browsers at once, then the wall_clock tests alone; no rerun). The files of the 4 rows of windows are the files of tests/ that tests/test_the_e2e_suite_is_accounted_for.py holds one by one: a file whole when every test of it is here, else its tests by name. Partition from the junits of runs 44942540063 and 44985244053, test time balanced (about 609 s of estimated wall time, 4 browsers). A new file is added by hand to a row of each system and the minimum of the row goes up by hand. Left out of every row, with the reason in the accounting test: the files and tests of wrapper.e2e.udp.exit and wrapper.e2e.udp.sandbox (root and user namespaces, their own rows), the files of the round after the publication (tests/_post_publication.py), and the tests that skip on windows (a skip is red in the verdict).", "runner_image": {"windows": "windows-2022"}, "run": "suite_run"},
{"id": "wrapper.e2e.suite.windows.control_a", "giro": "G2", "os": ["windows"], "min_tests": 20, "exact": true, "tests": ["tests/test_control_a_selects_all_in_a_field_e2e.py"], "marker": "e2e", "needs_root": false, "linux_twin": "wrapper.e2e.suite.linux.1", "note": "The keyboard shortcut Control+A selects all in a field (5 ways to press it x an input and a textarea, in-process and served to the stock client), alone on its own Windows runner (windows-latest), as e2e.yml runs it on the published engine: the Windows keyboard of a real user is what it needs. The same file is in one of wrapper.e2e.suite.windows.1..4 and in wrapper.e2e.suite.linux.1.", "run": "suite_run"},
{"id": "wrapper.e2e.ab_oracle", "giro": "G2", "os": ["linux", "windows"], "min_tests": 1, "exact": true, "tests": ["tests/test_ab_oracle_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Same seed, same bytes: the engine of the published set (the last published engine, with its own core and wrapper) against the candidate (with core_ref and wrapper_ref), on one machine, after the control: the published engine against ITSELF (the A/A; a difference is a broken control, exit 2, and the A/B is not run). On a pull request (no candidate: INVPW_BINARY_PATH is the published engine, no INVISIBLE_SEAL_FILE) the A/A is the whole test, on the first two seeds of the candidate set (all five when the pull request changes a file of this oracle: the step of e2e.yml that runs scripts/ci_ab_pr_seeds.py exports AB_ORACLE_PR_SEEDS), and saves both dumps and the diff under $AB_ORACLE_OUT or $RUNNER_TEMP/invpw-evidence/ab-oracle. scripts/ci_ab_oracle.py runs the host gate's dump (scripts/ci_host_gate.py dump: the persona seeds of ci/persona-seeds.json, each at its own DPR with nothing pinned, the whole page of scripts/host_gate; the `candidate` set of 5 seeds that reach every webgl renderer and every DPR, or with AB_ORACLE_SEED_SET=final and AB_ORACLE_SHARD=i/n the 20 seeds that reach every value of every dimension split over n jobs) twice, once with the published engine (fetched by the published set's own core under its own seal, which checks the archive's sha256, and dumped in that set's venv) and once with the candidate binary of the leg under its own seal, and compares every leaf of every visit: the only differences allowed are the `noise` entries of scripts/host_gate/exceptions.json and the diag. keys; anything else is red with the leaf, the two values and the seed; fewer leaves than the host gate's reference holds (16439 per visit; a DPR the reference does not record is held to the least of those it does) is red. The files (dump-<N>.json, dump-<N>-again.json for the tag of the published set, diff-a-a.json and, with a candidate, dump-candidate.json and diff.json) are the artifact ab-oracle-<os> of the leg. 1 = the one test; the comparator's own cases (51, the A/A's among them) are in tests/test_ab_oracle.py, the persona seeds' (15) in tests/test_persona_cover.py, in the rows of the whole unit suite. Needs the engine's binary (INVPW_BINARY_PATH) and, for the A/B, the candidate's seal (INVISIBLE_SEAL_FILE) and the network (the release assets of the published engine, and INVPW_PUBLISHED_PYTHON). Each engine runs with the core it was built for: a core that declares less than the published engine requires is no longer a red of this suite (it was: engine candidate 5, every A/B a broken control). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.", "timeout_minutes": 50, "core_dumps": "cores", "extra_steps": ["keep_oracle_files"], "artifact": "ab-oracle"},
{"id": "wrapper.e2e.ab_network", "giro": "G2", "os": ["linux", "windows"], "min_tests": 1, "exact": true, "tests": ["tests/test_ab_network_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Network A/B oracle: the P4 journey, HTTPS h1/h2 (ClientHello, h2 frames, header order), HTTP/3 (transport parameters, H3 SETTINGS), WebRTC through the coherent SOCKS5 lab gateway, DNS through the fake DoH, and an idle launch; transcripts compared leaf by leaf, direct connections red on either side. A/A first (the published engine twice: a difference is a broken control; ci/ab-network-volatile.json holds the leaves the A/A proved volatile, and may only shrink), then the published engine against the candidate. Without a candidate (a PR's e2e) the A/A alone, on the first seed (all five when the pull request changes a file of this oracle: AB_NETWORK_PR_SEEDS), in jobs of its own in e2e.yml on Linux and on Windows (the shared e2e jobs leave this file out). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.", "timeout_minutes": 75, "core_dumps": "cores", "extra_steps": ["keep_oracle_files"]},
{"id": "wrapper.e2e.ab_host", "giro": "G2", "os": ["linux", "windows"], "min_tests": 1, "exact": true, "tests": ["tests/test_ab_host_e2e.py"], "marker": "e2e", "needs_root": false, "note": "Host A/B oracle: the whole TRACE of a closed run, from the launch to the exit of the browser, after the same journey. Compared: the processes by kind (the parent, -contentproc type, sandboxingKind, isForBrowser, the helpers by what they ran) with their count, except for the kinds of type tab whose count follows the idle time (only their presence counts), and the host paths the tree touched, judged by one rule (red if and only if a path is in all the measured launches of one engine and in no launch of the other, the long launches included; every other path that differs is listed in not-judged.json, not judged); what is ours (the package, the profile and temp dirs of the launch, the run cache, its own shared memory) leaves the comparison as a class. Linux: strace of the whole tree. Windows: the process-creation audit (event 4688, with the command line) and an ETW file trace of Kernel-File, which need an administrator. It has jobs of its own in e2e.yml on Linux and on Windows (a measurement shares the machine with no other browser), and its footprints keep the lifecycle of the tree (who started and ended when, how) and how the close ended. Each engine run starts with a discarded warm-up launch whose trace is kept and listed apart (what only the warm-up did, with the process that did it); only the tree of the launch is compared (a Windows service's paths are counted by process name and left out), and a path or a kind that differs names the processes to blame. A/A first, then the published engine against the candidate; the one declared difference (Linux glxtest, gone on the 69) is in ci/ab-host-expected.json, applied by kind, a list that may only shrink. There is no list of noise. Without a candidate (a PR e2e) the A/A alone, on the first two seeds (all five when the pull request changes a file of this oracle: AB_HOST_PR_SEEDS). THE CONTROL IS THE PUBLISHED SET, as a user installs it: the last invisible-playwright on the index, the invisible-core it pins exactly and the engine that core's seal pins, in a venv of their own (ci/py-lock/published.txt, installed by hash from the run's wheelhouse; scripts/ci_published_set.py; INVPW_PUBLISHED_PYTHON is its python). The candidate's side is the candidate engine with core_ref and wrapper_ref. No tag is written in a harness file.", "runner_image": {"windows": "windows-2022"}, "timeout_minutes": 50, "core_dumps": "cores", "stock_firefox": ["windows"], "location_service": ["windows"], "extra_steps": ["keep_oracle_files"]},
{"id": "wrapper.e2e.ab_host_crash", "giro": "G2", "os": ["linux"], "min_tests": 1, "exact": true, "tests": ["tests/test_ab_host_crash_linux_e2e.py"], "marker": "e2e", "needs_root": false, "linux_only": "A signal sent to the parent of the browser with os.kill, the core the kernel writes and gdb reads, and the signal line of strace exist on Linux only: Windows has no counterpart of this test. What a Windows launch that did not end with 0 leaves (the `.extra` files and the minidump names, read from the crash folders) is held by the unit tests of the recorder with fake launches, and by every Windows leg of the three oracles, which are red on any parent that does not end with 0.", "note": "The recorder of the host oracle, tested on a launch that dies on purpose: scripts/ci_ab_host.py crash-probe launches the engine once under the oracle's stand-in (strace of the tree, cores enabled, a crash watcher), sends SIGSEGV to the browser's parent with os.kill and closes it as the oracle closes its launches; the test passes when the oracle reports RED (exit 1, `FAIL the parent process exited with code ...: seed N, launch crash`) and the artifact (RUNNER_TEMP/invpw-evidence/ab-host-crash) holds the signal line of the strace log (strace-signals.txt, strace-tail.txt), the core run through gdb (gdb-core.*.txt: `thread apply all bt`, the MOZ_CRASH reason, `info sharedlibrary`), the build ids and what the collectors did not find (said.txt). It fails when the oracle says green for a launch that died, when the evidence is missing and when the probe did not run; the red of the probe does not make the job red. It runs in the job of the host oracle on Linux (e2e-host: strace, gdb and elfutils installed, kernel.core_pattern pointed at INVPW_CORE_DIR), after the A/A, and is left out of the shared e2e job (OWN_JOB_FILES).", "timeout_minutes": 35, "core_dumps": "cores", "extra_steps": ["keep_oracle_files"]}
]
-17
View File
@@ -1,17 +0,0 @@
[
{"file": "tests/test_css_calc_is_windows_e2e.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 1, "wrapper.unit.all.windows": 1}},
{"file": "tests/test_math_sin_cos_tan_are_windows_e2e.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 1, "wrapper.unit.all.windows": 1}},
{"file": "tests/test_system_fonts_and_colors_are_windows_e2e.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 1, "wrapper.unit.all.windows": 1}},
{"file": "tests/test_webgl_dot_has_the_declared_gpu_s_bits_e2e.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 3, "wrapper.unit.all.windows": 3}},
{"file": "tests/unit/test_canvas_icc_refs.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 9, "wrapper.unit.all.windows": 9}},
{"file": "tests/unit/test_canvas_text_colors_refs.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 8, "wrapper.unit.all.windows": 8}},
{"file": "tests/unit/test_canvas_text_refs.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 7, "wrapper.unit.all.windows": 7}},
{"file": "tests/unit/test_compare_canvas_text_runs.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 3, "wrapper.unit.all.windows": 3}},
{"file": "tests/unit/test_fontconfig_criterion.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 5, "wrapper.unit.all.windows": 5}},
{"file": "tests/unit/test_theme_refusal_drop.py", "reason": "feature cancelled with the 69 backlog (21/11)", "date": "2026-11-21", "tests": {"wrapper.unit.all.linux": 3, "wrapper.unit.all.windows": 3}},
{"nodeid": "tests/test_detectors_e2e.py::test_the_headless_detector_sees_no_headless_and_no_proxy_tell", "suite": "wrapper.e2e.suite.linux.1", "count": 1, "from_min_tests": 449, "reason": "removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)", "decided_by": "pm", "date": "2026-11-27"},
{"nodeid": "tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway", "suite": "wrapper.e2e.suite.linux.1", "count": 1, "from_min_tests": 449, "reason": "removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)", "decided_by": "pm", "date": "2026-11-27"},
{"nodeid": "tests/test_detectors_e2e.py::test_the_headless_detector_sees_no_headless_and_no_proxy_tell", "suite": "wrapper.e2e.suite.windows.1", "count": 1, "from_min_tests": 333, "reason": "removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)", "decided_by": "pm", "date": "2026-11-27"},
{"nodeid": "tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway", "suite": "wrapper.e2e.suite.windows.4", "count": 1, "from_min_tests": 274, "reason": "removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)", "decided_by": "pm", "date": "2026-11-27"},
{"nodeid": "tests/test_realness_behind_a_declared_exit_e2e.py::test_the_vendored_detection_page_finds_nothing_behind_the_gateway", "suite": "wrapper.e2e.realness", "count": 1, "from_min_tests": 32, "reason": "removed with the vendored bundle whose licence notice cannot ship without a studied system's name (pm, 27/11)", "decided_by": "pm", "date": "2026-11-27"}
]
-6
View File
@@ -1,6 +0,0 @@
{
"comment": "The ready security state every job of ci.yml launches with (STEALTHFOX_SECURITY_STATE, set at the top of the workflow): a result with NO data (format 1, ok, no CRLite hashes, zero timestamps, no engine) and no security_state/ directory, so a launch copies nothing and no job asks Mozilla for anything or runs the engine's generate mode (the core neither downloads nor generates when the variable is set). To change it, change ci/security-state/securitystate-result.json and sha256 here in one commit; tests/test_ci_sets_the_security_state.py fails when they differ.",
"file": "ci/security-state/securitystate-result.json",
"sha256": "15bed64b8d0d0db9e6e5cceeec231bbca5300cdc6715280a647895dd6f6f14a4",
"bytes": 260
}
@@ -1 +0,0 @@
{"format":1,"ok":true,"error":null,"engine":{"version":"","build_id":""},"collections":{"intermediates":{"collection_timestamp":0},"onecrl":{"collection_timestamp":0},"cert-revocations":{"collection_timestamp":0,"channel":"default"}},"crlite_filter_hashes":[]}
-15
View File
@@ -1,15 +0,0 @@
---
title: "docs/ source folder"
description: "This folder is the Jekyll source for the published documentation site. Read it there, with search and proper navigation, not as raw files."
nav_exclude: true
search_exclude: true
sitemap: false
---
# docs/ source folder
This folder is the source the wiki is rendered from. Read it with search and
navigation in **[the wiki](https://github.com/oss-invisible/playwright/wiki)**.
`index.md` is what the site root actually serves. This file exists so the folder
still shows something sensible when browsed directly on github.com.
-359
View File
@@ -1,359 +0,0 @@
---
title: "about:webrtc: read your real ICE candidates"
description: "Read your live ICE candidates in Firefox's built-in about:webrtc: tell a real LAN-IP leak from a masked .local host and a proxy-egress srflx line."
parent: "Network, Proxy and WebRTC"
grand_parent: "Guides"
nav_order: 17
---
# about:webrtc: read your real ICE candidates
A public leak site gives you a verdict and a couple of IP strings. Firefox ships a
page that gives you the raw material behind that verdict: every
[ICE candidate](https://datatracker.ietf.org/doc/html/rfc8445) the
browser gathered, its type, its address, its priority, and the timeline of when each
one arrived. It is `about:webrtc`, it is built in, it needs no extension, and it is
the first place to look after any change to a WebRTC or proxy setting.
This page is how to read it, what the three interesting candidate states look like
line by line, how to pair it with `about:config`, and how to reproduce the same read
from a Playwright script so a bad candidate fails a test instead of a real session.
## Why a leak site is not enough
A leak site aggregates. It runs the gathering for you, picks the addresses it thinks
matter, and prints something like "Local IP" and "Public IP" with a green or red
badge. That summary hides exactly the distinctions you need while debugging, because
three very different underlying states can round to the same badge:
- A host candidate carrying a raw `192.168.x.x` private address. A stock browser hides
that address by default, so this is *worse* than stock. (In this product it is the
home network the session declares, never an address read from the machine.)
- A host candidate carrying an obfuscated `<uuid>.local` name. This is the correct
state, and it is what a stock Firefox produces.
- A server-reflexive (`srflx`) candidate whose address is your proxy egress, with a
plausible NAT port and a priority in the range a real candidate uses.
A "No Leak" badge can be produced by the second and third states working correctly,
and it can also be produced by WebRTC being suppressed to the point that nothing is
gathered at all, which is [its own detectable signal](webrtc-leak-proxy.md). The
badge does not tell you which. The candidate list does.
## Opening about:webrtc and reading a session
Type `about:webrtc` into the address bar. The page is empty until a peer connection
exists, so open a page that creates one first, then come back to it. Each connection
gets a collapsible block; expand it and the two things worth reading are:
- **ICE Stats / the candidate table.** Every gathered candidate with its type
(`host`, `srflx`, `relay`), its address, its port, its protocol and its priority.
- **The ICE gathering log / timeline.** Timestamped lines showing when gathering
started, when each candidate was added, and when it finished. A candidate that
arrives suspiciously early (time zero, no round trip) is as much a tell as a wrong
address, and the timeline is the only view that shows arrival time.
You are reading for three things: that a host candidate exists and is masked, that a
server-reflexive candidate points at the exit you expect (or is absent for a reason you
can name, see [the four proxy cases](#reading-a-proxied-session-the-four-cases)), and that the
timeline looks like a browser talking to a
[STUN](https://datatracker.ietf.org/doc/html/rfc8489) server rather than fabricating an
answer instantly.
## The three states a leak site collapses into one
Three candidate states, plus a suppressed section that gathers nothing, all round to
the same one-word leak-site badge. The table below is how each reads in the candidate
list; the lines underneath show the exact shape of each one.
| State | Candidate line | Leak-site badge | Verdict |
|---|---|---|---|
| Leak | `typ host` with a raw `192.168.x.x` private address | "Local IP" / red warning | Visible, worse than stock |
| Correct host | `typ host` with a `<uuid>.local` name | "No Leak", local IP shown as "-" | Shipped, correct |
| Correct srflx | `typ srflx` with your proxy egress address | contributes to "No Leak" | Correct exit |
| Suppressed | nothing gathered at all | "No Leak" | Detectable tell, a FAIL |
Here is what each state looks like as a candidate line, so you can recognise it on
sight in the table.
**Leak (worst case).** The host candidate carries a raw private address:
```text
candidate:0 1 UDP 2122252543 192.168.1.24 51894 typ host
```
If you see a private `192.168.x.x`, `10.x.x.x` or `172.16-31.x.x` address on a `typ
host` line, WebRTC is handing out a private network address. A stock browser does
not do this; it masks it. Seeing it means a masking setting is off (for example
`media.peerconnection.ice.obfuscate_host_addresses` set to `false`), and you are more
identifiable than a default install. The address is the home network the session
declares, not one read from the machine.
**Correct host.** The same candidate with the address replaced by a per-session
[mDNS](https://datatracker.ietf.org/doc/html/rfc6762) name:
```text
candidate:0 1 UDP 2122252543 3f1c9a7e-....local 51894 typ host
```
The `.local` name is what a stock Firefox emits by default, and a leak site reads it
as "No Leak" with the local IP shown as "-". This is the shipped state here: the
patched engine keeps host-address obfuscation on, so the host line is a `.local` name
and never a raw LAN IP.
**Correct srflx.** Behind a SOCKS5 proxy whose UDP relay works, the server-reflexive
candidate carries the proxy exit and a NAT port:
```text
candidate:1 1 UDP 1686052863 203.0.113.45 49731 typ srflx raddr 0.0.0.0 rport 0
```
Behind a proxy, that address must be the proxy egress, not your real public IP and not
a private address. The candidate comes out of Firefox's own ICE code from a real STUN
reply, so the [port, priority and foundation, not just the address](webrtc-ice-candidate-spoofing.md),
are the ones a real `srflx` carries. If the proxy cannot carry the STUN request there
is no `srflx` at all; see the four cases below.
## Pairing it with about:config
`about:webrtc` shows you the result; `about:config` shows you the switches that
produced it. Open a second tab on `about:config` and filter on `media.peerconnection`.
- **`media.peerconnection.*`** are the standard Firefox WebRTC prefs. The one that
governs the host state above is `media.peerconnection.ice.obfuscate_host_addresses`:
`true` gives you the `.local` name, `false` gives you the raw private address. If
`about:webrtc` shows a `192.168.x.x` host, this is the first pref to check.
There is no pref that holds the proxy exit or an IPv6 switch to read here. What the
session did with the proxy shows in the candidate list and in the `icecandidateerror`
events, which the next section teaches you to read.
The workflow is: change one pref, reload the page that builds the connection, refresh
`about:webrtc`, and read the candidate that changed. One switch at a time keeps cause
and effect legible, which is the same discipline that makes a bisect a bisect.
## Reading a proxied session: the four cases
With a proxy set, no datagram ever leaves directly from the machine, and there is no
fallback to a direct send. What you see depends on whether the proxy can carry the
STUN request. Candidates always come from Firefox's own ICE code and from real STUN
replies; none is invented and no address is rewritten.
| Session | The STUN datagram goes | `srflx` | `host` | `icecandidateerror` |
|---|---|---|---|---|
| SOCKS5 proxy whose UDP relay works and exits from the same address as its TCP | through the proxy's UDP relay | present, equal to the proxy exit | mDNS names, UDP and TCP | none |
| SOCKS5 proxy that cannot carry UDP, or SOCKS4 | nowhere | absent | mDNS names, UDP and TCP | one `701` for the STUN request, after about eleven seconds, when gathering ends |
| HTTP or HTTPS proxy | nowhere (CONNECT carries no UDP) | absent | mDNS names, UDP and TCP | same as the row above |
| No proxy | directly from the machine, as in any browser | present when the STUN server answers: the line's real public address | mDNS names | none |
How to recognise each one from `about:webrtc` or from the `icecandidate` and
`icecandidateerror` events of your own `RTCPeerConnection`:
- **The relay carried it.** A `typ srflx` line whose address equals the address the
proxy exits from, and no error event. Behind a SOCKS5 proxy this is the only shape
in which a `srflx` appears.
- **The proxy does not carry coherent UDP.** Host candidates only, then a single `701`
`icecandidateerror` for the STUN request about eleven seconds after the offer, at the
moment gathering finishes, and no `srflx`. This covers a SOCKS5 proxy that refuses
UDP ASSOCIATE, a relay that never answers, a relay whose UDP leaves from an address
other than the TCP exit, and SOCKS4. An error that arrives at once instead of after
about eleven seconds points at a STUN server name that did not resolve, not at the proxy.
- **An HTTP or HTTPS proxy.** The same picture as the previous case: CONNECT carries
no UDP, so the STUN request goes nowhere and ends in one `701`.
- **No proxy.** A `typ srflx` line, present when the STUN server answers: the line's
real public address, as in any browser.
This is not the "suppressed" state from the table above. The host candidates are
there; only the `srflx` is missing, and the `701` tells you why.
Three things hold in every case:
- Host candidates are mDNS names (`<uuid>.local`), never an address of the machine.
The browser does not read the machine's network interfaces; the session declares one
plausible home network.
- No IPv6 candidate is produced, with or without a proxy.
- The names of STUN and TURN servers in `iceServers` are resolved by the browser over
DNS-over-HTTPS through the proxy of the context, not by the machine's resolver.
Without a proxy the system resolver is used, as in retail Firefox.
The decision is made by the library, not by you. Before launch, and before a context
that brings its own SOCKS5 proxy, it opens a SOCKS5 UDP ASSOCIATE, sends a STUN Binding
request through the relay and compares the address the STUN server saw with the proxy's
TCP exit. Only if a reply comes back and the two addresses are equal does the browser
send WebRTC's UDP through the relay; anything else is treated as a router that drops
UDP. No option forces UDP on. The measurement uses two public STUN servers by default;
to choose them, pass IPv4 literals, for example `udp_stun_servers=["192.0.2.10:3478"]`,
to `InvisiblePlaywright`. Each context uses its own proxy for WebRTC, so a context with
its own SOCKS5 proxy gets its own `srflx`.
## Driving the same session from Playwright
The manual read is for exploring. Once you know which candidate line matters, you want
it as an assertion that runs every session, and `InvisiblePlaywright` returns a real
Playwright `Browser`, so the same code that opens `about:webrtc` can also gather
candidates programmatically.
First, opening the built-in page under a seeded, proxied session so you can eyeball it:
```python
from invisible_playwright import InvisiblePlaywright
PROXY = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
with InvisiblePlaywright(seed=42, proxy=PROXY) as browser:
page = browser.new_page()
# Gathering only starts after setLocalDescription, not at construction,
# so about:webrtc has nothing to show until the offer is set.
page.goto("https://example.com")
page.evaluate("""
async () => {
const pc = new RTCPeerConnection({
// Use a STUN server you can reach: with an unreachable one a 701 is
// expected in every case, and the cases cannot be told apart.
iceServers: [{ urls: "stun:stun.example.org:3478" }],
});
pc.createDataChannel('x');
await pc.setLocalDescription(await pc.createOffer());
}
""")
inspector = browser.new_page()
inspector.goto("about:webrtc")
print("Expand the session to read candidates + the gathering timeline")
inspector.wait_for_timeout(3000)
```
Then the same read as data, so a wrong candidate fails a check instead of a session.
This gathers the candidate strings and the `icecandidateerror` codes the page itself
would list, waits for gathering to finish (about eleven seconds when the proxy cannot
carry the STUN request), and prints them. Replace the STUN server with one you control:
```python
from invisible_playwright import InvisiblePlaywright
PROXY = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
GATHER = """
async () => {
const pc = new RTCPeerConnection({
// Use a STUN server you can reach. With an unreachable one a 701 is expected in
// every case, and the cases cannot be told apart.
iceServers: [{ urls: "stun:stun.example.org:3478" }],
});
pc.createDataChannel("probe");
const lines = [];
const errors = [];
pc.onicecandidate = (e) => { if (e.candidate) lines.push(e.candidate.candidate); };
pc.onicecandidateerror = (e) => { errors.push(e.errorCode); };
await pc.setLocalDescription(await pc.createOffer());
await new Promise((r) => {
const cap = setTimeout(r, 25000);
const done = () => {
if (pc.iceGatheringState === "complete") { clearTimeout(cap); r(); }
};
pc.onicegatheringstatechange = done;
done();
});
pc.close();
return { lines, errors };
}
"""
with InvisiblePlaywright(seed=42, proxy=PROXY) as browser:
page = browser.new_page()
page.goto("https://example.com")
result = page.evaluate(GATHER)
candidates, errors = result["lines"], result["errors"]
host = [c for c in candidates if "typ host" in c]
srflx = [c for c in candidates if "typ srflx" in c]
for c in candidates:
print(c)
print("icecandidateerror codes:", errors)
# Assert the positive shape, not the absence of a leak.
assert host and all(".local" in c for c in host), "host must be an mDNS .local name"
# A proxied session has exactly two shapes: a srflx from the relay (no error), or
# no srflx and a single 701 for the STUN request.
assert srflx or errors == [701], "no srflx must come with exactly one 701"
assert not any(":" in c.split()[4] for c in candidates), "no IPv6 candidate"
```
Because the identity is seed-derived, `seed=42` gives the same session every run, so a
candidate that fails this on one run fails it on the next, and you can [replay the
exact browser that produced it](quickstart.md) instead of chasing a random draw.
## A before-and-after you can measure
The distinction is not theoretical. With host obfuscation off, a leak page reports the
host candidate as a raw private address and shows the red "WebRTC exposes your Local IP"
warning; the same page on the shipped baseline reports "No Leak" with the local IP as
"-", because the host line is a `<uuid>.local` name and the only routable address
on the page, when the proxy's UDP relay carries the STUN request, is the proxy egress
on the `srflx` line. Same session, one pref, and the
difference is the whole point of reading candidates instead of badges.
Assert the presence of the right candidate, not the absence of a wrong one. A WebRTC
section that comes back empty passes every "no leak" test and is itself a signal, which
is the same false pass that a [verdict-based test hides and a field comparison
catches](how-to-test-bot-detection.md).
## Conclusion
`about:webrtc` turns WebRTC from a badge into a list you can read. It shows the host
candidate so you can confirm it is a `.local` name and not a raw private address, the
server-reflexive candidate so you can confirm it is your proxy egress when the proxy
carries UDP (and its absence, with a single `701` after about eleven seconds, when it does
not), and the gathering timeline so you can confirm the answers arrived
the way a browser produces them rather than instantly. Pair it with `about:config` to
see the switches behind each line, drive the same read from Playwright to make it a
test, and change one pref at a time so every difference has a cause.
## Short answers to the questions that lead here
**What is about:webrtc for?** It is Firefox's built-in inspector for live peer
connections: the full ICE candidate list, each candidate's type and address and
priority, and the gathering timeline. It shows the detail a leak site summarises away.
**Why is my host candidate a 192.168 address?** Host-address obfuscation is off. A
stock Firefox emits a `<uuid>.local` name instead, and a raw private address is
visible where stock hides it. Check `media.peerconnection.ice.obfuscate_host_addresses` in `about:config`.
**What should the srflx candidate show behind a proxy?** When the proxy's UDP relay
carries the STUN request, your proxy egress address, with the port and priority of a
real `srflx`. Not your real public IP and not a private address. When the proxy cannot
carry UDP there is no `srflx`: you see host candidates and a single `701`
`icecandidateerror` after about eleven seconds.
**A leak site says "No Leak" but I still get flagged. Why?** "No Leak" can mean the
candidates are correct, or it can mean WebRTC was suppressed and gathered nothing,
which is itself detectable. The candidate list tells you which; the badge does not.
**Can I read about:webrtc from Playwright?** You can navigate to it with `page.goto`,
and you can gather the same candidate strings programmatically with `page.evaluate`
over a real [`RTCPeerConnection`](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection),
which turns the manual read into an assertion.
**Why does an empty WebRTC section count as a failure?** Because a real browser always
gathers host candidates, and behind NAT a server-reflexive one as soon as its STUN
request is answered. Emitting nothing is not neutral; it is a shape no ordinary browser
has, so assert presence, not absence.
## Sources
- Mozilla's Firefox Source Docs, [Debugging WebRTC Calls](https://firefox-source-docs.mozilla.org/contributing/debugging/debugging_webrtc_calls.html),
retrieved 2026-08-28, for `about:webrtc` itself, read directly rather than through a
third-party summary.
- Mozilla Support, [Configuration Editor for Firefox](https://support.mozilla.org/en-US/kb/about-config-editor-firefox),
retrieved 2026-08-28, for `about:config`, read the same way.
**See also:** [what actually leaks through a proxy](webrtc-leak-proxy.md),
[the srflx fields beyond the address](webrtc-ice-candidate-spoofing.md), and
[everything that has to agree with your exit IP](timezone-proxy-mismatch.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. Every candidate line in
this page is one I have read off about:webrtc while chasing a leak that a badge missed.*
@@ -1,250 +0,0 @@
---
title: "Do accelerometer and gyroscope APIs leak on desktop?"
description: "Desktop Firefox doesn't leak sensor data. Why a spoofed desktop must never invent motion events, and how to verify the sensor surface matches your platform claim."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 32
---
# Do accelerometer and gyroscope APIs leak on desktop?
Short version: on a real desktop Firefox they do not leak, because there is
nothing to leak. The generic Sensor APIs that expose an accelerometer or a
gyroscope reading are a Chromium feature, and the older DeviceOrientation and
DeviceMotion events stay silent on a machine with no motion hardware.
So the interesting question is not "how do I hide my sensors" - it is "am I sure my
automated desktop is not inventing motion data a real desktop would never
produce". A desktop that emits accelerometer or gyroscope readings is a
mobile-or-fake tell, and it contradicts the platform string sitting right next
to it.
This page walks through what a genuine desktop exposes, why faking motion is a
consistency failure rather than a clever disguise, what the patched build
reports, and how to check the surface yourself.
## What desktop Firefox actually exposes
Desktop Firefox exposes almost nothing on this surface: the generic Sensor
API is absent entirely, and the older DeviceMotion/DeviceOrientation events
exist as properties but never fire without motion hardware. Those are the two
separate families of device-motion API, and they behave very differently
across engines.
The **generic Sensor APIs** - [`Accelerometer`](https://developer.mozilla.org/en-US/docs/Web/API/Accelerometer),
[`Gyroscope`](https://developer.mozilla.org/en-US/docs/Web/API/Gyroscope),
`LinearAccelerationSensor`, `AbsoluteOrientationSensor` and the rest of that
family - are implemented in Chromium and, at time of writing, not in Firefox at
all. On a real Firefox, `typeof Accelerometer` is `"undefined"`. A page that
tries `new Gyroscope()` gets a `ReferenceError`. This is not a stealth trick;
it is simply what the engine ships.
The **[DeviceOrientation and DeviceMotion](https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent) events** - `window.ondeviceorientation`,
`window.ondevicemotion` - do exist as properties in Firefox, because they are
part of an older, more widely shipped spec. But existing as a property is not
the same as firing. On a desktop with no accelerometer and no gyroscope, you can
add a `devicemotion` listener and it will never be called. The event surface is
present; the data behind it is silent.
So a truthful desktop Firefox answers the sensor question three ways at once:
the generic Sensor constructors are absent, the motion event handlers exist but
never fire, and `DeviceMotionEvent.requestPermission` (the iOS gesture gate) is
also absent because it is a mobile Safari construct. All three of those agree
with each other and with a `navigator.platform` of `Win32`.
## Why a desktop that emits motion is a tell
The failure mode here is not "a detector reads your accelerometer". It is a
detector noticing that your accelerometer exists at all when your platform says
it should not.
Detection on this surface is a cross-check, the same shape as every other
consistency check. A page reads `navigator.platform`, `navigator.userAgent` and
`navigator.oscpu`, decides you are claiming a Windows desktop, and then asks a
question a Windows desktop has a known answer to: does `window.DeviceMotionEvent`
ever produce a non-null reading? A desktop says no.
If yours says yes - if some
well-meaning spoof layer decided to synthesize plausible-looking motion so the
sensor "would not look dead" - you have just told the page you are a phone
wearing a desktop user agent, which is a contradiction no real device produces.
This is why the honest move is silence, not simulation. The instinct to fill
every surface with realistic data is exactly wrong here: on a desktop the
realistic data is no data. The values that have to agree are your platform, your
oscpu, your touch surface and your motion surface, and they agree by all
pointing at the same kind of machine.
If you want the platform side of that
in depth, see
[keeping navigator.platform and oscpu consistent](navigator-platform-oscpu-consistency.md);
the closely related touch side, where a desktop must report zero touch points,
is in [maxTouchPoints and pointer type](navigator-maxtouchpoints-pointer.md).
The general rule, which shows up on every fingerprint surface: a suppressed or
absent signal is not automatically a red flag. It is a red flag only when it
disagrees with what you claim to be. A desktop with no motion sensor is
correct. A mobile user agent with no motion sensor is the tell.
## What the patched build reports
invisible_playwright is a real Firefox patched at the C++ level and driven by
stock Playwright. On the sensor surface its job is the easy kind: report exactly
what a real Windows Firefox reports, which is silence.
The generic Sensor
constructors stay absent, the DeviceMotion and DeviceOrientation handlers exist
but never fire, and nothing invents a reading to fill the gap. Because the whole
identity is seed-derived, the platform string, the oscpu string, the touch
surface and this motion surface all come from one coherent machine rather than
from four independent guesses, so they agree by construction.
That is the point of the demonstration below. There is nothing to configure and
no sensor flag to set - the correct desktop behaviour is the default, and the
launch is the ordinary two lines.
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
report = page.evaluate("""async () => {
const motionFired = [];
window.addEventListener('devicemotion', e => motionFired.push(e), { once: true });
await new Promise(r => setTimeout(r, 300));
return {
platform: navigator.platform,
hasAccelerometerCtor: typeof Accelerometer !== 'undefined',
hasGyroscopeCtor: typeof Gyroscope !== 'undefined',
hasDeviceMotionEvent: 'DeviceMotionEvent' in window,
hasRequestPermission:
typeof (window.DeviceMotionEvent || {}).requestPermission === 'function',
motionEventsSeen: motionFired.length,
};
}""")
print(report)
# platform: 'Win32'
# hasAccelerometerCtor: False <- generic Sensor API is Chromium-only
# hasGyroscopeCtor: False
# hasDeviceMotionEvent: True <- handler exists...
# hasRequestPermission: False <- iOS-only, correctly absent
# motionEventsSeen: 0 <- ...but never fires: no motion hardware
```
Pass the same `seed` and the surrounding identity comes back identical every
run, so if you are bisecting a block you are changing one thing at a time rather
than chasing a fresh random machine on each attempt.
## Verify it yourself against a stock browser
Do not take the output above on faith - the useful test is a diff, not a
verdict. Open the same probe in a stock desktop Firefox on the same machine and
compare field by field. The two should agree on every line: same absent
constructors, same present-but-silent event handlers, same zero motion events.
Anything that differs between the automated browser and the stock one, other
than the exit address, is a candidate worth explaining.
Then extend the same probe to the neighbouring surfaces that have to tell the
same story - platform, oscpu, `maxTouchPoints`, screen. A detector reads them
together, so you should too.
The method for turning that comparison into
something trustworthy, including why one green run is not a pass and why an empty
result is a failure rather than a clean sheet, is in
[how to test bot detection without a false pass](how-to-test-bot-detection.md).
For the wider point that a missing signal counts as a signal, the
[screen-size and headless tells](screen-size-headless-tells.md) page covers the
same idea on a different surface.
## What this fixes and what it does not
Matching the sensor surface makes invisible_playwright look like a genuine
desktop Firefox on one more axis, and that is real: the fingerprint, the TLS
handshake and the driver layer read as an ordinary Firefox, which is why a
consistent identity passes most in-page detection. But the sensor surface is a
narrow win, and it is worth being blunt about the boundary.
Reporting the correct silence does nothing for the parts of a session that are
not browser properties at all. It does not clean your **IP reputation** - a
perfectly consistent desktop on a datacenter or already-flagged address still
loses on the address.
It does not manage **per-account quotas or rate limits** -
those are counted server-side regardless of how real the browser looks. And it
does not shape your **behaviour or timing** - a pointer that teleports, a form
filled in eighty milliseconds, or an agent that pauses in a shape that looks
like model latency will be flagged no matter how honest the sensor readings are.
Those are yours to supply: a clean residential exit and human pacing. If your
fingerprint is clean and you are still blocked, that separation is the whole
subject of [why you can be blocked with a clean fingerprint](why-blocked-with-a-clean-fingerprint.md).
So the honest framing: device-sensor consistency is one correct answer among
many, it costs you nothing here because the default is already right, and it is
necessary but nowhere near sufficient on its own.
## Conclusion
Accelerometer and gyroscope do not leak on desktop Firefox because desktop
Firefox has nothing to report: the generic Sensor APIs are Chromium-only, and
the motion events exist as handlers that never fire. The mistake to avoid is
over-correction - synthesizing motion data so the surface "does not look dead"
turns a correct silence into a contradiction with your platform string.
The patched build reports the same silence a real Windows Firefox does, keeps it
coherent with platform, oscpu and the touch surface because they all derive from
one seed, and leaves the parts it cannot touch - address, quotas, behaviour -
clearly labelled as yours.
## Short answers to the questions that lead here
**Does desktop Firefox expose accelerometer or gyroscope data?** No. The generic
Sensor API constructors are Chromium-only and absent in Firefox, and the older
DeviceMotion and DeviceOrientation events stay silent with no motion hardware.
**Is a silent sensor surface a red flag?** Only if it disagrees with what you
claim. A desktop with no motion sensor is correct; a mobile user agent with no
motion sensor is the tell.
**Should I fake motion events to look more real on a desktop?** No. That is the
one thing that breaks it - a desktop emitting accelerometer or gyroscope
readings contradicts its own platform string.
**Do the DeviceMotion event handlers exist at all in Firefox?** Yes, the
`ondevicemotion` and `ondeviceorientation` properties are present, but they never
fire without hardware, so a listener is simply never called.
**Does invisible_playwright need a sensor flag set for this?** No. Reporting the
correct desktop silence is the default; there is nothing to configure.
**Does getting the sensor surface right mean I will not be detected?** No. It
helps with fingerprint consistency, not with IP reputation, account quotas, rate
limits, or behaviour and timing, which you still have to supply.
## Sources
- W3C, [Generic Sensor API](https://www.w3.org/TR/generic-sensor/), retrieved
2026-08-28, for the base framework that `Accelerometer`, `Gyroscope` and the
rest of that family extend as concrete sensor interfaces, an engine feature
present in Chromium and not in Firefox, read from each engine's own
behaviour rather than from a summary.
- W3C, [Device Orientation and Motion](https://www.w3.org/TR/orientation-event/),
retrieved 2026-08-28, for the DeviceOrientation and DeviceMotion event model
and its attribute definitions.
- This project's release gates, which compare the patched build's surfaces field
by field against a stock desktop Firefox on the same machine.
**See also:** [navigator.platform and oscpu consistency](navigator-platform-oscpu-consistency.md),
[maxTouchPoints and pointer type](navigator-maxtouchpoints-pointer.md), and
[why you can be blocked with a clean fingerprint](why-blocked-with-a-clean-fingerprint.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The sensor surface
is the easy kind of honest: the correct answer is to report nothing, and the only
way to fail is to invent data a real desktop would never send.*
-223
View File
@@ -1,223 +0,0 @@
---
title: "Accept-Language header vs navigator.languages"
description: "Accept-Language and navigator.languages must agree: one Firefox pref feeds both, so an injection-only spoof that moves one and not the other is a clear tell."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 21
---
# Accept-Language header vs navigator.languages
A real browser reports its preferred languages in two completely separate places. It
sends an `Accept-Language` header on every HTTP request, decided by the network stack
before any page runs. And it exposes `navigator.language` and `navigator.languages` to
JavaScript, read from the page after it loads. Two surfaces, two code paths, and a
detector that reads both expects them to tell the same story.
They do, in a stock browser, because both come from one setting. The interesting failure
is what happens when a stealth layer touches only one of them.
## One preference feeds both surfaces
In Firefox the language preference lives in a single about:config string,
`intl.accept_languages`, with a value like `en-US,en`. That one string is the source for
two different consumers:
- The **network stack** formats it into the `Accept-Language` request header, adding the
quality values (`en-US,en;q=0.5`) a browser normally attaches.
- The **JavaScript engine** parses the same string into the `navigator.languages` array
and its first element into `navigator.language`.
Because both read the same preference, they cannot disagree. Change the preference and
the header changes and the array changes, together, in the same load. There is no way,
inside a genuine browser, to make the header say one thing and the property say another,
because there is only one value and both surfaces quote it.
That single-source property is worth stating plainly, because it is exactly the invariant
a naive spoof breaks.
## Why an injection-only spoof splits the two
A large class of stealth tooling works by running JavaScript in the page before the
site's own code: it redefines `navigator.languages` with `Object.defineProperty`, or it
patches the getter. That reaches exactly one of the two surfaces. It can make
`navigator.languages` return `["en-US", "en"]` to any script that asks.
It never touches the header. The `Accept-Language` header was formatted and sent by the
network layer, which is compiled C++ and does not read the JavaScript you injected. So
the request that fetched the page carried whatever the underlying browser's real
preference was, while the property in the page now claims something else.
The split lines up field by field like this:
| Surface | Real browser | Injection-only spoof |
|---|---|---|
| `Accept-Language` header | formatted from the language preference | unchanged real value (sent by the network layer) |
| `navigator.languages` | parsed from the same preference | overridden in the page |
| Do the two agree? | yes, one shared source | no, they diverge |
A detector does not need to be clever to catch this. It reads the `Accept-Language` it
received on the request, reads `navigator.languages` from a script it served, and
compares the two strings. When the header says one language set and the property says
another, that contradiction is the tell. It is the same shape of mistake as
[running two spoofers that answer the same question differently](playwright-detected-as-bot.md):
one value moves, its twin does not, and the gap between them is louder than either value
alone.
The same reasoning extends to the request headers a browser sends about itself, which is
why [the Sec-Fetch and client-hint headers](client-hints-sec-fetch.md) have to line up
with the rest of the identity for the same structural reason: a header the page cannot
see is a header an injection cannot fix.
## How this project keeps header and property in agreement
Because the fingerprint is applied at the browser level, not in the page, the
language is set through the same native preference a real profile uses, so both surfaces
read from it. There is nothing to inject into the page and nothing to keep in sync: the
header and the array are the same value formatted twice, by the browser, the way they
always are.
The code that drives it is stock Playwright. Switching a normal Playwright script over is
the launch line and nothing else:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
langs = page.evaluate("navigator.languages")
print("navigator.languages =", langs)
```
The `browser` returned is a real Playwright `Browser`, so every method you already use
works unchanged. The seed makes the whole identity reproducible: the same seed yields the
same language set, the same GPU, the same screen, run after run, which is what lets a
failure be replayed instead of guessed at.
## Prove they match, do not assume it
The point of this page is a check you can run, not a claim to trust. Capture the
`Accept-Language` header the browser actually sent, read `navigator.languages` from the
loaded page, and compare the two directly. Use any endpoint that echoes request headers
back; the snippet below reads the header off the outgoing request instead, so it needs no
particular server:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
sent_header = {}
def capture(request):
if "accept-language" in request.headers:
sent_header["value"] = request.headers["accept-language"]
page.on("request", capture)
page.goto("https://example.com")
header = sent_header.get("value", "")
array = page.evaluate("navigator.languages")
print("Accept-Language header :", header)
print("navigator.languages :", array)
# The header's primary tag and the array's first entry must be the same language.
header_primary = header.split(",")[0].split(";")[0].strip()
assert header_primary == array[0], (header_primary, array[0])
print("header and property agree")
```
Follow the method from
[how to test whether your browser is detected](how-to-test-bot-detection.md): assert the
values are present and agree, not asserting nothing looks wrong. A property that
comes back empty, or a header your capture never saw, is a failure and not a pass. Run it
against a stock browser on the same machine too, and the header and array should match
there in exactly the same way.
## Match the language to the exit, the same way you match the timezone
Header and property agreeing with each other is necessary but not sufficient. Both of
them also have to agree with where the request appears to come from.
A session whose exit address resolves to one country while the browser advertises the
language of another is a contradiction of the same family as
[a timezone that does not match the proxy](timezone-proxy-mismatch.md). The two values
are individually plausible and jointly wrong, which is precisely what field-by-field
comparison catches and a single-value check does not. If you
[rotate through several exits](how-to-rotate-proxies-playwright.md), the language set is
one more field that should track the exit rather than staying pinned to whatever the host
machine happens to prefer. Pass the proxy at launch and let the identity be built to fit
it, rather than setting the language by hand and hoping it lines up:
```python
from invisible_playwright import InvisiblePlaywright
proxy = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
page.goto("https://example.com")
print("languages =", page.evaluate("navigator.languages"))
```
## Conclusion
The `Accept-Language` header and `navigator.languages` are read from one browser
preference, so in a genuine browser they cannot diverge. That is the whole reason the
pair is worth checking: a stealth layer that lives in the page can move the property and
never the header, and the gap it opens is a cleaner signal than any single value. Set the
language where the browser itself reads it, keep it consistent with the exit, and verify
by comparison rather than assumption.
## Short answers to the questions that lead here
**Do Accept-Language and navigator.languages have to match?** Yes. In a real browser both
are formatted from one preference, so a mismatch is a contradiction that only a spoof
produces.
**Why does setting navigator.languages in JavaScript not work?** Because it reaches only
the page-facing property. The `Accept-Language` header was already sent by the network
layer, which does not read your injected script, so the header still carries the old
value.
**How do I set the browser language in Playwright?** Let the fingerprint layer set the
native preference so both surfaces read from it, rather than overriding the property in
the page. Here the language comes with the seeded identity.
**Should the language match the proxy country?** It should be consistent with the exit,
the same way the timezone has to be. A language from one continent on an exit in another
is a mismatch a detector can pair up.
**How do I check the two agree?** Capture the `Accept-Language` header the browser sent,
read `navigator.languages` from the loaded page, and compare the primary language tag of
each. Do it against a stock browser as well.
**Does the q-value in the header matter?** It should be present. A real browser attaches
quality values like `;q=0.5`; a header that is a bare comma list with none is itself
slightly unusual.
## Sources
- Firefox's `intl.accept_languages` preference, which is the single value both the request
header and the `navigator.languages` array are formatted from.
- [MDN: `Navigator.languages`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages)
and [MDN: `navigator.language`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language),
the page-facing properties an injection redefines.
- [MDN: the `Accept-Language` request header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language),
including the quality (`q`) values a browser attaches, sent by the network stack before any page script runs.
- This project's own realness gates, which compare request headers against in-page
properties field by field rather than reading either in isolation.
**See also:** [when the timezone does not match the proxy](timezone-proxy-mismatch.md),
[when the TLS fingerprint and the user agent disagree](tls-fingerprint-user-agent-mismatch.md),
[the checklist for being detected on one site](playwright-detected-as-bot.md), and
[how to test whether your browser is detected](how-to-test-bot-detection.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The header and the array
come from one preference, which is exactly what an injection-only spoof gets wrong.*
-24
View File
@@ -1,24 +0,0 @@
---
title: "AI agent retry loops trip rate limits, not fingerprints"
description: "Retry and re-plan loops multiply requests into a volume signal; throttling belongs in the agent loop. This page moved to the invisible_playwright_mcp wiki."
parent: "AI Agents and Frameworks"
grand_parent: "Guides"
nav_order: 17
---
# AI agent retry loops trip rate limits, not fingerprints
This page moved to the invisible_playwright_mcp wiki, where the agent-experience content now
lives:
**[Agent retry loops trip rate limits, not fingerprints](https://github.com/oss-invisible/playwright_mcp/wiki/agent-retry-loops-rate-limits)**
The one-paragraph version: an agent that retries and re-plans multiplies its
requests, and volume is scored server-side against your address and account.
No browser property changes a request count. Throttle in the loop that
produces the requests.
Related mechanism pages that stay on this wiki:
[why you can be blocked with a clean fingerprint](why-blocked-with-a-clean-fingerprint.md)
and [ASN and IP reputation in bot detection](asn-and-ip-reputation-in-bot-detection.md).
-26
View File
@@ -1,26 +0,0 @@
---
title: "Why AI browser agents have their own timing signal"
description: "An LLM loop emits machine-regular action gaps and instant pointer jumps - a behavioral signal no fingerprint fixes. This page moved to the invisible_playwright_mcp wiki."
parent: "AI Agents and Frameworks"
grand_parent: "Guides"
nav_order: 10
---
# Why AI browser agents have their own timing signal
This page moved to the invisible_playwright_mcp wiki, where the agent-experience content now
lives:
**[The timing signal AI agents give off](https://github.com/oss-invisible/playwright_mcp/wiki/ai-agent-timing-signal)**
The short version it still owes you here: a think-act loop pauses for model
latency, and that pause repeats with a regularity no human produces. The
pointer arc between actions is the engine's job, and this engine humanises it;
the step-to-step rhythm is produced by the agent loop, which no fingerprint
work reaches.
The mechanism layer stays on this wiki:
[mouse-dynamics behavioural biometrics](mouse-dynamics-behavioural-biometrics.md),
[keystroke timing detection](keystroke-timing-detection-playwright.md), and
[human-like mouse movement](human-mouse-movement.md).
-279
View File
@@ -1,279 +0,0 @@
---
title: "AI browser agents and stealth: what fits and what does not"
description: "Most AI browser agents drive Chromium over CDP, so a stealth Firefox does not drop in. What each tool exposes, checked from source, and what applies regardless."
parent: "AI Agents and Frameworks"
grand_parent: "Guides"
nav_order: 1
---
# AI browser agents and stealth: what fits and what does not
Most AI browser agents cannot run a stealth Firefox, because they speak the Chrome
DevTools Protocol (CDP) and Firefox does not answer it. The few built on Playwright can
select Firefox in principle, but rarely expose a custom binary. And on a server the engine
is usually not what gets the agent blocked in the first place.
If your agent works on your laptop and gets challenge pages on a server, there are two
separate questions and they get answered as one. The first is whether you can swap the
browser underneath. The second is whether swapping it would fix your problem.
For most of these tools the first answer is no, for a reason that is structural rather
than accidental. The second answer is often no as well, and for a different reason.
This page is what each project actually exposes, checked by reading its source, the split
that decides all of it, what applies no matter which engine you run, the signal specific
to agent-driven sessions, and the one route that does accept a different engine.
## The split that decides everything: CDP or Playwright
Browser automation divides into two families and the boundary matters more than any
configuration option.
**Tools that speak the Chrome DevTools Protocol** talk directly to a Chromium-family
browser. CDP is Chromium's own protocol. Firefox does not implement it in the way these
drivers expect, so an `executablePath` pointing at a Firefox build does not produce a
working session: the driver would be speaking a language the browser does not answer.
**Tools built on Playwright** go through an abstraction that already supports
[three engines](https://playwright.dev/docs/browsers) - Chromium, Firefox and WebKit.
Swapping the binary is then a question of whether the tool exposes the launch option,
not of whether the protocol matches.
Almost every AI browser agent is in the first family. That is a reasonable engineering
choice, since CDP gives fine-grained control that agent loops want, and it is also why
"can I use a stealth Firefox with my agent" usually has a short answer.
## What each project actually exposes
Only two of these five projects expose a custom-binary option, and both expect a Chromium
build. The table below is read from each repository on 2026-07-27 and 2026-07-28, with
star counts from the same check.
| Project | Stars | Family | Custom binary | Firefox |
|---|---|---|---|---|
| browser-use | 107k | CDP, Chrome | `executable_path` on `BrowserProfile` | no |
| Stagehand | 24k | CDP, Chromium | `executablePath`, documented | no |
| Skyvern | 23k | CDP | not exposed | no |
| crawl4ai | 75k | Playwright | **no `executable_path`** | `browser_type="firefox"` |
| Maxun | 17k | Playwright | not exposed | not exposed |
Three others that come up in these searches are not Playwright tools at all:
`agent-browser` and `obscura` are written in Rust, and `BrowserOS` has no Playwright
dependency in its manifest. Star count does not tell you what a project drives.
## browser-use
The configuration is real: `executable_path`, `channel`, `user_data_dir`, `proxy`, `args`
and `headless` on `BrowserProfile`. The surrounding code is Chrome executable discovery
and Chrome profile handling, and the channel type is a Chromium channel.
The useful move there is pointing `executable_path` at your **real installed Chrome**
instead of the bundled Chromium, and pointing `user_data_dir` at a profile that has been
used. [The full version is here](browser-use-detection.md).
## Stagehand
Exposes `executablePath` and documents it, which is more than most. The rest of the
codebase is CDP: local CDP discovery, CDP tailing, a CDP client. Chromium references
outnumber Firefox ones by a wide margin, and the Firefox mentions are in an OpenAPI
schema and a client for someone else's API, not in a launch path.
So the option exists and it expects a Chromium build.
## Skyvern
CDP throughout. There is no exposed way to point at a different binary, and the protocol
would not match if there were.
## crawl4ai
The only one of these built on Playwright with Firefox genuinely selectable, through
`browser_type="firefox"`. What is missing is any field naming a binary, so you get
Playwright's managed build. Its own stealth mode applies `playwright-stealth`, which its
documentation notes does not support Firefox, so that combination is largely inert.
[The full version is here](crawl4ai-stealth-custom-browser.md).
## Maxun
Playwright is in the manifest and no executable path is exposed. As a no-code platform
that is a coherent product decision instead of an oversight.
## What applies regardless of the engine
Swapping the browser engine changes none of the tells a server leaks, and those tells
matter more than the binary question because they are true for every tool, CDP or
Playwright. On a server, all of these are true at once and none of them is about
automation:
- **No GPU**, so WebGL reports a software renderer.
[What those strings give away](webgl-renderer-strings.md).
- **A container font set** that does not match the claimed platform.
[Why installing more is not the fix](headless-fonts-differ.md).
- **No audio device**, and no speech voices.
[The seven audio values](audiocontext-fingerprinting.md) and
[the voice list](speech-synthesis-voices.md).
- **A screen with no taskbar** and a default resolution.
[The relationships that must hold](screen-size-headless-tells.md).
- **Codec support** describing a slim build, including whether decoding is hardware
accelerated. [Three surfaces in one API](codec-fingerprinting.md).
- **A TLS handshake** decided before any of this.
[Which nothing above the network stack can reach](ja3-ja4-tls-fingerprint.md).
Swapping the browser engine does not change a single item on that list. If your agent
fails in a container and works on your laptop, this is almost certainly where the
difference is, and it is the same for a CDP tool and a Playwright tool.
[The container walkthrough](playwright-docker-detection.md) goes through it in order.
## The signal that is specific to agents
One signal no fingerprint work touches is the rhythm of the agent loop itself. An agent
thinks between actions: it reads the page, calls a model, waits, then acts. The resulting
rhythm has a shape no person produces.
- Long pauses clustered around **model latency** rather than around reading speed.
- **No movement during the pause.** A person drifts, scrolls slightly, hovers. An agent's
pointer is motionless for two seconds and then arrives.
- Actions landing **dead centre** on targets, because coordinates come from an
accessibility tree rather than from a hand.
- **No wasted actions.** People hover over things they do not click and change their
minds.
This explains blocks that arrive **after** a few interactions rather than at first load,
and that timing is the cheapest diagnostic you have.
[Human-like pointer motion](human-mouse-movement.md) covers what can be done about the
mechanical half, and [the cadence between actions gets a page of its own](ai-agent-timing-signal.md),
because smoothing a single click's path does not smooth the gaps between clicks.
## This stopped being a theoretical concern in 2026
Agent-driven browsing used to be rare enough that most detection stacks didn't bother
building a dedicated signal for it. That changed this year, and it changed from two
directions that solve the problem in opposite ways. Fingerprint, the commercial
fingerprinting vendor behind FingerprintJS, shipped a product in early 2026 that treats
"is this an authorized AI agent" as its own question: it verifies agents from partner
providers such as OpenAI, AWS AgentCore and Browserbase through a cryptographic
signature on their HTTP requests, not by scoring how they behave.
Academic research published the same year took the opposite route. A large-scale study
deployed honeysites behind several real anti-bot mechanisms, ran six LLM-based web
agents against them, and found every agent distinguishable from a human, and from each
other, using network, HTTP and browser-level fingerprinting alone, with no behaviour
involved. The finding that matters most for this page is a third one: the stealth
features some of those agents carried often made them easier to single out, not harder.
The practical upshot for anyone running an agent against a real site: "is this an
agent" now has a funded answer on the fingerprint side and on the authentication side
alike, independent of whatever engine sits underneath.
Neither 2026 development actually measures the timing and pointer-behaviour signal from
the previous section, so treat that signal as resting on its own reasoning, not on
outside confirmation. What both developments do confirm is that an agent's technical
identity, not just its behaviour, is now something sites are actively paid to notice,
which raises the cost of getting either the engine's fingerprint or the loop's rhythm
wrong.
## The route that does accept a different engine
If you want an engine whose fingerprint is set in its own source and you want an agent to
drive it, the working combination today is MCP rather than CDP.
Microsoft's `playwright-mcp` accepts a browser and an executable path and speaks MCP, so
any agent framework that talks MCP can drive a patched Firefox through it.
[That integration is written up here](integrations/playwright-mcp.md).
The trade is explicit: you give up the agent loop of whichever framework you were using
and get an engine-level fingerprint. Whether that is worth it depends on which of the two
problems at the top of this page you actually have.
## Conclusion
The honest summary is that the agent ecosystem standardised on CDP, and CDP means
Chromium. A Firefox engine does not drop into browser-use, Stagehand or Skyvern, and
crawl4ai is one missing field away rather than one protocol away.
More importantly, for most people the engine is not the binding constraint. The container
is. Every item in the machine list above is true whichever tool you picked, and none of
them is fixed by a stealth setting inside it.
Work out which problem you have first: a block at the first request points at the machine
or the address, and a block after several actions points at behaviour.
## Short answers to the questions that lead here
**Can I use a stealth Firefox with browser-use?** No. It drives Chrome over CDP.
**Does Stagehand support a custom browser?** Yes, `executablePath`, and it expects a
Chromium build.
**Can crawl4ai use a patched engine?** Not through configuration. It accepts
`browser_type="firefox"` but has no field naming a binary.
**Why does my agent work locally and fail in Docker?** Because the container answers
differently about the GPU, the fonts, the audio device and the screen. The agent is
identical.
**How do you make an AI agent undetectable?** You do not, as a single setting. Three
separate problems each need their own fix: the engine fingerprint (what patching Firefox
at the C++ level answers), the machine surfaces a container gives away regardless of
engine (GPU, fonts, audio, screen), and the agent loop's own rhythm, which no fingerprint
patch touches. Fixing only the first and calling the agent undetectable is the mistake
this whole page is about.
**Which AI agent framework is most stealth-friendly?** The question is usually the wrong
one. Pick on the agent loop, then fix the machine, then consider the engine.
**Is there any agent route to an engine-level fingerprint?** Two, and they are not
equivalent. `uvx invisible-playwright-mcp` launches through the engine, so the
seeded profile and the humanised pointer come with it. Microsoft's own Playwright
MCP server takes a browser and an executable path, which runs the engine but
carries no `firefox_user_prefs`, so every session on a given build shares one
identity.
**See also:** [browser-use in detail](browser-use-detection.md),
[crawl4ai in detail](crawl4ai-stealth-custom-browser.md),
[Playwright MCP](integrations/playwright-mcp.md), and
[the checklist for being detected on one site](playwright-detected-as-bot.md).
## Sources
- `browser_use/browser/profile.py` and `chrome.py`, from browser-use's own repository,
[`browser-use/browser-use`](https://github.com/browser-use/browser-use); Stagehand's
`packages/core/lib/v3/launch/local.ts` and its browser configuration docs, from
[`browserbase/stagehand`](https://github.com/browserbase/stagehand); Skyvern's CDP
client, from [`Skyvern-AI/skyvern`](https://github.com/Skyvern-AI/skyvern);
`crawl4ai/async_configs.py`, from
[`unclecode/crawl4ai`](https://github.com/unclecode/crawl4ai); Maxun's package
manifest, from [`getmaxun/maxun`](https://github.com/getmaxun/maxun). All read
2026-07-27 and 2026-07-28.
- Star counts from the GitHub API on the same dates.
- The three tools named as not built on Playwright: Vercel's
[`agent-browser`](https://github.com/vercel-labs/agent-browser), Obscura's own
repository at [`h4ckf0r0day/obscura`](https://github.com/h4ckf0r0day/obscura), and
BrowserOS's own repository at
[`browseros-ai/BrowserOS`](https://github.com/browseros-ai/BrowserOS), each checked
for its implementation language and its manifest's dependencies.
- [crawl4ai's own documentation for stealth
mode](https://docs.crawl4ai.com/advanced/advanced-features/), and the
[`playwright-stealth`](https://github.com/Mattwmaster58/playwright_stealth) package it
applies, including crawl4ai's own statement that the underlying evasion modules do not
support Firefox.
- Microsoft's own [`playwright-mcp`](https://github.com/microsoft/playwright-mcp), for
the browser and executable-path options it accepts over MCP.
- Fingerprint's own product announcement,
[Identifying authorized AI agents vs bots on the web](https://fingerprint.com/blog/product-update-ai-agent-detection/),
retrieved 2026-08-28, for the cryptographic-signature verification product it shipped
in early 2026.
- The academic paper, ["On the Internet, Nobody Knows You're an LLM Bot: Unmasking Web
Agents with Multi-Layer Fingerprinting"](https://arxiv.org/abs/2606.30119), retrieved
2026-08-28, for the network, HTTP and browser-level fingerprinting work that
distinguishes six LLM-based web agents from humans and from each other, and for its
finding that stealth features often increased their detectability instead of reducing
it.
- The machine-level surfaces are each documented on their own page, linked above.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. This page exists because eight separate articles all
concluding "does not fit" would have been worse for you than one that says why.*
-252
View File
@@ -1,252 +0,0 @@
---
title: "How Akamai Bot Manager actually works"
description: "Akamai's own documentation plus a real GitHub issue, read together: what the sensor collects, how the _abck cookie and Bot Score work, and why a matching TLS/JA3/JA4 fingerprint was not enough to pass it."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 27
---
# How Akamai Bot Manager actually works
Akamai Bot Manager is not one check, it is a scoring pipeline. A JavaScript sensor
collects on the order of a hundred browser and device signals, encodes them into a
payload, and a server-side model combines that payload with the request's network-level
fingerprint into a Bot Score from 0 (human) to 100 (bot). Passing one layer of that
pipeline, even the hardest layer, does not mean you pass the rest.
A real, documented case makes that concrete, not theoretical. In April 2026 a
user of a separate open-source project
that also patches Firefox at the C++ level for automation, filed
an issue reporting that an
Akamai-protected site blocked their patched-Firefox session with a flat 403 while stock,
unpatched Firefox driven through the same Playwright automation reached the page and a
solvable challenge. The reporter had already checked the one thing everyone checks
first, the TLS and HTTP/2 handshake, and it matched byte for byte. This page walks
through how Akamai's own documentation and third-party reverse-engineering describe the
mechanism, then works through that issue in detail, because it is the clearest public
evidence that a matching network fingerprint is necessary and not sufficient.
This page is built from Akamai's own product documentation, two independent
technical write-ups that reverse-engineered the sensor payload, and the GitHub issue
above, all retrieved 2026-08-30. Where Akamai's own docs are deliberately vague about
internals, which they are, the page says so instead of filling the gap with a guess.
## What Akamai actually scores
Akamai's own materials describe Bot Manager as sitting a step above basic protections,
aimed at "APIs or transactional pages that handle things like login, signup, or
checkout." The product page states plainly that it "generates a score from 0 (human) to
100 (bot), looking at all anomalies, starting with the very first request," and that the
underlying models are built from "billions of bot requests and logins daily."
Akamai's technical documentation names five detection methods, and only some of them
involve a browser at all:
| Method | What it does |
|---|---|
| Akamai-validated bots | A maintained list of known bots (roughly 1,400 as of Akamai's own count), Akamai identifies them for you |
| Custom-categorized bots | You define your own categories and rules |
| Transparent detection | Evaluates traits of the request itself, without the client knowing it is being tested |
| Active detection | An interaction that only a real browser typically produces |
| Behavioral detection (Premier tier) | Movement patterns on specific endpoints like login or checkout |
Transparent and active detection are the two that a patched browser engine is actually
answering. Behavioral detection is a separate problem entirely, closer to
[mouse-dynamics biometrics](mouse-dynamics-behavioural-biometrics.md) than to anything a
C++ patch to the rendering engine touches.
## The sensor pipeline, step by step
Akamai does not publish the internal format of what it collects; a Scrapfly write-up on
the mechanism and a GitHub reverse-engineering project both had to work it out from the
obfuscated client script. Read together, the pipeline looks like this:
1. **The sensor script loads.** One reverse-engineering write-up
([`Edioff/akamai-analysis`](https://github.com/Edioff/akamai-analysis)) describes a
roughly 512KB obfuscated JavaScript payload that decrypts an internal string table at
runtime before it does anything else, which is itself a small piece of anti-analysis
design.
2. **Signal collection.** Both sources independently land on the same rough figure: over
a hundred signals, grouped into device environment (screen size, color depth,
hardware concurrency, device memory, platform), the browser API surface (navigator
fields, plugin behavior, WebGL renderer and vendor strings, canvas rendering
behavior), behavioral telemetry (mouse paths, click cadence, key timing, scroll
rhythm), timing metrics (DOM milestones, script execution intervals), and the results
of small JavaScript and Web Crypto challenges used to confirm the script actually ran
rather than being replayed.
3. **The payload is generated and encoded.** Described elsewhere as involving PRNG-based
shuffling and substitution seeded from a cookie-derived hash in the newer protocol
version, which is a deliberate anti-tampering design, not just minification.
4. **It is posted back.** Reverse-engineering write-ups describe the payload going to a
validation endpoint under a deployment-specific path; Akamai's own documentation does
not publish this, consistent with treating the whole exchange as "tamper-sensitive."
5. **The server responds with an `_abck` cookie.** Akamai's own language for it is
"mitigation state," and it is explicit that the internal format is deployment-specific
and "should [not be expected] to remain valid" if manually edited or reused across
sessions.
6. **Every later request is judged against that cookie's state**, not just against a
fresh score. Documented failure modes include the cookie expiring, a "replay
mismatch" when the same cookie shows up from a different IP or TLS profile, integrity
failures from a modified cookie string, and "behavioral conflicts where cookie history
contradicts runtime signals."
That last point matters for automation specifically: a session's history is part of what
gets scored, not only its current request. A browser that looks perfect on the first
page load and then behaves inconsistently three requests later is scored against its own
earlier behavior, not just against a static bar.
## What the network layer alone tells Akamai
One useful breakdown of the system groups everything Akamai evaluates into roughly seven
categories: IP reputation, TLS fingerprint consistency, HTTP protocol behavior, cookie
state, JavaScript sensor execution, browser fingerprint integrity, and behavioral
continuity across requests. The network-layer pieces are read the same way [JA3/JA4 and
HTTP/2 fingerprinting are described elsewhere on this
site](ja3-ja4-tls-fingerprint.md): TLS version, cipher and extension ordering, elliptic
curve data for the TLS side, and SETTINGS frame values plus pseudo-header ordering
(`:method`, `:authority`, `:scheme`, `:path`) for the HTTP/2 side.
That is one category out of roughly seven. Matching it removes one input to the score.
It does not remove the other six.
## The case that shows "matching fingerprint" is not "passing"
Here is what the GitHub issue actually contains, read directly, not summarized
from memory.
The reporter, running that project's v135.0.1-beta.24 build through Playwright 1.58.0 on Linux, was
being blocked with a flat 403 by one specific Akamai-protected site, while the same
automated request pattern against the same site using stock Firefox through Playwright
returned a normal page and a solvable challenge. Before filing, the reporter had already
run the check this whole article leads with: they compared JA3, JA4, and Akamai's own
HTTP/2 signature between the two browsers and found them identical, and confirmed the
HTTP headers matched except for the User-Agent version string. Their own conclusion,
stated in the issue, was that this "means detection is NOT TLS/HTTP2," and that
"something in the C++ patches is being detected" further up the stack.
The reporter also tested several other Akamai-protected sites in the same session: most
treated both browsers identically, either passing both or blocking both, which is itself
useful information, because it means the divergence was not a blanket signature of that
build, it was specific to one deployment's tuning.
Working the problem, the reporter ruled out a content-blocking browser extension,
changing the reported OS, enabling the page cache, and matching window sizes by hand,
none of which changed the outcome. They did find one concrete inconsistency worth
naming: Playwright reported a viewport of 1280x720, while the page's own JavaScript read
`window.innerWidth` as 1920. A real browser does not produce that split between what the
automation layer thinks the viewport is and what a script running inside the page reads
back. Whether that specific mismatch was the thing Akamai's sensor actually scored, the
issue does not settle. It is offered as a lead, not a proof.
The reporter also named four specific compiled patches as suspects, by filename:
`no-css-animations.patch`, `canvas-spoofing.patch`, `font-list-spoofing.patch`, and
`navigator-spoofing.patch`. Naming a patch as a suspect is not the same as demonstrating
it caused the block, and nobody in the thread went on to confirm which one, or whether
any one of them individually, was responsible.
What actually closed the issue was different from what anyone expected going in. Another
user suggested trying a newer build, version 140 or higher from an unofficial
fork rather than the mainline release the reporter had been running. The reporter tried
it, confirmed the previously-blocked site and the others now loaded normally, reopened
the issue asking for the fix to land in the mainline branch, and a third participant
noted that the mainline had since moved to a much newer Firefox base version. The issue
is closed. No maintainer in the thread ever stated which mechanism, out of the four
named patches, the viewport inconsistency, or something never named at all, was actually
responsible. What is documented is that an older patched build was blocked on a network
fingerprint that matched a passing browser, and a newer patched build on the same engine
family was not.
## What this means if you patch a browser engine
Read narrowly, this is a story about one build lagging behind on one site. Read for the
lesson it actually demonstrates, it is broader: engine-level patching, compiling Firefox
or Chromium from source and setting the fingerprint in C++ rather than overriding it from
JavaScript, narrows the gap between an automated session and a real browser. It does not
automatically close it. The TLS and HTTP/2 layer read identical in this case, which is
exactly the layer that
[cannot be patched from a script and is usually the hardest thing to fake](ja3-ja4-tls-fingerprint.md),
and Akamai still told the two sessions apart. Whatever did the telling lived somewhere
else in that roughly-seven-category pipeline: the JavaScript-collected browser
fingerprint, the behavioral signal, or a reputation signal tied to the session's history
that had nothing to do with the browser at all.
That lesson generalizes to any project taking this approach, and it does not stop at the
project this issue was filed against. This project also compiles Firefox from source and
sets its fingerprint at the C++ level rather than in JavaScript, for
the same reasons that project does: an injected override is a function
whose source can be read, and a value decided below the JavaScript layer is not. That
shared decision is a real advantage over page-level spoofing, and it is not a guarantee
against a specific commercial detector's tuning on a specific deployment. This project
has not been tested against the site named in that issue, and even if it had, one clean
result would prove exactly as little as this build's years of matching TLS fingerprints
protected it from this block. The honest position is the one this whole page has been
building toward: a matching fingerprint at any single layer is necessary and not
sufficient, for any tool that takes this approach, including this one.
## Short answers to the questions that lead here
**What is the `_abck` cookie?** Akamai's own term for it is "mitigation state." It
represents the outcome of the sensor exchange and is checked on every later request
against that same session's history, not just evaluated once.
**Does a matching TLS/JA3/JA4 fingerprint mean I pass Akamai?** No. It means one input to
the score, out of roughly seven categories Akamai evaluates, agrees with a real browser.
The documented case had a byte-identical network fingerprint and was still
blocked.
**What actually happened in the GitHub issue?** An older patched build was
blocked by one Akamai-protected site while stock Firefox passed, despite matching
TLS/JA3/JA4/HTTP2 fingerprints. Switching to a newer patched build resolved it in
practice. No mechanism was confirmed in the thread.
**Does this mean invisible_playwright has the same problem?** There is no evidence either
way. The issue was filed against a different project, on a site this project has not
been tested against. What generalizes is the principle, not the specific outcome.
**What is Akamai's Bot Score?** A 0 to 100 number Akamai's own product page describes as
built from "all anomalies, starting with the very first request," derived from the
sensor payload plus network and reputation signals, not from any single check.
**Can any browser automation tool guarantee it beats Akamai Bot Manager?** No, and a tool
that claims it should be treated as making a promise it cannot verify either. This
project does not sell that claim about this or any other commercial anti-bot system.
**Where does most of Akamai's actual signal come from, if not the network layer?** From
the parts that are hardest to verify from outside: the JavaScript-collected browser and
device fingerprint, behavioral telemetry across the session, and reputation tied to the
IP and cookie history, none of which a single clean test can rule in or out.
**See also:** [JA3 and JA4: why a TLS
fingerprint cannot be patched](ja3-ja4-tls-fingerprint.md) and [HTTP/2 fingerprint: the
layer above the TLS handshake](http2-fingerprint-detection.md), for the two layers that
matched in the case above; and [How do websites detect bots?](how-do-websites-detect-bots.md),
for where a JavaScript-collected fingerprint sits among the other layers.
## Sources
- A public GitHub issue on a patched-Firefox project,
"Akamai-protected sites block the patched build but not stock Firefox via Playwright," retrieved
2026-08-30, for the test results, the matched network fingerprints, the suspected
patches, the viewport inconsistency, and the resolution.
- Akamai's own documentation, [Detection
methods](https://techdocs.akamai.com/cloud-security/docs/detection-methods) and [About
bots](https://techdocs.akamai.com/cloud-security/docs/about-bots) on
techdocs.akamai.com, retrieved 2026-08-30, for the five documented detection methods.
- Akamai's [Bot Manager product page](https://www.akamai.com/products/bot-manager),
retrieved 2026-08-30, for the 0-100 Bot Score description.
- [Akamai Bot Manager: Understanding `_abck` Cookies and Sensor
Data](https://scrapfly.io/blog/posts/akamai-bot-manager-understanding-abck-cookies-and-sensor-data),
Scrapfly, retrieved 2026-08-30, for the sensor signal categories, the `_abck` cookie's
documented failure modes, and the seven-category scoring breakdown.
- [`Edioff/akamai-analysis`](https://github.com/Edioff/akamai-analysis), GitHub, retrieved
2026-08-30, a reverse-engineering write-up of Bot Manager's client-side sensor script,
for the signal count, the pipeline steps, and the obfuscation details.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. The issue above is someone else's bug
tracker and someone else's engine build; it is quoted here because it is the clearest
public evidence that this whole approach narrows a gap rather than closing one, and that
applies to this project exactly as much as it applies to theirs.*
@@ -1,131 +0,0 @@
---
title: "Alternative Chromium browsers for automation: what differs"
description: "Brave, Edge, Opera, Vivaldi, Ungoogled: what actually changes between the forks, and why none of it touches the CDP tells that really decide detection."
parent: "Comparisons"
nav_order: 40
---
# Alternative Chromium browsers for automation, and the one question that matters
Brave, Microsoft Edge, Opera, Vivaldi, Ungoogled Chromium: all of them build on
the open-source Chromium project, and all of them are Chromium for automation
purposes in the way that matters most. This page is about what actually
changes between the forks, and the one thing that does not.
## What Chromium being the base actually means
Every fork above takes Chromium's rendering engine (Blink), its JavaScript
engine (V8), and most of its automation surface (CDP, the same protocol
Playwright and Puppeteer speak to Chrome) largely unchanged. What each fork
adds is UI chrome, some default settings, and in a couple of cases genuine
engine-level changes - which is the part that matters and the part most
comparisons skip.
## What actually differs
**Ungoogled Chromium** strips Google-service integration and telemetry calls.
The rendering and automation surface underneath is stock Chromium. For
detection purposes this changes almost nothing observable from a page; it
changes what phones home, not what the DOM reports.
**Brave** adds a built-in ad and tracker blocker and fingerprinting
countermeasures aimed at *passive, cross-site* tracking - randomizing certain
canvas and audio outputs per session by default. That is a genuine engine-level
difference, and it cuts both ways for automation: it can make canvas-based
fingerprint matching noisier, but a browser that randomizes its own canvas
output on every load is itself an unusual, identifiable behaviour to a detector
that checks for consistency across repeat visits.
**Edge, Opera, Vivaldi** are UI and feature layers - vertical tabs, built-in
VPNs, sidebar panels - on essentially stock Chromium/Blink underneath, with UA
strings that identify them as themselves rather than as Chrome.
## The one question that matters, and none of these answer it
**Is the browser being driven by an automation protocol, and does that show?**
Every fork above, driven by Playwright or Puppeteer over [CDP](bidi-vs-cdp-detection.md),
inherits the same automation surface Chrome does, because CDP is the layer
Playwright actually talks to - the browser skin on top is close to irrelevant
to what CDP exposes. [`navigator.webdriver`](navigator-webdriver-explained.md),
the CDP-specific runtime properties, the automation flags: present in
Brave-under-Playwright exactly as in Chrome-under-Playwright, because they
come from the driving protocol, not the fork.
Picking a different Chromium skin to solve a detection problem is picking a
different paint color to fix an engine problem. The tells that matter live in
the automation layer, not in whether the tab bar says Brave or Edge.
## Where the fork does matter
- **Feature availability for your test surface.** If you are testing behaviour
specific to Edge's rendering quirks or Brave's Shields, you need that
specific browser, automation-detectability aside.
- **A UA string that must say the right thing.** If a site branches logic on
the UA rather than on capability detection, the fork's declared identity
matters for that reason alone.
- **Brave's own fingerprint randomization**, if you specifically want noisier
canvas/audio output and are not worried about the randomization itself being
a signal.
## The actual alternative, if the browser is your problem
If what you are after is a Chromium-family browser that reads as a normal
consumer install rather than an automation-driven one, the fork choice is the
wrong lever - the automation layer is. [Patchright](vs-patchright.md) takes
this approach on Chromium specifically: patching Playwright's driver to
remove the most common CDP-level tells rather than switching which skin sits
on top.
This project takes the same idea on a different base entirely: a Firefox
patched at the C++ source, chosen over any Chromium fork because Firefox is
not driven over CDP at all - a different protocol with a different, smaller
set of shared tells, on an engine most anti-bot vendors have spent
proportionally less effort fingerprinting given Chromium's dominant share.
[Firefox or Chromium for anti-detect automation](firefox-vs-chromium-antidetect.md)
is the fuller argument for that choice, independent of which Chromium fork you
were comparing against.
## Short answers to the questions that lead here
**Is Brave harder to detect than Chrome for automation?** Not meaningfully,
when driven by the same protocol. Its fingerprint randomization changes canvas
and audio output but does not touch the automation-protocol signals a detector
checks first.
**Does using Edge instead of Chrome avoid bot detection?** No. Same Blink
engine, same CDP surface when automated, different UA and UI.
**Is there a Chromium fork built for automation stealth?** Not among the
consumer forks above. Patchright and undetected-chromedriver-style projects
patch the driver layer on stock Chromium/Chrome rather than relying on a
different skin.
**Does Ungoogled Chromium avoid fingerprinting?** It removes Google telemetry
calls, not fingerprintable page-level properties. A detection script reads the
same DOM and JS surface either way.
**Which non-Chromium browser is worth trying instead?** Firefox is the
structurally different option - different rendering engine, different
automation protocol - which is the actual axis that moves the needle rather
than a Chromium skin.
**See also:**
[Firefox or Chromium for anti-detect automation](firefox-vs-chromium-antidetect.md),
[patchright vs invisible_playwright](vs-patchright.md) for the driver-patching
approach on Chromium, and
[what navigator.webdriver really tells a site](navigator-webdriver-explained.md)
for the flag every CDP-driven fork inherits alike.
## Sources
- [The Chromium Project](https://www.chromium.org/chromium-projects/), retrieved 2026-09-10, for what the open-source base provides to every fork.
- [Brave's own documentation on fingerprinting protections](https://brave.com/privacy-features/), retrieved 2026-09-10, for the canvas/audio randomization behaviour described above.
- [Chrome DevTools Protocol documentation](https://chromedevtools.github.io/devtools-protocol/), retrieved 2026-09-10, for the automation surface every CDP-driven Chromium fork exposes identically.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level, precisely because a Chromium fork does not
change the automation protocol underneath it. The page recommends switching
engines rather than skins for that reason, and says so plainly rather than
implicitly.*
-83
View File
@@ -1,83 +0,0 @@
---
title: "Anubis: The Proof-of-Work Firewall, Explained"
description: "Anubis makes a browser burn CPU on a SHA-256 puzzle before it can reach a git forge, and it is genuinely open source, unlike most of this corpus. Read from its own repository: the puzzle, the JWT cookie, and a real published critique of its limits."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 34
---
# Anubis: The Proof-of-Work Firewall, Explained
Every other vendor in [the survey of how websites detect bots](how-do-websites-detect-bots.md) is a commercial product whose internals have to be pieced together from reverse engineering, because the company that built it has no reason to publish them. Anubis is different: it is MIT-licensed, its full source is on GitHub, and its author writes publicly about why it exists and what it does not solve. This page is built almost entirely from primary material, its own repository, its own documentation, and a named security researcher's own published analysis, not practitioner reconstruction. Say that plainly, because it is the exception in this corpus, not the rule.
Anubis was created by Xe Iaso, a pseudonymous developer, in January 2025, after Amazon's web crawler overloaded Iaso's own Git server while ignoring `robots.txt` entirely. It is now maintained by Techaro. The name is the joke and the mechanic at once: Anubis, the Egyptian god who weighs the hearts of the dead, and the software "weighs the soul" of an incoming HTTP request before deciding whether it deserves to reach the backend at all.
## What it actually does: a computational toll booth
Anubis sits in front of a web server as a reverse proxy. Before a request from anything that looks like a browser (identified, by default, by "Mozilla" in the User-Agent string) reaches the protected application, Anubis requires the client to solve a small cryptographic puzzle: find a nonce that, appended to a server-issued challenge string and run through SHA-256, produces a hash with a required number of leading zero hex digits.
The cost is tunable and grows fast. A default difficulty of five leading zeros takes on the order of a second on a real browser; six can take several minutes. Each added difficulty level multiplies the expected number of hash attempts by sixteen, since each hex digit is one of sixteen values, so the cost curve is deliberately steep rather than linear. A real browser solves this using Web Workers so the puzzle does not freeze the page, leaning on the native Web Crypto API where available and falling back to a pure-JavaScript SHA-256 implementation otherwise.
Once solved, Anubis issues an Ed25519-signed JWT, stored as a cookie, carrying the challenge string, the winning nonce, the passing hash, an issue time, an expiry, and a backdated "not before" claim for clock-skew tolerance. That token is valid for roughly a week, so a real visitor solves the puzzle about once per week of browsing rather than once per page load. For clients without JavaScript at all, a separate `metarefresh` challenge type, added around version 1.20, achieves a comparable delay using an HTTP meta-refresh redirect instead of a computed hash, specifically so that disabling JavaScript is not itself a way around the gate.
## The policy engine: not every request gets the same treatment
Later versions moved Anubis toward something closer to a lightweight, rule-driven firewall than a blanket "challenge everyone" gate. Its policy system evaluates each request against configurable rules, User-Agent regex, path matching, header inspection, CIDR ranges, GeoIP and ASN filtering, or custom CEL expressions for more complex logic, and can assign one of four outcomes: **ALLOW** it straight through, **DENY** it outright, **CHALLENGE** it with the proof-of-work puzzle, or **WEIGH** it, adding to a cumulative score that later rules and thresholds act on. The project's own configuration comments describe this in the same soul-weighing language the tool is named for: a client whose signals look clean has "a soul lighter than a feather" and passes without friction.
## Adoption: this is not a hypothetical
Anubis is deployed in front of real infrastructure at meaningful scale, not just a research demo. Documented adopters include GNOME's GitLab instance, the Linux kernel's mailing list and Git infrastructure, FFmpeg, Wine, UNESCO, FreeCAD, ScummVM, Duke University's digital archives, OpenWRT, and the Deutsche Nationalbibliothek. Its author's own stated tradeoff is explicit rather than hidden: deploying it "will result in your website being blocked from smaller scrapers and may inhibit 'good bots' like the Internet Archive," and the project's guidance is that most sites should try Cloudflare first and reach for Anubis only when that is not an option, which in practice means the gate a visitor meets is more often [Turnstile](cloudflare-turnstile-explained.md) than this one.
## A real, named critique worth reading in full
Security researcher Tavis Ormandy published an analysis arguing that Anubis's proof-of-work cost is not a meaningful deterrent against a well-resourced scraper. His own account: a native solver, a couple dozen lines of C rather than the JavaScript a browser is forced to run, cleared the challenge for roughly 11,000 separate Anubis-protected sites in about six minutes on a free-tier Google Cloud VM, and he estimated the aggregate compute cost of doing this continuously at well under a cent a month, trivial against the budget of any company running crawlers at scale.
That critique does not contradict what Anubis's own author and documentation say the tool is for. Read closely, the mechanism's actual value is not raising anyone's compute bill; it is that it "refuse[s] to render an expensive page for any client that will not run a modern browser's worth of JavaScript first," which is a real and different bar than "impose a compute tax a motivated attacker cannot pay." Anubis stops the high-volume, low-effort crawler that spoofs a browser User-Agent but runs no JavaScript at all, cheaply and by design. It does not stop a scraper that has already built a dedicated solver, and by August 2025 Codeberg, one of the forges running it, publicly acknowledged that AI scrapers had learned to solve Anubis's challenges. The tradeoff is asymmetric in a second, less flattering way too: the computational cost lands on every real visitor's device, including low-end and battery-constrained ones, while a determined attacker's marginal cost per site approaches zero once a solver exists.
## What this means for a real, engine-level browser
This is the one detector in this whole corpus where the honest answer is: engine realness is close to irrelevant to whether the gate opens. Anubis is not testing whether a browser is lying about its fingerprint, checking canvas output, or looking for automation-framework tells. It is testing one thing: can this client execute a modern JavaScript engine fast enough to solve a SHA-256 search in a reasonable time. Any real browser, patched or unpatched, stealth or not, answers that the same way, because the puzzle does not touch fingerprint surfaces at all. A plain HTTP client with no JavaScript engine fails it regardless of how convincingly its headers are spoofed, which is the entire point: it is a liveness test for "do you run JavaScript like a browser," not a fidelity test for "are you the specific browser you claim to be."
`invisible_playwright` does not do anything specific to Anubis, and there is nothing Anubis-specific to do: a genuinely real Firefox, C++-patched or stock, solves its puzzle the same way any other real Firefox does, because the puzzle is engine-agnostic by construction. What this page is really useful for is the opposite lesson: not every gate in this space is a fingerprint problem, and treating Anubis as one would be a category error. The gates that do read [what a browser fingerprint is made of](what-is-a-browser-fingerprint.md) are a separate family, and knowing which of the two you are behind decides whether any of that work applies at all.
## Short answers to the questions that lead here
**Is Anubis actually open source?** Yes, genuinely, MIT-licensed, full source on GitHub, unlike almost everything else covered in this corpus. That is why this page can cite its own repository and documentation as a primary source rather than reconstructing it from the outside.
**What does the proof-of-work puzzle actually require?** Finding a nonce such that SHA-256 of the challenge string plus that nonce produces a hash with a configured number of leading zero hex digits. Default difficulty (five zeros) takes about a second on a real browser; each added digit multiplies the expected work by sixteen.
**How long does the cookie last once I solve it?** About a week, via an Ed25519-signed JWT, so a real visitor is not re-solving the puzzle on every page load.
**Does Anubis check my browser fingerprint?** No, not in the sense this corpus otherwise means. It checks whether you can execute JavaScript at browser speed, not whether your canvas hash, WebGL renderer, or navigator properties look genuine.
**Is proof-of-work actually a strong defense?** Security researcher Tavis Ormandy's published analysis argues no, against a motivated attacker: he solved challenges for roughly 11,000 Anubis-protected sites in about six minutes using a native solver on a free cloud VM. It is effective against the high-volume, no-JavaScript crawler class it was built for, and by the Anubis maintainers' own framing that JavaScript-execution requirement, not the compute cost itself, is the actual mechanism.
**Does deploying Anubis affect legitimate crawlers?** Yes, by its own maintainer's admission. It can block smaller scrapers and "good bots" like the Internet Archive, which is a stated, acknowledged tradeoff, not a hidden side effect.
**Does a real, engine-level Firefox pass Anubis differently than a stock one?** No, and that is the point of this page. Anubis is not testing fingerprint fidelity at all, so there is nothing for engine-level realness to improve here. Any real JavaScript engine running fast enough passes the same way.
**See also:** [How Kasada's bot detection actually works](kasada-explained.md) for a commercial vendor using proof-of-work as part of a much larger, closed-source stack; [How Cloudflare's AI Labyrinth works](cloudflare-ai-labyrinth-explained.md) for a completely different anti-crawler philosophy, wasting a bot's time with content instead of computation; and [how do websites detect bots?](how-do-websites-detect-bots.md) for where a liveness test like this sits among fingerprint-based layers.
## Sources
- [`TecharoHQ/anubis`](https://github.com/TecharoHQ/anubis) on GitHub, retrieved 2026-08-30, the project's own
source and README, for the MIT license, the challenge-type directory structure, and the stated tradeoff
about blocking smaller scrapers.
- Anubis documentation, [Introduction](https://techarohq-anubis.mintlify.app/introduction), retrieved 2026-08-30,
for the policy-engine actions (ALLOW/CHALLENGE/DENY/WEIGH), the challenge types, and the metarefresh
no-JavaScript fallback.
- crawlex.net, ["Browser-based proof-of-work: how Anubis gates crawlers with hash puzzles"](https://blog.crawlex.net/blog/anubis-proof-of-work-crawler-gating/),
retrieved 2026-08-30, for the exact difficulty/cost-curve figures, the JWT cookie contents and one-week
validity, and the "refuse to render an expensive page" framing of the mechanism's real function.
- Wikipedia, [Anubis (software)](https://en.wikipedia.org/wiki/Anubis_(software)), retrieved 2026-08-30, for
the creation history (Xe Iaso, January 2025, the Amazon-crawler origin story), the adopter list, and the
Tavis Ormandy critique and Codeberg's August 2025 acknowledgment, cross-checked against the crawlex.net
account of the same critique.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright), a Firefox
patched at the C++ level. Anubis is the one detector here this project can actually read the source of, and
the honest conclusion is that engine-level realness has almost nothing to do with passing it: the puzzle
tests JavaScript execution speed, not fingerprint fidelity, and any real browser clears it the same way.*
-83
View File
@@ -1,83 +0,0 @@
---
title: "Arkose Labs (FunCaptcha), Explained"
description: "FunCaptcha's 3D puzzles are the visible part of a risk engine that decides difficulty before you ever see a puzzle. What Arkose's own materials say, and what independent reverse engineering has worked out about the telemetry behind it."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 32
---
# Arkose Labs (FunCaptcha), Explained
FunCaptcha looks different from the CAPTCHAs it competes with. Instead of distorted text or a grid of storefronts, Arkose Labs presents a small interactive puzzle: rotate a 3D object to the right orientation, match a shape, answer a short audio or logic prompt. Arkose maintains a large, growing library of these, over 1,250 puzzle variants by one practitioner count.
That puzzle is the part users see. It is also, deliberately, not the main event. Before a puzzle ever renders, Arkose's telemetry has already decided how hard that puzzle should be, and how many of them a given session will have to solve.
This is one of the vendors in this corpus closer to an actual CAPTCHA than to a silent background check, worth being direct about upfront: nothing on this page is written as, or should be read as, a description of how to solve Arkose's puzzles for someone. It is about the risk mechanism that decides whether you see one, and how hard.
## What Arkose's own materials say, and where they stop
Arkose's own public site describes its detection in terms of scale and adaptivity, not mechanism: "225+ risk signals," "dynamic challenges that evolve in real time to counter emerging attack vectors," and device identification that combines "deterministic methods with machine learning similarity detection." Its own numbers past that point are business outcomes, not technical detail, customer satisfaction figures, dollar savings, account-growth multipliers, not the field names or scoring weights behind the 225 signals.
That is a real limit on what this page can say with a straight face. Arkose does not publish, in the materials checked for this page, the specific list of what those 225+ signals are or how the risk engine weighs them. What follows past this point comes from independent, practitioner-level reverse engineering, not Arkose's own documentation, and is marked as such.
## What practitioner reverse engineering has converged on
Multiple independent writeups, none of them Arkose's own source, describe a broadly consistent picture of what the client-side script collects before a puzzle appears: device and browser fingerprint (screen resolution, installed fonts, navigator properties), canvas, WebGL and AudioContext rendering output, the same category of signal [a consistency checker](consistency-checker-explained.md) and [BotD](botd-explained.md) read, and continuous mouse-movement telemetry once the puzzle itself is on screen.
The mouse-movement layer is where the writeups get specific enough to be worth quoting carefully, with the caveat that this is reconstructed from the outside, not confirmed by Arkose: one practitioner account describes the script computing cursor acceleration ahead of a click, flagging a straight-line `mouse.move()` path (the kind a naive automation script produces) as an anomaly, and treating a press-to-release interval under roughly 50 milliseconds as evidence of programmatic input, on the reasoning that human physiology puts a real click closer to 70 to 100 milliseconds. None of these specific thresholds appear in Arkose's own public materials as retrieved for this page; they are practitioner reconstructions and should be weighed accordingly, the same caveat this corpus applies to reconstructed internals for [Kasada](kasada-explained.md) and [DataDome](datadome-explained.md).
A separate, independent piece of evidence that this fingerprint surface is real and specific enough to document: a public GitHub repository, `AzureFlow/arkose-fp-docs`, exists specifically to catalog ArkoseLabs' FunCaptcha fingerprinting payload. Its existence corroborates that the payload is large and structured enough to be worth documenting field by field, the same kind of evidence [a public interstitial-payload tool corroborates for DataDome](datadome-explained.md#the-cookie-and-what-happens-when-it-is-missing); this page did not extract its full field list, so it is cited for what it demonstrates (a real, mapped fingerprint surface exists) rather than for its specific contents.
## Risk tiers, and how a puzzle escalates
The reverse-engineering writeups agree on the shape of the escalation even where they disagree on exact thresholds: telemetry collected before and during interaction feeds a risk classification, and sessions read as low-risk may see a simpler puzzle or none at all, while sessions read as high-risk face more puzzle steps, a harder variant, or an outright block. A session that appears to be a script calling Arkose's endpoints directly, without a full browser context behind it, reads as an anomaly on arrival: unusual timing, missing events a real interaction would produce, which the writeups describe triggering escalation before a single puzzle attempt has even happened.
Time pressure is part of the same mechanism by the same accounts: a stalled challenge, one sitting unsolved for roughly fifteen seconds, gets swapped out or escalated rather than waiting indefinitely, which by itself works against slow, deliberate automation as much as it works against distraction.
## What an engine answers honestly, and what the puzzle itself is not
Two different layers are worth separating cleanly here, because collapsing them is exactly the framing this page is built to avoid.
The **fingerprint layer**, canvas, WebGL, AudioContext, navigator properties, is the same category of check covered throughout this corpus: a genuinely real browser engine, patched below the JavaScript layer rather than overridden from a content script, produces these values honestly because it is not simulating them, it is generating them the normal way. That argument holds here exactly as it does for [a consistency checker](consistency-checker-explained.md) and another bot-detection service, and it says nothing puzzle-specific: it only affects whether the fingerprint half of Arkose's risk read looks honest or contradictory.
The **puzzle itself is a different kind of gate entirely**, the same structural point [made about Cloudflare Turnstile's checkbox tier](cloudflare-turnstile-explained.md): once risk scoring has decided a session needs a challenge, solving a 3D rotation puzzle is an interactive task, not a value a browser engine reports about itself. No amount of engine-level fidelity upstream makes that requirement disappear, because the requirement was never a fingerprint question in the first place. And the mouse-dynamics telemetry collected during the solve is a property of whatever is driving the pointer, human or scripted, [which has its own separate treatment in this corpus](mouse-dynamics-behavioural-biometrics.md), not a property of the rendering engine underneath.
`invisible_playwright` does not include, and will not add, a puzzle-solving or CAPTCHA-solving capability for Arkose or any comparable vendor. That is a deliberate boundary, not a gap this project is working to close: solving FunCaptcha's puzzles on a user's behalf is a different product category from engine-level stealth, and this corpus's naming policy for anti-bot vendors is explicit that a circumvention claim paired with a protection vendor's name is the one thing it does not make. What honest engine behavior changes here is narrower and more mundane: it keeps the fingerprint half of the risk read from contradicting itself, nothing more.
## Short answers to the questions that lead here
**Does Arkose Labs publish its risk scoring model?** No, not beyond category-level language ("225+ risk signals," device identification combining deterministic and ML methods). The specific field list and scoring weights are not in Arkose's own public materials as checked for this page.
**What decides how hard a FunCaptcha puzzle is?** Per Arkose's own framing and independent reverse engineering, a risk classification computed from device fingerprint, behavioral telemetry and reputation signals before the puzzle is shown, with higher-risk sessions facing more or harder puzzle steps.
**Does mouse movement get scored during the puzzle itself?** Independent writeups describe continuous cursor telemetry during the solve, including acceleration and click-timing checks, though the specific thresholds reported are reconstructed by practitioners, not confirmed by Arkose's own documentation.
**Is there a real public reverse-engineering project for Arkose's fingerprint?** Yes; `AzureFlow/arkose-fp-docs` on GitHub documents ArkoseLabs' FunCaptcha fingerprinting payload, though this page did not extract its full field-level contents.
**Does a real browser engine defeat FunCaptcha?** It answers the fingerprint layer honestly, the same argument that applies to any vendor's canvas/WebGL/navigator checks. It has no bearing on the puzzle itself, which is an interactive challenge, not a fingerprint question.
**Does invisible_playwright solve FunCaptcha puzzles?** No. This project does not include or sell a puzzle-solving or CAPTCHA-solving service for Arkose or any vendor, and this page is not a guide to building one.
**Why does Arkose escalate a stalled puzzle after about fifteen seconds?** By practitioner accounts, an unsolved challenge sitting past that window gets swapped or escalated rather than left open, which works against slow or hesitant automation the same way it works against a distracted human.
**See also:** [How Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) for the same fingerprint-versus-human-gate distinction at a vendor whose interactive tier is a click rather than a puzzle; [What are mouse-dynamics behavioural biometrics?](mouse-dynamics-behavioural-biometrics.md) for the pointer-telemetry layer in depth; and [How a consistency checker decides you are lying](consistency-checker-explained.md) for the fingerprint-consistency argument this page leans on.
## Sources
- Arkose Labs, [How Arkose Labs Works](https://www.arkoselabs.com/how-arkose-labs-works/), retrieved 2026-08-30,
for the "225+ risk signals," dynamic-challenge and device-identification language quoted above.
- [`AzureFlow/arkose-fp-docs`](https://github.com/AzureFlow/arkose-fp-docs) on GitHub, retrieved 2026-08-30,
a real public reverse-engineering project documenting ArkoseLabs' FunCaptcha fingerprint payload, cited for
its existence as evidence of a mapped fingerprint surface, not for its full field-level contents.
- Practitioner reverse-engineering writeups, retrieved 2026-08-30: ["FunCaptcha (Arkose Labs): Principles of Operation, Features, and Methods for Automated Bypass"](https://medium.com/@kentavr00000009/funcaptcha-arkose-labs-principles-of-operation-features-and-methods-for-automated-bypass-780ef786d7c5)
and ["Scraping in the Crosshairs of Arkose Labs"](https://medium.com/@koshka00009/scraping-in-the-crosshairs-of-arkose-labs-how-to-bypass-3d-puzzles-browser-fingerprints-and-c5c710091152),
for the telemetry categories, the mouse-timing thresholds, and the risk-tier escalation behavior described above;
independent, non-vendor sources whose specific numeric thresholds are not corroborated by Arkose's own documentation.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright), a Firefox
patched at the C++ level. Arkose's own materials stop at category-level claims about its risk engine,
and this page stops there too for anything not independently corroborated. It does not describe, and
this project does not build, a way to solve FunCaptcha's puzzles for you.*
@@ -1,211 +0,0 @@
---
title: "What is ASN and IP reputation in bot detection?"
description: "What ASN and IP reputation are: how they score requests before JavaScript runs, how reputation builds and decays, and why a clean browser on a burned IP loses."
parent: "Network, Proxy and WebRTC"
grand_parent: "Guides"
nav_order: 23
---
# What is ASN and IP reputation in bot detection?
An ASN identifies which network operator an address belongs to, and IP reputation is the
abuse history attached to that address; together they let a detector score a connection
before a single line of JavaScript runs. This is the layer a browser cannot touch, and it
is why a session with a flawless fingerprint can still be turned away at the door.
This page explains what an ASN is, how IP reputation gets built and how it decays, why a
perfect browser on a flagged block loses anyway, and where the browser's job ends and the
proxy's job begins.
## What an ASN actually is
An ASN, an [Autonomous System Number](https://datatracker.ietf.org/doc/html/rfc1930),
identifies the network operator that announces a block of IP addresses to the rest of the
internet. A residential internet provider has one or more ASNs. A cloud host has its own.
When a connection reaches a server, the server can look up the address and learn, in a
single query, which operator it belongs to and what kind of operator that is.
That last part is the point. ASNs carry a category. A range that belongs to a consumer
internet provider looks like a person at home. A range that belongs to a hosting company
or a cloud region looks like a server, because that is what almost everything in it is.
The lookup is cheap, it happens at the very first packet, and it does not care in the
slightest what browser you plan to run. A datacenter ASN is a strong prior on its own:
real customers rarely browse a shopping site from a cloud region, so a request from one
starts the session already suspected. This is covered in more depth in
[can websites detect a datacenter or proxy IP](can-websites-detect-a-datacenter-proxy-ip.md),
and the short version is that they can, directly, at the network layer.
## How IP reputation is built and how it decays
The ASN category is the coarse signal. Reputation is the fine one, and it is per-address
and per-block rather than per-operator.
A reputation service records what addresses have done. If a particular IP, or the /24
block around it, has recently been the source of credential-stuffing traffic, scraping
runs, spam, or a burst of failed logins, that history attaches to the address. It is
shared: the block was burned by whoever used it before you, and you inherit the score. A
single address can also burn itself inside one session, purely by volume. If one IP opens
several hundred sessions against the same endpoint in an hour, that velocity is itself the
signal, independent of how human each individual session looks.
Reputation decays, but slowly and unevenly. An address that sat quiet for a long stretch
recovers some standing. An address that is being actively abused right now does not, and
the decay resets every time the block is used again. This is why a cheap shared proxy
never really recovers: the moment its score drifts back toward neutral, the next user on
the same block drives it back down. You are not renting a clean address, you are renting a
position in a queue of people degrading it.
Three inputs, then, all read before the browser matters: the ASN's category, the block's
abuse history, and the live session count from that address.
## Why a perfect fingerprint on a burned block still loses
A perfect fingerprint on a burned block still loses because a detector scores the network
layer and the fingerprint layer independently, and a flawless browser can only zero out the
second one - it has no way to reach the first.
invisible_playwright is designed to look like a real browser driven by a real person. The
fingerprint is coherent, the TLS handshake belongs to a genuine Firefox, and the driver
layer does not announce automation. That is why it passes most detection checks: the parts
a browser controls, it controls well. What it cannot do is change the address the
connection arrives on. A coherent browser on a burned IP is still on a burned IP.
The two layers are scored independently and both have to be right. Picture a detector as
adding up evidence. The network layer contributes its verdict, a datacenter ASN or a block
with recent abuse, before any script runs. The fingerprint layer contributes its verdict
after. A perfect browser sets the second contribution to roughly zero, which is exactly
what you want, but it cannot make the first contribution negative. If the network layer
alone crosses the threshold, the session is challenged or blocked no matter how clean
everything downstream reads. This is the mechanism behind
[being blocked with a clean fingerprint](why-blocked-with-a-clean-fingerprint.md): nothing
is wrong with the browser, and the browser was never the thing that failed.
You can prove which layer you are hitting in about a minute. Open the same URL by hand,
from the same machine and the same exit, in a stock browser. If the manual visit is also
challenged, the browser is not your problem and no fingerprint change will help. If the
manual visit passes and the automated one does not, the difference is in the browser or
the behaviour, and that is a different investigation entirely.
## Where the browser ends and the proxy begins
The division of labour is clean, and being clear about it saves a lot of wasted effort.
The browser's job is everything the server reads after the connection is established: the
fingerprint fields, the TLS handshake, the absence of automation tells, the driver layer.
invisible_playwright handles those from one seed, reproducibly. Your job, the part the
browser cannot do for you, is three things it has no access to.
- **A clean exit.** An address on a consumer ASN, on a block without recent abuse, not
already shared by a crowd. Around 90% of proxy addresses are public and therefore
already known and scored before you send a byte through them. The clean fraction is the
part worth paying for.
- **Human pacing.** Session count per address is a reputation input, so hundreds of
sessions from one IP burns it regardless of browser quality. Spread the work across
addresses and across time.
- **Behaviour and quotas.** Per-account limits, rate limits, and the timing of your
actions are yours to supply. The browser looks human; whether it acts human is up to
the code driving it.
One more thing that is genuinely the browser's job and is easy to mistake for a network
problem: the browser and the exit have to tell the same story. An exit in one country
behind a browser claiming another is a contradiction the detector reads directly, and it
is cheap to get right. invisible_playwright derives the timezone from the egress IP by
default, which is why
[a timezone that does not match the proxy](timezone-proxy-mismatch.md) has its own page.
## A runnable example
The browser side is two lines. You supply the proxy; the wrapper wires it, routes DNS
through it, and derives the timezone from its exit so the browser and the network agree.
```python
from invisible_playwright import InvisiblePlaywright
proxy = {
"server": "socks5://gate.example.com:1080",
"username": "user",
"password": "pass",
}
# seed=42 makes the identity reproducible; the proxy is the exit you supply
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
# confirm the exit the browser is actually leaving from,
# rather than assuming it
page.goto("https://example.com/ip")
print(page.inner_text("body"))
```
The `browser` object is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser), so every standard
method works exactly as documented upstream. Note what the example does and does not
claim: it pins the fingerprint so a failure is reproducible, and it reads back the exit so
you know which address your reputation is riding on. It does not make a bad address good.
If the printed IP sits on a datacenter ASN or a burned block, the cleanest browser in the
world is still leaving from there.
## Conclusion
ASN and IP reputation are the part of bot detection that runs before your browser gets a
turn. The ASN says what kind of network you are on, the reputation says what that address
and its neighbours have been doing, and the session count says how hard you are leaning on
it right now. All three are read at connection time, none of them are in a browser's
gift to change, and a perfect fingerprint sets its own layer to zero without touching
theirs.
So the honest framing is the useful one. invisible_playwright makes the browser layer look
like a real person's real browser, which is most of the battle and the part most tools get
wrong. The network layer is yours: a clean exit, human pacing, and quotas you respect. Get
both right and the session passes. Get the browser perfect on a burned block and it does
not, and now you know exactly why.
## Short answers to the questions that lead here
**What is an ASN in bot detection?** The number identifying the network operator that owns
the address you connect from. Detectors read it at the first packet to learn whether you
look like a home connection or a datacenter, before any JavaScript runs.
**Can a good fingerprint fix a bad IP?** No. The two are scored independently. A perfect
browser zeroes out its own layer but cannot make a burned or datacenter address look
clean, so the session can still be blocked on the network verdict alone.
**Why does my clean browser still get blocked?** Almost always the exit. Prove it by
opening the same URL by hand from the same machine and exit in a stock browser; if that is
challenged too, the browser was never the problem.
**How does an IP get a bad reputation?** From abuse history on the address or its block,
inherited from whoever used it before you, plus live session volume. Shared cheap proxies
never recover because the next user re-burns the block as it decays.
**Does invisible_playwright give me a clean IP?** No, and it does not claim to. It handles
the browser fingerprint, TLS and driver layers. You supply the proxy, the pacing and the
quotas; the browser cannot change the address it arrives on.
**How many sessions can one IP make?** Fewer than you would like, because session count is
itself a reputation input. Hundreds of sessions from one address burns it regardless of
how human each session looks. Spread across addresses and across time.
## Sources
- [RFC 1930](https://datatracker.ietf.org/doc/html/rfc1930), the IETF guidelines that
define an Autonomous System as a routing policy unit and specify the ASN that identifies
it.
- [Playwright's `Browser` class reference](https://playwright.dev/python/docs/api/class-browser),
for what a launched `Browser` object exposes once the wrapper hands it back.
- This project's release and validation gates, which test the browser layer through a real
proxy and confirm the exit address inside the browser rather than assuming it.
- The network-layer behaviour described here is read from public reputation and ASN-lookup
mechanics, cross-checked against the browser layer this project controls.
**See also:** [can websites detect a datacenter or proxy IP](can-websites-detect-a-datacenter-proxy-ip.md)
for the network layer in detail, [browser trust scores explained](browser-trust-score-explained.md)
for how the fingerprint layer is scored separately, and
[why you can be blocked with a clean fingerprint](why-blocked-with-a-clean-fingerprint.md)
when every browser check comes back green.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The browser layer is the
part we can make perfect; the IP is the part only you can keep clean.*
-228
View File
@@ -1,228 +0,0 @@
---
title: "AudioContext fingerprinting, and why adding noise backfired"
description: "AudioContext fingerprinting is usually beaten with noise. We shipped that defence, measured it, and it made sessions easier to detect. The seven values and why."
parent: "Canvas, WebGL, Fonts and Audio"
grand_parent: "Guides"
nav_order: 8
---
# AudioContext fingerprinting, and why adding noise backfired
Audio fingerprinting has a reputation for being hard to defeat. It deserves it, but
not for the reason usually given.
The usual reason is that the audio pipeline is low-level and mathematically involved.
The real reason is simpler and more annoying: **the obvious defence makes you easier
to detect, not harder.** We shipped that defence, measured it, and turned it off. This
page is what the measurements said.
## What is actually being measured
Audio fingerprinting collects seven values from the [Web Audio
API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API), a rendered
sample buffer plus six device and analyser readings, and checks that they agree with
each other. Almost every guide stops at "it hashes how your device processes sound",
which is true and useless. Here is the concrete shape.
A fingerprinting script builds a short offline audio graph, usually an oscillator into
a dynamics compressor, renders it without playing anything, and reads the resulting
samples back:
```js
const ctx = new OfflineAudioContext(1, 44100, 44100);
const osc = ctx.createOscillator();
const comp = ctx.createDynamicsCompressor();
osc.connect(comp); comp.connect(ctx.destination);
osc.start(0); ctx.startRendering();
// then: sum the rendered samples, hash the sum
```
But the rendered buffer is only one of the values collected. The full set is wider
than people expect, and this matters because they have to agree with each other:
| Value | What it is |
|---|---|
| `AudioContext.sampleRate` | 44100 or 48000, from the audio device |
| `AudioContext.outputLatency` | the driver's reported latency |
| `AudioContext.destination.maxChannelCount` | stereo, 5.1, whatever the device has |
| the rendered sample sum | the oscillator-compressor output |
| `AnalyserNode` frequency data sum | the same graph seen through an FFT |
| `AnalyserNode` time domain data sum | the same graph in amplitude |
| `DynamicsCompressorNode.reduction` | one float, the applied gain reduction |
Seven values, one machine. A profile claiming a 5.1 sound card with a laptop's latency
and a rendered buffer that belongs to neither is caught by comparison, and no
individual value in it is unusual.
## The mistake: noise that gets asked about twice
The intuitive defence is the canvas one: add a small amount of noise to the rendered
samples so the hash differs per session. We implemented exactly that, seeded so the
same identity always produced the same audio.
Two things went wrong, and the second one is the interesting one.
## Silence is a trap
A consistency checker has a check called
`hasFakeAudio`. It does not compare your hash to a database. It builds a buffer that
should be **silent**, renders it, and looks at whether anything is in it.
```js
new OfflineAudioContext(1, 100, 44100) // 100 samples, oscillator frequency 0
```
Nothing should come out of that. On real hardware nothing does. A tool adding noise to
every rendered buffer puts noise into silence, which is physically impossible, and the
check records a lie.
It also inspects the first 100 samples of a normal buffer and sums the distinct values
it finds there, for the same reason: the beginning of a render is predictable, so
variation there is manufactured.
The fix is not to stop adding noise, it is to add it only where noise can legitimately
exist: skip buffers short enough to be a probe, skip the opening samples, and skip
channels that carry no input at all. Noise on a silent channel is not subtle. It is a
claim that your sound card produces sound when it is off.
**The general shape, which is worth more than the specific check:** a detector does not
have to recognise your noise. It only has to ask a question whose correct answer is
*nothing*, and see whether it gets something.
## The defence was the signal
The second problem was not expected: with the noise correctly guarded and passing the
silence checks, a commercial fingerprinting service still scored the browser as
tampered. We isolated the audio noise with a kill switch and ran it both ways on the
same machine and the same identity:
| Audio noise | tampering score |
|---|---|
| on | 0.4349 |
| off | 0.0564 |
Nearly an order of magnitude, from one feature. The audio noise was not one
contributor among many, it was the dominant one.
So we ship with it **off**. The un-noised audio output is still host-independent,
because the values around it are set from the seed and the render is deterministic, and
it matches what a real Firefox on that configuration produces. Turning the noise off
did not make sessions linkable: it made them identical to the honest answer, which is
what everything else on that machine is claiming anyway.
That inversion is the lesson worth carrying:
> A randomised value is not automatically safer than a fixed one. If everyone with a
> given browser and OS produces the same audio hash, producing that same hash makes you
> one of them. Producing a unique one makes you the only person on the internet whose
> sound card is a snowflake.
Randomising helps where the honest value identifies your specific machine. It hurts
where the honest value identifies your *class* of machine, because there the crowd is
the disguise.
## Getting the details right, if you do add noise
Two things we got wrong on the first attempt and had to measure our way out of.
**Scale is per-surface.** Frequency data is in decibels, roughly -100 to 0. Time domain
data is amplitude, -1 to 1. The same epsilon on both is either invisible on one and
enormous on the other. We ended up around `1e-4` for frequency, `1e-7` for time domain,
and `1e-5` for the compressor's single reduction float.
**The noise has to be a function of the seed and the position, not of a random number
generator.** If it is random per call, reading the same value twice returns two
different answers, and a script that reads it twice is a script anyone can write. Ours
hashes the seed together with the channel index and the sample position, so the same
identity renders the same buffer forever, and two reads agree.
That second point is the one that catches most tools. It is easy to check and it is
checked.
## What to look at on your own setup
```js
const ctx = new AudioContext();
console.log(ctx.sampleRate, ctx.outputLatency, ctx.destination.maxChannelCount);
ctx.close();
```
- **`sampleRate` is 44100 or 48000.** Anything else is rare enough to be interesting.
- **The three device values describe one plausible device.** A 5.1 channel count with a
laptop latency is two devices in one answer. Those three numbers need no rendering at
all, which makes them [a fingerprinting surface of their
own](audiocontext-samplerate-latency-fingerprint.md).
- **[`outputLatency`](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/outputLatency)
is not zero and not identical across machines.** A container with no sound device is
a real tell here, in the same way that [a machine with no GPU is one for
WebGL](webgl-renderer-strings.md).
- **Read the rendered sum twice in one session.** It must match. If it does not, your
noise is per-call, and that is the single cheapest tampering check there is.
- **Render a silent buffer and confirm it is silent.**
## Conclusion
The inversion is the whole lesson. Audio fingerprinting hashes seven values that have
to agree with each other, and the noise people add to break that hash is also the
easiest way to fail the checks built to catch noise. A detector does not need your
value to be unusual, it only needs one place where a silent buffer stops being silent,
a predictable opening stops being predictable, or two reads of the same identity
disagree.
Guard those three spots before adding anything, or skip the noise entirely. Silence
stays silent. The opening samples stay untouched. The same seed reads the same buffer
twice. On this measurement, the honest, un-noised answer already matched what every
other real installation of that browser produces, and matching the crowd turned out to
be the safer position.
## Short answers to the questions that lead here
**Can I just disable AudioContext?** You can, and then you have a browser without the
Web Audio API, which every real browser has. That is a stronger signal than any hash.
**Do the privacy extensions that randomise audio work?** They stop the hash being
stable, which is what they promise. They also generally randomise per call and put
noise in silence, both of which are detectable in one line. Against tracking, they
help. Against a system asking whether you are tampering, they are the thing it finds.
**Is audio fingerprinting stronger than canvas?** It has less entropy on its own. It is
harder to fake convincingly, because it is seven values that have to agree plus a
render that has to look like it came from the device the other six describe.
**Why does my audio fingerprint differ between headless and headed?** Usually the audio
device. A headless container often has none, so the values fall back to defaults that
say so.
## Sources
- MDN Web Docs on the [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API),
retrieved 2026-08-28, for the oscillator-into-compressor offline rendering pipeline
described above.
- MDN Web Docs on the specific interfaces the seven values come from:
[OfflineAudioContext](https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext),
[BaseAudioContext.sampleRate](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate),
[AudioContext.outputLatency](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/outputLatency),
[AudioDestinationNode.maxChannelCount](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount),
[AnalyserNode.getFloatFrequencyData()](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatFrequencyData)
and [getFloatTimeDomainData()](https://developer.mozilla.org/en-US/docs/Web/API/AnalyserNode/getFloatTimeDomainData),
and [DynamicsCompressorNode.reduction](https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction),
retrieved 2026-08-28.
- A consistency checker, read 2026-08-28, for the
`hasFakeAudio` check and its silence-and-opening-samples tests described above.
- This project's own A/B measurement of the tampering score with the audio noise isolated
as the only variable, on one machine and one identity.
**See also:** [why a FingerprintJS visitor ID changes](fingerprintjs-visitor-id.md),
since the audio hash is one of the components that ID is made of,
[why headless browsers render different fonts](headless-fonts-differ.md)
and [your renderer string says NVIDIA, your pixels say software](renderer-string-vs-render.md),
which are the same "the honest answer describes your machine" problem on other
surfaces, and [how a consistency checker decides you are lying](consistency-checker-explained.md).
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. The two scores above are our own A/B, on one
machine and one identity, with the audio noise as the only variable. The feature they
killed was one we wrote.*
@@ -1,226 +0,0 @@
---
title: "AudioContext sampleRate and latency as a fingerprint"
description: "AudioContext.sampleRate, outputLatency and maxChannelCount are read from the audio driver, so a headless server leaks. How a seeded browser keeps them coherent."
parent: "Canvas, WebGL, Fonts and Audio"
grand_parent: "Guides"
nav_order: 13
---
# AudioContext sampleRate and latency as a fingerprint
An `AudioContext` fingerprints a machine before it renders a single sample: `sampleRate`,
`outputLatency` and `destination.maxChannelCount` are read straight from the operating
system's audio driver, so a headless server with no sound hardware answers them with
tell-tale defaults. The defence is not to spoof each number, but to return all three as
one coherent device profile that a real machine could actually have.
Most writing about audio fingerprinting is about the rendered buffer: you run an
`OfflineAudioContext`, hash the samples it produces, and treat that hash as the signal.
That is a real surface and it has [its own page here](audiocontext-fingerprinting.md).
This page is about the other half, the part that needs no rendering at all. Before a
single sample is generated, an `AudioContext` already exposes three plain numbers that
come straight from the operating system's audio stack: `sampleRate`, `outputLatency`,
and `destination.maxChannelCount`. They are cheaper to read than any buffer hash, they
are stable within a session, and on a headless server they are one of the clearest
tells that no real sound hardware is present.
## The three numbers a real audio stack exposes
Open an `AudioContext` on a normal desktop and read four fields:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
profile = page.evaluate("""() => {
const ctx = new AudioContext();
const out = {
sampleRate: ctx.sampleRate,
outputLatency: ctx.outputLatency,
baseLatency: ctx.baseLatency,
maxChannelCount: ctx.destination.maxChannelCount,
};
ctx.close();
return out;
}""")
print(profile)
```
Each of those fields is a question to the driver, not to the browser:
- **`sampleRate`** is the rate the audio device is running at, almost always `44100` or
`48000` Hz. It is decided by the sound card and its driver, not by the page.
- **`outputLatency`** is roughly how long it takes a sample to travel from the graph to
the speaker. It reflects the buffer size the driver negotiated, and it differs between
onboard audio, a USB interface, and a surround setup.
- **`maxChannelCount`** on the destination node is how many output channels the device
can drive: `2` for ordinary stereo, `6` for a 5.1 setup, `8` for 7.1.
None of these is an automation flag. They are hardware facts, and that is exactly what
makes them useful to a detector: JavaScript cannot invent a sound card it does not have.
## Why the values have to agree with each other
The trap here is not any single value being unusual. Every one of these numbers, taken
alone, is common. The signal is in the combination.
Real devices come in a small number of shapes. Onboard laptop audio tends to run stereo
at 48000 Hz with a modest latency. A cheap USB headset might report 44100 Hz. A discrete
sound card feeding a 5.1 receiver reports six channels and a latency in a range that
matches a card built for that job. What you never see on real hardware is the
cross-product: a `maxChannelCount` of 6 paired with the sample rate and latency of a
thin laptop codec, because no such device exists.
That cross-value contradiction is precisely what a consistency-minded detector looks
for, and it is the same class of check that catches a Windows user agent over a Linux
font set, or [hardware concurrency and device memory](hardware-concurrency-device-memory.md)
that pair oddly with the machine being claimed. A fingerprint is not a list of values,
it is a set of relationships, and the relationships are where a naive spoof falls apart.
## What a headless container reports instead
Run the same three reads inside a server container with no sound hardware and you get one
of two failure shapes, both of them loud.
The first is a null audio backend: the context comes back with a default sample rate and
a latency that is suspiciously round or zero, the same on every container image, because
there is no driver underneath negotiating anything. A value that is byte-identical across
thousands of visitors is not neutral, it is a cohort.
The second is worse. Some headless setups fail to construct the context at all, or
suspend it immediately, so the page sees a `state` that never reaches `running`. As with
every other surface, [an empty or blocked result is itself a signal](how-to-test-bot-detection.md),
not a clean pass. A detector that records suppression by name counts the absence against
you exactly as it would count a wrong value.
This is the same reason [an empty speech-voice list](speech-synthesis-voices.md) gives a
server away: both audio output and installed voices are reads into the operating system,
and a datacenter answers them with defaults that say "datacenter".
## How this browser keeps the profile coherent
The fix is not to pick three plausible numbers independently, because independent draws
are what produce the impossible device. The engine returns all three together as one
coherent profile, chosen for the session from a small set of real device archetypes, so
the values always describe a machine that could actually exist:
| Device archetype | `sampleRate` | `outputLatency` | `maxChannelCount` |
|---|---|---|---|
| Plain stereo desktop | 44100 Hz | around 40 ms | 2 |
| USB audio interface | 48000 Hz | lower, near 30 ms | 2 |
| 5.1-capable sound card | 48000 Hz | near 40 ms | 6 |
Each row is a machine that exists; the impossible combinations between rows are the ones a
detector is looking for.
Because the whole profile is keyed off the session seed, a six-channel destination never
lands next to a laptop's latency, and the same seed reproduces the same audio device on
every run. The three fields move as a unit, which is the property the detector is testing
for. This is the general principle these patches follow: the goal is to look like a real
machine, not merely to avoid an obvious default, and a suppressed or arbitrary value
fails that goal as surely as a wrong one.
## Measuring it yourself with a fixed seed
The point of a seed is that a finding is reproducible. Read the profile under two seeds
and confirm two things at once: that each profile is internally coherent, and that the
same seed returns the same device every time.
```python
from invisible_playwright import InvisiblePlaywright
READ = """() => {
const ctx = new AudioContext();
const out = [ctx.sampleRate, ctx.destination.maxChannelCount,
Math.round((ctx.outputLatency || 0) * 1000)];
ctx.close();
return out;
}"""
for seed in (42, 1337):
with InvisiblePlaywright(seed=seed) as browser:
page = browser.new_page()
page.goto("https://example.com")
rate, channels, latency_ms = page.evaluate(READ)
print(f"seed={seed}: {rate} Hz, {channels} ch, ~{latency_ms} ms")
```
Two checks turn this into evidence rather than a single reading:
1. **Run each seed twice.** The tuple must be identical across runs of the same seed. If
it drifts, something is randomising per call, which is
[the cheapest tampering check a detector has](audiocontext-fingerprinting.md).
2. **Sanity-check the pairing by hand.** Six channels should never appear beside a
latency that belongs to onboard stereo. If it does, you have found the exact
contradiction this section exists to prevent.
Compare the output to a stock Firefox on the same machine and you will see the shape of
the guarantee: the stock browser reports your real card, the seeded browser reports a
coherent invented one, and neither reports the round, hardware-free defaults a bare
container does. If you need a specific device rather than a seed-derived one,
[pinning a field](pinning.md) leaves the rest of the identity untouched.
## Conclusion
`sampleRate`, `outputLatency` and `maxChannelCount` are read straight from the OS audio
driver, which means a headless server has nothing truthful to say through them and a
careless spoof says something impossible. The buffer hash gets all the attention, but
these three static numbers are read first and cost nothing to check. Treating them as one
coherent device profile, reproducible from a seed, is what keeps a six-channel count from
ever sitting next to a laptop's latency, and that pairing is the thing a consistency check
is actually built to find.
## Short answers to the questions that lead here
**What is AudioContext.sampleRate and can I change it from JavaScript?** It is the rate
the audio device runs at, `44100` or `48000` Hz, read from the driver. Page JavaScript
cannot change it truthfully; only the engine underneath can decide what the read returns.
**Why does my headless server report the same audio values on every run?** Because there
is no sound hardware, so the context falls back to a fixed default. Identical values
across every container are a cohort, not a clean fingerprint.
**Is outputLatency a reliable fingerprinting signal?** On its own, weakly. In combination
with sample rate and channel count it is strong, because only certain triples correspond
to devices that actually exist.
**What does maxChannelCount reveal?** How many output channels the device can drive: 2 for
stereo, 6 for 5.1, 8 for 7.1. A value that contradicts the latency and rate is the tell.
**How do I make these values consistent with each other?** Do not draw them
independently. Pick a real device archetype and take all three from it, which is what a
seed-derived profile does automatically.
**Will an empty or suspended AudioContext pass a detector?** No. A blocked or suppressed
read is recorded as its own signal, so an absent value fails the same way a wrong one
does.
## Sources
- W3C Web Audio API specification, which defines `sampleRate`, `baseLatency` and
`outputLatency` on `AudioContext` and `maxChannelCount` on the destination node:
[www.w3.org/TR/webaudio/](https://www.w3.org/TR/webaudio/).
- MDN Web Docs on the same properties, read from the engine rather than from any single
detector's rendering of them:
[AudioContext.sampleRate](https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/sampleRate),
[AudioContext.outputLatency](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/outputLatency),
and [AudioDestinationNode.maxChannelCount](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode/maxChannelCount).
- This project's own audio patches and their release notes, which choose the three static
audio properties together as one coherent device profile so the values never contradict
each other.
**See also:** [AudioContext fingerprinting](audiocontext-fingerprinting.md) for the
rendered-buffer side of the same surface, [why getVoices() comes back empty](speech-synthesis-voices.md)
for the other operating-system read that gives a server away, and
[the checklist for being detected on one site](playwright-detected-as-bot.md) for where
the audio device sits in the order you should debug.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The audio device is one of
the machine tells no page-level plugin can reach, which is why it is solved in the engine.*
@@ -1,287 +0,0 @@
---
title: "Automating an Email OTP / Verification-Link Login with Playwright"
description: "Poll your own inbox over IMAP mid-login, parse the one-time code or magic link, and feed it back into the same browser session that requested it - for testing your own application's login flow."
parent: "Scraping with Playwright"
grand_parent: "Guides"
nav_order: 146
---
# Automating an Email OTP / Verification-Link Login with Playwright
This page is about a specific, ordinary automation need: your own application, or an
account you control, sends a one-time code or a magic link by email as part of login,
and a test or a script needs to complete that flow end to end without a human
watching an inbox. That is a normal thing to automate, the same category of work as
[reusing a saved session](automating-login-vs-session-reuse.md) or
[scraping behind a login](how-to-scrape-behind-login-playwright.md) - it is not about
getting into an account that is not yours, and nothing here assumes or requires that.
The pattern is three steps done in order, inside one browser session: trigger the send,
poll the mailbox until the message arrives, extract the code or link and hand it back
to the same page that asked for it. The part people get wrong is usually not the code,
it is the timing and the identity: polling too aggressively, or redeeming the code from
a different browser session than the one that requested it.
## The shape of the flow
```python
import time
from invisible_playwright import InvisiblePlaywright
SEED = 42
with InvisiblePlaywright(seed=SEED) as browser:
page = browser.new_page()
page.goto("https://example.com/login")
page.fill("#email", "you@example.com")
sent_at = time.time() # mark the moment before triggering the send
page.click("#send-code")
code = fetch_code_from_inbox(sent_at) # poll the mailbox; see below
page.fill("#otp", code)
page.click("#verify")
page.wait_for_url("https://example.com/account")
```
Everything downstream depends on `sent_at`: without a timestamp marking "before the
request," you have no way to tell a fresh code from a stale one already sitting in the
inbox from a previous run.
## Step 1: trigger the send, then start the clock
Nothing unusual here - it is an ordinary form fill and click, the same as any other
login automation. The only detail worth keeping is recording the time immediately
before the click, not after, since network latency on the click itself can matter
when you are about to poll a mailbox on a short timeout.
## Step 2: poll the inbox with imaplib
Python's standard library `imaplib` module is enough for this; nothing extra to
install. Its own documentation describes it plainly:
> "This module defines three classes, `IMAP4`, `IMAP4_SSL` and `IMAP4_stream`, which
> encapsulate a connection to an IMAP4 server and implement a large subset of the
> IMAP4rev1 client protocol as defined in RFC 3501."
Use `IMAP4_SSL` for the connection, and pass an explicit SSL context instead of the
default one - the standard library is direct about why:
> "With the default ssl_context, the connection is encrypted but the server certificate
> and hostname are not verified. To verify them, pass a context created by
> ssl.create_default_context()."
```python
import imaplib
import email
import re
import ssl
import time
def extract_text(msg):
# the plain-text part of a possibly multipart message
if msg.is_multipart():
for part in msg.walk():
if part.get_content_type() == "text/plain":
return part.get_payload(decode=True).decode(errors="replace")
return ""
return msg.get_payload(decode=True).decode(errors="replace")
def fetch_code_from_inbox(sent_at, timeout_s=60, poll_every_s=2):
ctx = ssl.create_default_context()
deadline = time.time() + timeout_s
while time.time() < deadline:
conn = imaplib.IMAP4_SSL("imap.example.com", ssl_context=ctx)
conn.login("you@example.com", "app-specific-password")
conn.select("INBOX")
# UNSEEN keeps this from re-matching an old code from a previous run
typ, data = conn.search(None, "UNSEEN", "SUBJECT", '"Your verification code"')
ids = data[0].split()
for msg_id in reversed(ids): # newest first
typ, msg_data = conn.fetch(msg_id, "(RFC822)")
msg = email.message_from_bytes(msg_data[0][1])
received = email.utils.parsedate_to_datetime(msg["Date"]).timestamp()
if received < sent_at - 5: # a few seconds of clock slack
continue
body = extract_text(msg)
match = re.search(r"\b(\d{6})\b", body)
if match:
conn.logout()
return match.group(1)
conn.logout()
time.sleep(poll_every_s)
raise TimeoutError("no verification code arrived in time")
```
A few details that matter more than they look like they should:
- **Search `UNSEEN`, and filter by time, not just presence.** A test inbox
accumulates old codes; matching "the newest message with the right subject" without
a time check will occasionally hand you yesterday's code, which then fails
verification for a confusing reason.
- **This is polling, not push.** IMAP has no notification mechanism in the basic flow
above; you are asking the server "anything new?" on an interval.
[`IMAP4.idle()`](https://datatracker.ietf.org/doc/html/rfc2177) exists for a
push-like wait on servers that support the `IDLE` extension, but a short poll loop
is simpler to reason about and is fine for this use case.
- **Most mail providers now require an app-specific password or an OAuth token for
IMAP access, not the account's normal login password.** That is a one-time setup
step outside Playwright entirely, and which one your provider needs is worth
checking before wiring this up, since it is unrelated to anything in this page.
- **A test-email API is a reasonable alternative to a real mailbox**, particularly in
CI where you do not want a persistent inbox at all. Several providers expose a
disposable inbox over a plain REST API instead of IMAP - poll an HTTP endpoint for
new messages the same way the loop above polls IMAP, then apply the same
time-filtering and parsing logic to whatever it returns.
## Step 3: parse the code or the link
Extracting a numeric code is a regex against the plain-text body, as above. A magic
link needs one extra step: pull the href out of the HTML part rather than the
plain-text alternative, since some providers only put a clickable link in the HTML
version of the message.
```python
from bs4 import BeautifulSoup
def extract_magic_link(msg):
for part in msg.walk():
if part.get_content_type() == "text/html":
soup = BeautifulSoup(part.get_payload(decode=True), "html.parser")
link = soup.find("a", string=re.compile("verify|confirm|sign in", re.I))
if link:
return link["href"]
return None
```
One thing worth checking before trusting the extracted URL: some sending platforms
wrap the real link behind their own click-tracking redirect, so the `href` you pull
out of the HTML is not the destination URL itself, it is a tracking link that
redirects to it. That is fine to navigate directly - Playwright follows redirects the
same as any browser - but do not assume the string you extracted is the final URL if
you are trying to match it against something else, like an expected domain.
## Step 4: feed it back into the same session, not a new one
This is the part that actually matters for the automation to keep working reliably,
and it is easy to get wrong by treating steps 1 through 3 as a separate script from
step 4.
The browser that requested the code and the browser that redeems it have to be the
same session: same context, same seed-derived fingerprint, same proxy exit, ideally
the same page object still sitting on the login form. A login flow that requests a
code from one machine's fingerprint and then submits it from a different one is
exactly the cross-session mismatch a fingerprint-aware login already watches for, the
same argument made in full on
[why automating login is riskier than reusing a session](automating-login-vs-session-reuse.md):
replaying credentials from a different fingerprint asks the site to believe the same
identity's GPU, canvas hash and TLS handshake all changed mid-flow, independent of
whether the code itself is genuine.
In practice this means: do not send the code request, close the browser, run a
separate mail-fetching script, then open a *new* Playwright session to submit the
code. Keep the browser open across the whole thing, poll the inbox in the same
process, and submit the result into the same `page` object, as the first code block on
this page does. If a magic link is what arrived instead of a code, navigate the same
page to it rather than opening it in a fresh context:
```python
page.goto(magic_link) # same page, same identity that requested it
page.wait_for_url("https://example.com/account")
```
## Timing: the budget you are actually working against
Two failure directions, and you need a plan for both. Poll too fast and you risk
hitting your mail provider's own rate limit on IMAP logins, which is a real and
separate throttling layer from anything Playwright touches. Poll too slow, or set too
generous a total timeout, and you risk the code or link expiring before you use it -
some verification links expire in under two minutes, tighter than the 5 to 15 minutes
common for numeric codes. Set an explicit total timeout, back off between polls rather
than hammering the server every few hundred milliseconds, and treat a timeout as an
expected outcome your code handles, not an exception you were not expecting - the same
budget-first thinking as
[retrying failed requests with a total time-and-attempt cap](how-to-retry-failed-requests-playwright.md).
## Conclusion
An email OTP or magic-link login automates in three ordinary steps: trigger the send
with a timestamp, poll the inbox with `imaplib` (or a disposable-inbox API) filtered
by that timestamp, and feed the result back into the same browser session that
requested it. The mechanics are standard library code; the part worth being careful
about is keeping the request and the redemption in one identity, and budgeting the
poll loop against both a rate limit on one side and an expiring code on the other.
None of this reads or touches an inbox you do not have legitimate access to - it
automates a flow you are testing, the same way a saved session automates skipping a
login form you already have credentials for.
## Short answers to the questions that lead here
**How do I automate a login that emails a one-time code?** Trigger the send, poll your
inbox with `imaplib` filtered to messages received after the request, extract the code
with a regex, and fill it into the same page that requested it.
**Do I need a real mailbox, or can I use a test-email service?** Either works. A real
IMAP mailbox with an app-specific password is the direct route; many providers also
offer a disposable inbox reachable over a plain REST API, useful in CI where you do
not want a persistent account.
**Why did the login get flagged even though the code was correct?** Most likely the
code was requested and redeemed from two different browser sessions with two
different fingerprints. Keep the whole flow, request through redemption, inside one
Playwright session with one seed.
**How long should I poll before giving up?** Set an explicit total timeout rather than
polling forever, and back off between attempts. Codes and links both expire, some
links in under two minutes, so budget for that rather than assuming you have plenty of
time.
**My IMAP login fails even with the right password. Why?** Most mail providers now
require an app-specific password or an OAuth token for IMAP access rather than the
normal account password. That is a setup step outside Playwright.
**How do I handle a magic link instead of a numeric code?** Extract the href from the
HTML part of the message (plain text often omits it), then `page.goto()` that URL in
the same session that requested it.
**Is this the same thing as bypassing a site's verification?** No. This automates a
flow you have legitimate access to, the same category as reusing a saved login session
- it does not solve a challenge meant to keep automation out, and it requires an
inbox and credentials that are actually yours.
## Sources
- The Python standard library's [`imaplib` documentation](https://docs.python.org/3/library/imaplib.html),
retrieved 2026-08-30, for the module description and the `IMAP4_SSL`,
`search()` and `fetch()` signatures used above, and for the explicit note that the
default SSL context does not verify the server certificate or hostname.
- [RFC 3501](https://datatracker.ietf.org/doc/html/rfc3501.html), the IMAP4rev1
protocol `imaplib` implements, for `UNSEEN` as a defined search key.
- This project's own notes on session and fingerprint consistency, linked throughout,
for why the request and the redemption belong in one identity.
**See also:** [Automating TOTP-Based 2FA Login with Playwright](automating-totp-2fa-login-playwright.md)
for the other common second-login-step mechanism, a locally computed authenticator
code with no inbox and no polling involved at all, [Why automating login is riskier
than reusing a session](automating-login-vs-session-reuse.md)
for the fingerprint-consistency argument this page depends on,
[how to scrape data behind a login with Playwright](how-to-scrape-behind-login-playwright.md)
for the end-to-end session-reuse pattern this flow feeds into, and
[how to retry failed requests when scraping with Playwright](how-to-retry-failed-requests-playwright.md)
for the same total-budget thinking applied to a poll loop instead of a request retry.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. The code arriving is the easy part; keeping the
browser that asked for it and the one that spends it as the same machine is the part
worth writing down.*
-148
View File
@@ -1,148 +0,0 @@
---
title: "Why automating login is riskier than reusing a session"
description: "Automating a login form runs the most monitored flow on most sites. Reusing a saved session skips it, if the fingerprint still matches the one that logged in."
parent: "The Automation Layer"
grand_parent: "Guides"
nav_order: 12
---
# Why automating login is riskier than reusing a session
**Automating a login form is riskier than reusing a session because the login form is
the single most heavily monitored flow on most sites, and reusing a saved session avoids
that flow entirely.** The catch is that a reused session only holds if the browser
fingerprint still matches the one that created it.
A script that fills a username, types a password and clicks submit looks like the
obvious way to get an automated session logged in. It is also, on most sites, the
single most heavily instrumented sequence of actions a visitor can perform - the exact
place account-takeover and credential-stuffing defenses concentrate, because that is
where they matter most for the site.
This page explains why that flow draws the most scrutiny, how session reuse skips it,
and the one condition - fingerprint consistency - that decides whether a reused session
keeps working.
## Automating the login form vs reusing a session: which is safer
Reusing a saved session is safer on most sites, because it never runs the login form -
the flow where abuse defenses are strongest - and instead starts already authenticated,
the way a returning visitor does. Automating the form can work, but it runs directly
into the site's most aggressive checks.
| | Automate the login form | Reuse a saved session |
|---|---|---|
| What runs | Username, password, submit: the most monitored flow | No login flow; the session starts authenticated |
| Scrutiny | Highest on the site | Same as any returning visitor |
| Main dependency | Human-like timing, focus order, pointer motion | Fingerprint matching the session's original |
| Fails when | Any automation signal is caught at the form | The fingerprint or exit country changes |
## Why the login flow specifically gets more scrutiny than the rest of the site
Most pages on a site are read by anyone. A login form is different: it is the one
place where getting it wrong has a direct cost to the operator, so it is where fraud
and abuse defenses get the most investment, updated the most often, and tuned the most
aggressively. A page that flags automation loosely everywhere else often flags it
tightly at the one form that asks for credentials.
That means every automation-detectable signal on this site - the timing between
keystrokes, whether the pointer travelled to the field or teleported, whether a field
was focused before it was filled, the rhythm between filling the form and submitting
it - gets checked hardest at exactly the moment a login script runs it.
## The alternative: don't run the flow at all
Playwright's [`storage_state`](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-storage-state)
captures cookies and local storage from a context and can load them into a new one.
Log in once, by hand or through a session you trust,
[save and reuse that state](save-reuse-login-storage-state-playwright.md), and every
subsequent automated session starts already authenticated - no username field, no
password field, no submit click, and none of the scrutiny attached to that specific
sequence.
```python
# once, from a session that actually logged in
context.storage_state(path="session.json")
# every run after that
context = browser.new_context(storage_state="session.json")
```
This is not a workaround. It is the same mechanism a real returning visitor uses:
nobody who logged into a site yesterday retypes their password today, they carry a
session cookie that says who they already are. An automated session doing the same
thing is not imitating unusual behaviour, it is doing what every session that isn't a
first-time login already does.
## The condition this depends on, and it is not optional
A session was created by a specific browser, on a specific machine, presenting a
specific fingerprint at the moment of login. Replaying that session's cookies from a
different fingerprint is asking a site to believe that the same identity suddenly
changed its GPU, its font list, its canvas output and its TLS handshake between one
request and the next - which is exactly the kind of cross-session inconsistency
[a detector is built to catch](timezone-proxy-mismatch.md), regardless of whether the
cookie itself is genuinely valid.
Sites that bind a session to more than a cookie - checking the fingerprint against
what was recorded at login, not just validating the token - will flag or invalidate a
replayed session on a mismatched machine even though the credential is real. The
cookie proves who logged in. It does not, on its own, prove the request came from the
same browser that did.
The practical requirement follows directly: the fingerprint has to stay the same
across the login and every session that reuses it. [A profile tied to one seed](persistent-profiles.md)
is what makes that possible - the identity that logged in and the identity replaying
the cookie later are the same one, not two that happen to share a token.
## What to actually do
1. **Log in once**, through a session using the exact identity - seed, profile, proxy
country - you intend to keep using.
2. **Save `storage_state` immediately after**, while the session is fresh.
3. **Reuse it from a context built with the same identity**, not a fresh or different
one. The cookie and the fingerprint are a pair; only one half being right is not
enough.
4. **Treat expiry as certain, not exceptional.** Sessions end. Build the re-login path
once, using the same identity, rather than improvising it the first time a saved
session stops working.
## Short answers to the questions that lead here
**Is it safe to automate a login form at all?** It works, and it is the highest-scrutiny
sequence on most sites. If a session can be captured and reused instead, that avoids
the scrutiny rather than trying to survive it.
**Does a valid session cookie guarantee I won't be flagged?** No. A cookie proves a
credential. Some sites separately check whether the fingerprint replaying it matches
the one that created it, and a mismatch there is checked independently of whether the
token itself is genuine.
**Can I use one saved session across different machines or proxies?** Not safely if
the fingerprint or exit country changes. The session and the identity that created it
are a pair for exactly the same reason [a proxy and a timezone have to agree](timezone-proxy-mismatch.md).
**What happens when the saved session expires?** The automation needs a real
re-authentication path, through the same identity that created the original session,
not a different one improvised under pressure.
**See also:** [Save and reuse login with storage_state in Playwright](save-reuse-login-storage-state-playwright.md),
for the practical capture-and-reuse steps;
[Playwright persistent profile: what it fixes and breaks](persistent-profiles.md), for
the identity half of this pairing;
[how to scrape data behind a login with Playwright](how-to-scrape-behind-login-playwright.md),
for the end-to-end flow; and
[human-like pointer motion](human-mouse-movement.md), for what the login flow itself
checks when there is no way to avoid running it.
## Sources
- Playwright's own [`storage_state` / `storageState`](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-storage-state)
API, for the session capture and reuse mechanism described above.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level, on why the safest login is usually the one that
never runs as automation at all.*
@@ -1,273 +0,0 @@
---
title: "Automating TOTP-Based 2FA Login with Playwright"
description: "Generate a time-based one-time code with pyotp from the same shared secret an authenticator app would scan as a QR code, and feed it straight into the login form. No inbox, no polling, no IMAP - for testing your own application's 2FA flow."
parent: "Scraping with Playwright"
grand_parent: "Guides"
nav_order: 147
---
# Automating TOTP-Based 2FA Login with Playwright
This page is about a specific, ordinary testing need: your own application, or an
account you control, has authenticator-app two-factor authentication turned on,
and a test or a script needs to complete the login end to end without a human
opening Google Authenticator or Authy on a phone. The mechanism is cryptographic,
not network-based: a time-based one-time password (TOTP) is computed on the spot
from a shared secret you already hold, the same secret an authenticator app would
have scanned as a QR code the day 2FA was set up. Nothing here assumes or requires
access to an account that is not yours, and the whole point of writing this down
is to keep the automation scoped to accounts you actually control.
## This is not the email-OTP page, on purpose
If you came here from [automating an email OTP or magic-link
login](automating-email-otp-verification-login-playwright.md), the two pages solve
the same category of problem, "get past a second login step," with genuinely
different mechanics, and it is worth being explicit about which one your situation
actually needs.
| | Email OTP / magic link | TOTP authenticator |
|---|---|---|
| Where the code comes from | The site generates and emails it *after* you trigger the send | You generate it yourself, locally, from a secret you already hold |
| What you need on hand | IMAP credentials, or a test-inbox API | Nothing but the shared secret and a library |
| Timing model | Poll a real mailbox against a deadline; codes can take seconds to arrive and can expire in minutes | Instant; no network call, no waiting, no inbox at all |
| Failure mode | Mailbox rate limits, expired links, stale messages from old runs | Clock drift between your machine and the server, a mismatched digit/period setting |
The email-OTP page spends most of its length on `imaplib`, timestamps, and polling
loops, because the hard part there is coordinating with a mailbox on the network.
None of that exists here. If your two-factor step involves opening a mail client,
you want that page. If it involves an authenticator app and a 6-digit code that
refreshes every 30 seconds, you want this one.
## The shape of the flow
```python
import pyotp
from invisible_playwright import InvisiblePlaywright
SEED = 42
TOTP_SECRET = "JBSWY3DPEHPK3PXP" # the same secret your authenticator app holds
with InvisiblePlaywright(seed=SEED) as browser:
page = browser.new_page()
page.goto("https://example.com/login")
page.fill("#email", "you@example.com")
page.fill("#password", "your-password")
page.click("#sign-in")
page.wait_for_selector("#totp-code") # the 2FA step actually appeared
code = pyotp.TOTP(TOTP_SECRET).now()
page.fill("#totp-code", code)
page.click("#verify")
page.wait_for_url("https://example.com/account")
```
There is no step 2 that waits on anything external. `pyotp.TOTP(TOTP_SECRET).now()`
returns a code synchronously, in microseconds, because it is a computation, not a
request.
## Where the secret comes from
The shared secret is not something you invent; it is the same value your own
application generated when you (or a test account you control) turned on
authenticator-app 2FA. During that setup flow, most applications show a QR code
and, next to it, a plain-text fallback string for anyone whose phone camera does
not work. That fallback string is a base32-encoded secret, and it is exactly what
an authenticator app decodes out of the QR code before storing it. Google's own
specification for the format authenticator apps read, the `otpauth://` URI scheme,
states it directly: the QR code encodes a URI whose `secret` parameter is "an
arbitrary key value encoded in Base32," and that URI is "what get[s] converted
into QR codes during the setup process for authenticator applications." Capture
that string once, during your own account's enrollment, store it the way you would
store any other test credential, and `pyotp.TOTP(secret)` consumes it identically
to how a phone's authenticator app would.
```python
import pyotp
# provisioning_uri() is what you would render as a QR code for a human;
# reading the same secret directly is what a script needs instead.
secret = pyotp.random_base32()
uri = pyotp.totp.TOTP(secret).provisioning_uri(name="you@example.com", issuer_name="Example App")
print(uri) # otpauth://totp/Example%20App:you%40example.com?secret=...&issuer=Example%20App
```
Do not try to re-derive the secret from a screenshot of the QR code on every test
run. Capture it once, during setup, the same way you would capture a password.
## Generating the code
[PyOTP's own documentation](https://pyotp.readthedocs.io/en/stable/) describes the
library plainly: it generates and verifies one-time passwords for two-factor and
multi-factor authentication. The call that matters is one line:
```python
import pyotp
totp = pyotp.TOTP(secret)
code = totp.now() # e.g. "492039"
```
`.now()` computes the code for the current 30-second window and returns it as a
string. There is no client-server round trip anywhere in this call; the entire
value is derived from the secret and the current time.
### The algorithm, briefly
TOTP is defined in [RFC 6238](https://datatracker.ietf.org/doc/html/rfc6238) as a
time-based variant of HOTP (RFC 4226), the counter-based one-time-password
algorithm. The RFC states the relationship directly: `TOTP = HOTP(K, T)`, where
`T` is a moving factor computed as `(Current Unix time - T0) / X`, with `X` the
time step, 30 seconds by default, and `T0` the Unix epoch. In plain terms: instead
of HOTP's incrementing counter, TOTP uses "which 30-second slice of time is it
right now" as the counter, and HMACs that against the shared secret the same way
HOTP always has. Both your script and the server computing the same thing from the
same secret and the same clock arrive at the same 6-digit code, which is the whole
mechanism 2FA setup relies on, and the whole reason no network call is involved on
either generation or verification.
### Matching digits, algorithm and period to what the site actually issued
`pyotp.TOTP()` defaults to 6 digits, SHA1, and a 30-second period, which matches
the overwhelming majority of sites' authenticator-app implementations. If your
target application's enrollment page shows different values, in an advanced setup
screen or in the raw `otpauth://` URI, pass them explicitly:
```python
import hashlib
totp = pyotp.TOTP(secret, digits=8, digest=hashlib.sha256, interval=60)
```
A code generated with the wrong digit count, algorithm or interval will not match
what the server expects, and this looks identical to "the automation is broken"
from the outside. Read the parameters out of the actual `otpauth://` URI your
application issued rather than assuming the defaults.
## Clock drift and reuse, the two real failure modes
Two practical issues account for nearly every TOTP automation failure that is not
a plain wrong secret.
**Clock drift.** TOTP's whole security model rests on both sides agreeing what
time it is. If the machine running your script and the server verifying the code
disagree by more than roughly one time step, the code you generate is for the
wrong window and gets rejected as invalid even though the secret is correct.
`pyotp.TOTP.verify()` accepts a `valid_window` argument specifically for this: it
checks the current window plus a configurable number of windows on either side,
which is the standard tolerance most real verifiers apply server-side too. If
you are generating and submitting the code yourself rather than verifying it, the
practical fix is keeping the machine running the automation on synced NTP time,
not widening a window you do not control on the server end.
**Code reuse inside the same window.** Some applications reject submitting the
same TOTP code twice, even if it is still numerically valid, as a replay defense.
If a test suite runs the login flow twice in quick succession and happens to land
in the same 30-second window both times, the second attempt can fail for a reason
that has nothing to do with the code being wrong. This is intermittent by nature,
tied to wall-clock timing rather than your code, and the fix is either spacing
runs apart or, if the site's session allows it, not re-authenticating a fresh TOTP
challenge more than once per window in automated test loops.
## Storing the secret safely
The shared secret is a long-lived credential, not a one-time value; anyone who has
it can generate valid codes for as long as 2FA stays configured with it. Treat it
the way you would treat a password: an environment variable or a secrets manager
in CI, never a literal string committed to a repository. This is the same
housekeeping any other test credential needs, and it is worth stating because a
TOTP secret is easy to underestimate: unlike a password, it never gets rotated by
a failed-login lockout, so a leaked one stays valid indefinitely.
## Conclusion
TOTP-based 2FA automates in two lines once you have the secret: `pyotp.TOTP(secret).now()`
to compute the current code, and a `page.fill()` into whatever field the login
form shows for it. The mechanism is entirely local and cryptographic, RFC
6238's HMAC-over-time-step algorithm, with no inbox, no IMAP connection, and no
polling loop anywhere in it, which is the whole difference from [the email-OTP
flow](automating-email-otp-verification-login-playwright.md) this page is most
often confused with. The parts worth being careful about are capturing the secret
once during your own account's real enrollment rather than trying to re-scan a QR
code every run, matching the digit count, algorithm and period the site actually
issued, and keeping the automation's clock in sync so the code you compute lands
in the same window the server checks against.
## Short answers to the questions that lead here
**How do I automate a login protected by an authenticator app?** Get the shared
secret from your own account's 2FA enrollment (the base32 string next to the QR
code), then call `pyotp.TOTP(secret).now()` to generate the current code and fill
it into the login form, in the same script, right after triggering the login.
**Is this the same as automating an email OTP login?** No. [Email OTP](automating-email-otp-verification-login-playwright.md)
requires triggering a send and polling a real mailbox over IMAP until the code
arrives. TOTP requires no network call at all: you already hold the secret, and
the code is computed instantly and locally from it and the current time.
**Where do I get the TOTP secret in the first place?** From your own account's 2FA
setup screen, the same base32 string an authenticator app decodes out of the QR
code. Capture it once during enrollment and store it like any other credential;
do not try to re-derive it from a screenshot on every run.
**Why does the generated code get rejected even though the secret is right?**
Almost always clock drift between the machine generating the code and the server
verifying it, or a mismatch in digits, hash algorithm or time-step length against
what the site actually issued. Check both before assuming the secret itself is
wrong.
**Can I run the login twice in a row with the same code?** Some applications
reject reusing a TOTP code inside the same 30-second window as a replay defense,
independent of whether the code is still numerically valid. Space repeated
automated logins apart if you see intermittent rejections tied to timing.
**Is this a way to get into an account that is not mine?** No. It only works
against an account whose 2FA you set up yourself and whose secret you hold. The
technique automates a flow you already have legitimate access to, the same
category as reusing a saved session or automating an email OTP for your own
inbox; it does not solve, guess or bypass anything, and it is worthless against a
secret you were never given.
## Sources
- [PyOTP's own documentation](https://pyotp.readthedocs.io/en/stable/) and its
[GitHub repository](https://github.com/pyauth/pyotp), for the `TOTP` class,
`.now()`, `.verify()` and `valid_window`, and `provisioning_uri()`, retrieved
2026-08-30.
- [RFC 6238](https://datatracker.ietf.org/doc/html/rfc6238), "TOTP: Time-Based
One-Time Password Algorithm," for the `TOTP = HOTP(K, T)` definition and the
`T = (Current Unix time - T0) / X` moving-factor formula, retrieved 2026-08-30.
- [RFC 4226](https://datatracker.ietf.org/doc/html/rfc4226), the HOTP algorithm
TOTP extends with a time-derived counter in place of an incrementing one.
- Google's [Key Uri Format](https://github.com/google/google-authenticator/wiki/Key-Uri-Format)
specification, for the `otpauth://` URI scheme, the base32 `secret` parameter,
and its role as what actually gets encoded into a 2FA setup QR code, retrieved
2026-08-30.
- Checkly's own [How to Bypass Time-Based 2FA Login Flows With
Playwright](https://www.checklyhq.com/docs/learn/playwright/bypass-totp/),
verified live this session, for a real, independent walkthrough of the same
generate-then-fill pattern (using the JavaScript `otpauth` library against a
personal GitHub account's own TOTP secret, explicitly scoped to an account the
reader already controls).
- Playwrightsolutions.com's [Playwright Login Test With Two Factor Authentication
(2FA) Enabled (TOTP)](https://playwrightsolutions.com/playwright-login-test-with-2-factor-authentication-2fa-enabled/),
verified live this session, for another independent practitioner writeup of the
same mechanism.
**See also:** [Automating an Email OTP / Verification-Link Login with
Playwright](automating-email-otp-verification-login-playwright.md) for the
network-polling variant of "get past a second login step" this page deliberately
does not overlap with, [why automating login is riskier than reusing a
session](automating-login-vs-session-reuse.md) for the fingerprint-consistency
argument that applies to any login automation, and [how to scrape data behind a
login with Playwright](how-to-scrape-behind-login-playwright.md) for the
session-reuse pattern this flow feeds into once the 2FA step is past.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. Generating a code from a secret you already
hold is arithmetic, not automation trickery; the browser's realness has nothing to
do with whether the math is correct, and the whole flow is worthless without a
secret that was legitimately yours to begin with.*
-95
View File
@@ -1,95 +0,0 @@
---
title: "AWS WAF Bot Control, Explained"
description: "AWS WAF Bot Control runs two protection levels: Common blocks self-identifying bots by static analysis, Targeted adds a token-backed challenge/CAPTCHA pipeline with machine-learning rules for coordinated activity. Read from AWS's own docs, rule by rule."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 33
---
# AWS WAF Bot Control, Explained
AWS WAF Bot Control is a managed rule group, not a separate product with its own dashboard and SDK ecosystem the way Akamai or DataDome ship one. You add it to a Web ACL (AWS's term for a firewall policy) the same way you'd add any other managed rule group, and unlike most of the vendors in this corpus, AWS documents its rules by name, in public, with what each one inspects and what action it takes by default. That is unusually specific for this category, and this page leans on it: almost everything below is quoted or closely paraphrased from AWS's own developer guide, not reconstructed from outside reverse engineering.
Read from AWS's own documentation on 2026-08-30.
## Two protection levels, and what separates them
Bot Control ships as one managed rule group, `AWSManagedRulesBotControlRuleSet`, with two inspection levels a site chooses between:
**Common** detects "a variety of self-identifying bots, such as web scraping frameworks, search engines, and automated browsers," using "traditional bot detection techniques, such as static request data analysis." Per AWS's own framing, this level labels the traffic it recognizes and blocks the bots it cannot verify, without needing anything running client-side.
**Targeted** includes everything Common does and adds detection for bots that do not self-identify, meaning nothing in the request announces what it is. Targeted protections, per AWS, "mitigate bot activity using a combination of rate limiting and CAPTCHA and background browser challenges," and require a JavaScript (or mobile) SDK integration on the protected site, because the targeted rules read information the SDK collects and attaches to a **token**, not just the raw request.
Two sub-families of targeted rules are named directly by their prefix. Rules beginning `TGT_` use "browser interrogation, fingerprinting, and behavior heuristics." Rules beginning `TGT_ML_` are AWS's machine-learning layer specifically: "automated, machine-learning analysis of website traffic statistics to detect anomalous behavior indicative of distributed, coordinated bot activity," built from traffic statistics like timestamps, browser characteristics, and previous URL visited. AWS states plainly that ML is on by default for Targeted but can be turned off, in which case those rules simply do not evaluate.
## The token: what ties a session's evidence together
Targeted detection runs on a **token**, generated by the JavaScript or mobile SDK and carried on subsequent requests, and AWS's rules read the token's state instead of re-deriving everything from scratch on every request. Two labels attached to every token matter most:
- `awswaf:managed:token:id:{{identifier}}`, a session identifier tied to the specific token in use, changing if the client acquires a new one.
- `awswaf:managed:token:fingerprint:{{fingerprint-identifier}}`, a browser fingerprint AWS computes from client signals, which "stays the same across multiple token acquisition attempts" and is explicitly "not unique to a single client," AWS's own words for a value meant to identify a device class, not a specific visitor.
A token can be `accepted` (present, with a valid, unexpired challenge or CAPTCHA solution, on the right domain), or `rejected` for one of several named reasons: `rejected:not_solved`, `rejected:expired`, `rejected:domain_mismatch`, or `rejected:invalid`. A request can also be `absent` a token entirely, which is its own label and, at volume, its own rule: `TGT_VolumetricIpTokenAbsent` specifically tracks clients sending five or more requests in five minutes without a valid token and issues a Challenge action once that threshold is crossed.
## What the individual rules actually check
A sample of named rules, quoted from AWS's own rule listing, gives a concrete sense of what "browser interrogation" and "behavior heuristics" mean in practice, not as marketing language:
| Rule | What it inspects | Default action |
|---|---|---|
| `SignalAutomatedBrowser` | Indicators the client browser might be automated | Block |
| `SignalNonBrowserUserAgent` | A user-agent string that does not read as a browser at all | Block |
| `SignalKnownBotDataCenter` | Traffic originating from IP ranges typically used by bots | Block |
| `TGT_SignalBrowserAutomationExtension` | A browser extension that assists automation, e.g. Selenium IDE, present on the client even if unused | CAPTCHA |
| `TGT_SignalBrowserInconsistency` | "Inconsistent browser interrogation data" inside the token | CAPTCHA |
| `TGT_VolumetricSession` | An abnormally high request volume from one client session in a 5-minute window, versus AWS's own traffic baselines | CAPTCHA (Block at maximum confidence) |
| `TGT_ML_CoordinatedActivityLow/Medium/High` | Machine-learning-detected patterns consistent with distributed, coordinated bot activity across many IPs | Challenge / CAPTCHA / CAPTCHA |
| `TGT_TokenReuseIpLow/Medium/High` | The same token reused across more than 2, 5, or 8 distinct IPs in 5 minutes | Count / CAPTCHA / Block |
| `TGT_TokenReuseCountryLow/Medium/High` | The same token reused across more than 1, 2, or 3 countries in 5 minutes | Count / CAPTCHA / Block |
The token-reuse family is worth pausing on: it does not ask whether any single request looks automated, it asks whether one browser's proof-of-legitimacy is being shared across more devices, networks or countries than a single real session plausibly touches in five minutes. That is a detection axis with no fingerprint answer at all, honest or otherwise, because the thing being scored is reuse across sessions, not any property of one session's browser.
AWS is also explicit about a category it treats differently from everything above: a maintained list of verified bots (search engine crawlers, monitoring services, SEO tools) that Bot Control identifies and does not block, adding a `bot:verified` label plus category and organization labels instead. A newer addition, **Web Bot Authentication**, lets a bot cryptographically sign its requests against a public key directory; a verified signature (`web_bot_auth:verified`) causes the category-block and `TGT_TokenAbsent` rules to skip that request entirely, a mechanism for bots that want to identify themselves honestly and be let through, not evade detection.
## What an engine answers honestly, and what a browser cannot touch
`SignalAutomatedBrowser`, `TGT_SignalBrowserAutomationExtension`, and `TGT_SignalBrowserInconsistency` are the rules a real, engine-level browser answers by construction: a genuinely real Firefox, patched below the JavaScript layer, not scripted from a content script, does not carry automation-framework tells, does not have a Selenium-style extension installed, and does not produce internally inconsistent browser-interrogation data, because nothing is faking any of those signals from the inside. That is the same argument this corpus makes for [BotD](botd-explained.md) and [a consistency checker](consistency-checker-explained.md), applied to a managed rule group instead of an open-source script.
Several rule families sit entirely outside what any browser engine can affect. `SignalKnownBotDataCenter` and the cloud-service-provider signal read the network origin, not the browser. The `TGT_VolumetricSession` and `TGT_TokenReuseIp/Country/Asn` families score session and token behavior across time and across requests, a property of how the automation is orchestrated (how many machines, how many networks, how fast) rather than of the browser rendering any one page. And `TGT_ML_CoordinatedActivity`, by AWS's own description, runs on aggregate traffic statistics across a site's whole visitor population, comparing against a baseline no single session's engine fidelity can influence.
`invisible_playwright` does not claim to defeat AWS WAF Bot Control's targeted protections as a system. It answers the automation-signature and browser-consistency rules honestly, because there is no override for them to catch, and it has nothing to say about IP reputation, token-reuse patterns across a fleet of sessions, or AWS's own traffic-baseline machine learning, all of which are orchestration-level properties, not engine-level ones.
## Short answers to the questions that lead here
**What is the difference between Common and Targeted protection?** Common uses static, self-identifying signals (user-agent strings, known scraping-framework patterns) and needs no client-side code. Targeted adds fingerprinting and behavior heuristics via a JavaScript/mobile SDK, plus a token that carries proof of a passed challenge or CAPTCHA across requests.
**What is the AWS WAF token, exactly?** A piece of state the SDK generates and attaches to requests, carrying a session identifier, a browser-fingerprint identifier, and the status of any challenge or CAPTCHA solve. Rules check the token's status (`accepted`, `rejected:*`, `absent`) rather than re-scoring every request from nothing.
**Does AWS WAF Bot Control use machine learning?** Yes, in the `TGT_ML_` rule family specifically, trained on traffic statistics like timestamps, browser characteristics and prior URLs visited, aimed at distributed coordinated activity rather than any single request. It is on by default for Targeted protection and can be disabled.
**What is token reuse, and why does it matter?** The same proof-of-legitimacy token appearing across multiple IPs, countries, or ASNs within a five-minute window. It is a detection axis with no browser-level answer, because it scores how a token is being shared, not what any individual session's browser does.
**Does Bot Control block search engines and other known-good bots?** No. AWS maintains a verified-bot list that gets labeled and passed rather than blocked, and a newer cryptographic mechanism, Web Bot Authentication, lets a bot sign requests to prove its identity instead of being challenged.
**Does a real browser engine defeat AWS WAF Bot Control?** It answers the automation-signature and browser-consistency rules honestly, which removes that whole failure class. It has no bearing on IP/data-center signals, token-reuse-across-sessions rules, or the ML-based coordinated-activity detection, all of which operate above the level of any single browser.
**Does invisible_playwright bypass AWS WAF Bot Control?** No. This project does not sell or claim a bypass service for AWS WAF or any comparable vendor.
**See also:** [How do websites detect bots?](how-do-websites-detect-bots.md) for where a managed-rule-group check like this sits among the other layers; [ASN and IP reputation in bot detection](asn-and-ip-reputation-in-bot-detection.md) for the network-origin signals Bot Control's data-center rule leans on; and [How Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) for a comparably-documented token-and-challenge model from a different vendor.
## Sources
- AWS, [AWS WAF Bot Control components](https://docs.aws.amazon.com/waf/latest/developerguide/waf-bot-control-components.html),
retrieved 2026-08-30, for the Common/Targeted protection-level distinction, the `TGT_`/`TGT_ML_` rule-name conventions, and the SDK/token integration requirement.
- AWS, [AWS WAF Bot Control rule group](https://docs.aws.amazon.com/waf/latest/developerguide/aws-managed-rule-groups-bot.html),
retrieved 2026-08-30, for the full rule listing quoted in the table above, the token status labels (`accepted`/`rejected:*`/`absent`), the verified-bot list and Web Bot Authentication mechanism, and the token-reuse rule thresholds.
- AWS, [Using managed rule groups in AWS WAF](https://docs.aws.amazon.com/waf/latest/developerguide/waf-managed-rule-groups.html),
retrieved 2026-08-30, for how a managed rule group is added to a Web ACL.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright), a Firefox
patched at the C++ level. AWS documents its Bot Control rules more specifically, by name and by
default action, than almost any other vendor in this corpus, which is why this page quotes rule
names directly rather than reconstructing them from outside reverse engineering.*
@@ -1,227 +0,0 @@
---
title: "Back a computer-use agent with a real browser engine"
description: "Run OpenAI's computer-use agent inside patched Firefox by implementing its Computer interface over an invisible_playwright page, and the honest limits."
parent: "AI Agents and Frameworks"
grand_parent: "Guides"
nav_order: 16
---
# Back a computer-use agent with a real browser engine
A computer-use agent is a loop: take a screenshot, send it to a model, get back a
coordinate to click or some text to type, apply it, screenshot again. The interesting
question for anyone running one against real sites is not the model. It is what browser
the screenshots come from and where the clicks land, because that is the part a site can
inspect.
The good news is that the popular reference implementation was built to let you swap that
part out. This page shows how, using the real invisible_playwright API, and it is honest
about what the swap fixes and what it leaves entirely up to you.
## The seam that makes this easy
OpenAI's open `cua-sample-app` does not hardcode a browser. The screenshot-and-click loop
drives a small, pluggable `Computer` interface, and the repository ships one
implementation of it called `LocalPlaywrightComputer`. Every action the model returns -
`screenshot`, `click`, `type`, `scroll`, `keypress`, `goto` - is a method the loop calls
on whatever `Computer` object you hand it. The loop does not know or care what is behind
those methods.
That seam is the whole opportunity. If you implement the same interface over a browser you
control, the same loop now runs inside your engine. Nothing about the agent's reasoning
changes. What changes is the thing on the other side of `screenshot()` and `click()`.
## What backing it with a real engine actually fixes
`LocalPlaywrightComputer` drives a stock automation build. invisible_playwright is a
Firefox patched at the C++ level and driven by stock Playwright, generating a full,
internally consistent identity per session - GPU, canvas, audio, fonts, screen, roughly
400 fields - from one seed. Point the `Computer` interface at one of its pages and two
concrete things move:
- **The engine the screenshots come from.** The pixels the model sees are rendered by a
browser whose fingerprint, TLS handshake and driver layer read as a genuine Firefox,
not as an automation build announcing itself. This is why it clears most
fingerprint, TLS and driver-layer checks: it is built to look like a real browser
driven by a real person, not to suppress signals. A suppressed or blank surface is its
own tell, so the goal is a present, plausible value, not a missing one.
- **The page the clicks land on.** Coordinate clicks arrive on a page inside that engine,
and pointer motion between them follows a Bezier curve instead of teleporting from
point to point.
What it does not touch is equally important, and the next section is about that.
## Two lines to launch, one class to adapt
The launch is the same two-line change as anywhere else in these docs. `InvisiblePlaywright`
returns a real Playwright `Browser`, so every method you already use is available:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
page.mouse.click(200, 140) # the pointer arcs there on a Bezier curve
```
To feed that page to the agent, wrap it in a class that satisfies the `Computer`
interface. This is a representative subset of the methods the loop calls; each one is a
plain call on the real Playwright `page`:
```python
import base64
from invisible_playwright import InvisiblePlaywright
class InvisibleComputer:
"""Adapts an invisible_playwright page to cua-sample-app's Computer interface."""
environment = "browser"
dimensions = (1280, 800)
def __init__(self, page):
self._page = page
def screenshot(self) -> str:
png = self._page.screenshot()
return base64.b64encode(png).decode()
def click(self, x: int, y: int, button: str = "left") -> None:
self._page.mouse.click(x, y, button=button)
def type(self, text: str) -> None:
self._page.keyboard.type(text)
def keypress(self, keys: list[str]) -> None:
for key in keys:
self._page.keyboard.press(key)
def scroll(self, x: int, y: int, scroll_x: int, scroll_y: int) -> None:
self._page.mouse.move(x, y)
self._page.mouse.wheel(scroll_x, scroll_y)
def goto(self, url: str) -> None:
self._page.goto(url)
def get_current_url(self) -> str:
return self._page.url
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
computer = InvisibleComputer(page)
# hand `computer` to the cua-sample-app Agent in place of LocalPlaywrightComputer;
# the screenshot-and-click loop now runs inside the patched Firefox.
```
Everything here uses only documented Playwright methods on a real `Browser` and `Page`.
There is no wrapped subset to learn, which is the point of the two-line switch. Pass a
`seed` and the identity is reproducible, so a run that gets challenged can be replayed
exactly instead of guessed at.
## What it does not fix, and who supplies that
Swapping the engine fixes the engine and the page. It does not change two things that
decide most real outcomes, and pretending otherwise would be dishonest.
- **The click rhythm.** The loop still clicks a coordinate, waits for the model, and
clicks the next coordinate. That cadence has a shape: long pauses clustered around model
latency rather than around reading speed, and clicks that land dead-centre on targets.
The Bezier motion between points helps, but the higher-level timing is the agent's, and
a site that watches behaviour rather than fingerprints is watching that. Human pacing is
something you add on top; see [the pause shaped like model latency](ai-browser-agents-stealth.md)
and [what human pointer motion actually looks like](human-mouse-movement.md).
- **The network path.** The screenshots come from a real-looking Firefox, but the traffic
still exits wherever your host or proxy sends it. A genuine browser on a datacenter
address, or on an IP a thousand other people are using this minute, still loses. IP
reputation, per-account quotas and rate limits are not browser properties, and no engine
swap touches them. You supply the clean exit.
Set a proxy the same way as any other session, and let the browser timezone follow the
exit rather than pinning it by hand:
```python
proxy = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
computer = InvisibleComputer(page)
...
```
The honest summary: this raises the browser and the page from "obvious automation" to
"indistinguishable from a real Firefox", which clears the fingerprint, TLS and driver
layer. It leaves behaviour timing and network reputation exactly where they were, on your
side of the line. See [why a clean fingerprint can still be blocked](why-blocked-with-a-clean-fingerprint.md)
for what remains after the engine stops being the problem.
## Prove the swap did what you think
Do not trust the diff, measure it. Run the agent's own `screenshot()` against a public
fingerprinting page, once with `LocalPlaywrightComputer` and once with the adapter above,
and compare the reports field by field rather than reading the verdicts. The fields that
move - GPU renderer, canvas hash, the driver flag, the platform string - are what the
swap bought you. The fields that do not move, and the timing and address it cannot touch,
are what you still owe. The method is the same one in
[how to test bot detection without a false pass](how-to-test-bot-detection.md): assert the
right signal is present, not that a wrong one is absent, and run it more than once.
## Conclusion
The pluggable `Computer` interface in OpenAI's `cua-sample-app` is the seam that lets you
run the exact same screenshot-and-click loop inside a different browser. Implementing it
over an invisible_playwright page fixes the two things a site inspects first - the engine
the screenshots come from and the page the clicks land on - and that is genuinely most of
the fingerprint battle. It is not the whole session. The coordinate-click rhythm and the
network path are still yours, and an agent that looks like a real Firefox on a bad IP with
robotic pacing is still an agent that gets caught. Swap the engine, then supply the pacing
and the exit.
## Short answers to the questions that lead here
**Can I use invisible_playwright with OpenAI's computer-use agent?** Yes. The
`cua-sample-app` drives a pluggable `Computer` interface; implement that interface over an
invisible_playwright page and the loop runs inside the patched Firefox.
**Does this make my agent undetectable?** No, and no tool honestly can. It makes the
browser engine, TLS and driver layer read as a real Firefox, which clears most
fingerprint checks. It does not fix your IP, your rate limits, or the timing of the clicks.
**What exactly does the engine swap change?** The screenshots are rendered by a real-looking
Firefox instead of an automation build, and the clicks land through Bezier pointer motion.
The higher-level click cadence and the network path are unchanged.
**Do I have to rewrite the agent's loop?** No. You implement one small adapter class with
methods like `screenshot`, `click`, `type` and `scroll`, each a plain call on the real
Playwright page. The loop stays as it is.
**Why does behaviour timing still matter?** Because a site can watch when you act, not just
what your browser reports. Pauses shaped like model latency and clicks dead-centre on
targets are a behavioural signal the engine does not touch.
**What proxy should I use?** A clean one. [Around 90% of proxies are already known and
blocked](configuration.md) before you ever use them, and a perfect browser on a known IP
still loses. Set it via the `proxy` argument and let the timezone auto-derive from the exit.
**See also:** [AI browser agents and stealth](ai-browser-agents-stealth.md) for what
applies across every agent framework, [how browser-use gets detected](browser-use-detection.md)
for the CDP-driven case, and [the checklist for being detected on one site](playwright-detected-as-bot.md)
for the order to debug in once something flags you.
## Sources
- OpenAI's open `cua-sample-app` and its `Computer` interface, including the shipped
`LocalPlaywrightComputer` implementation, read from the repository rather than assumed.
- This project's own API: `InvisiblePlaywright` returns a real Playwright `Browser`, so
the adapter above uses only documented Playwright methods - [`Page`](https://playwright.dev/python/docs/api/class-page),
[`Mouse`](https://playwright.dev/python/docs/api/class-mouse) and
[`Keyboard`](https://playwright.dev/python/docs/api/class-keyboard) - unchanged.
- This project's release gates and the field-by-field comparison method documented in the
testing pages linked above.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The engine swap is the easy
half; the pacing and the exit are the half that decides the session.*
-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="99" height="20" role="img" aria-label="Firefox: 159.0">
<title>Firefox: 159.0</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="99" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="56" height="20" fill="#555"/>
<rect x="56" width="43" height="20" fill="#FF7139"/>
<rect width="99" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="28.0" y="15" fill="#010101" fill-opacity=".3">Firefox</text>
<text x="28.0" y="14">Firefox</text>
<text x="77.5" y="15" fill="#010101" fill-opacity=".3">159.0</text>
<text x="77.5" y="14">159.0</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 855 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="157" height="20" role="img" aria-label="browser launches: 1.64M">
<title>browser launches: 1.64M</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="157" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="116" height="20" fill="#555"/>
<rect x="116" width="41" height="20" fill="#007ec6"/>
<rect width="157" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="58.0" y="15" fill="#010101" fill-opacity=".3">browser launches</text>
<text x="58.0" y="14">browser launches</text>
<text x="136.5" y="15" fill="#010101" fill-opacity=".3">1.64M</text>
<text x="136.5" y="14">1.64M</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 898 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="86" height="20" role="img" aria-label="License: MIT">
<title>License: MIT</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="86" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="56" height="20" fill="#555"/>
<rect x="56" width="30" height="20" fill="#dfb317"/>
<rect width="86" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="28.0" y="15" fill="#010101" fill-opacity=".3">License</text>
<text x="28.0" y="14">License</text>
<text x="71.0" y="15" fill="#010101" fill-opacity=".3">MIT</text>
<text x="71.0" y="14">MIT</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 847 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="159" height="20" role="img" aria-label="LinkedIn: Federico Elia">
<title>LinkedIn: Federico Elia</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="159" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="63" height="20" fill="#555"/>
<rect x="63" width="96" height="20" fill="#0A66C2"/>
<rect width="159" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="31.5" y="15" fill="#010101" fill-opacity=".3">LinkedIn</text>
<text x="31.5" y="14">LinkedIn</text>
<text x="111.0" y="15" fill="#010101" fill-opacity=".3">Federico Elia</text>
<text x="111.0" y="14">Federico Elia</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 896 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="93" height="20" role="img" aria-label="python: 3.11+">
<title>python: 3.11+</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="93" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="50" height="20" fill="#555"/>
<rect x="50" width="43" height="20" fill="#007ec6"/>
<rect width="93" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="25.0" y="15" fill="#010101" fill-opacity=".3">python</text>
<text x="25.0" y="14">python</text>
<text x="71.5" y="15" fill="#010101" fill-opacity=".3">3.11+</text>
<text x="71.5" y="14">3.11+</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 851 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="20" role="img" aria-label="Stars: 1.88k">
<title>Stars: 1.88k</title>
<linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient>
<clipPath id="r"><rect width="80" height="20" rx="3" fill="#fff"/></clipPath>
<g clip-path="url(#r)">
<rect width="43" height="20" fill="#555"/>
<rect x="43" width="37" height="20" fill="#e8a317"/>
<rect width="80" height="20" fill="url(#s)"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11">
<text x="21.5" y="15" fill="#010101" fill-opacity=".3">Stars</text>
<text x="21.5" y="14">Stars</text>
<text x="61.5" y="15" fill="#010101" fill-opacity=".3">1.88k</text>
<text x="61.5" y="14">1.88k</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 847 B

-16
View File
@@ -1,16 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="204" height="38" viewBox="0 0 204 38" role="img" aria-label="Join on Telegram">
<title>Join on Telegram</title>
<defs>
<linearGradient id="g" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#37AEE2"/>
<stop offset="1" stop-color="#1E96C8"/>
</linearGradient>
</defs>
<rect x="0.5" y="0.5" width="203" height="37" rx="18.5" fill="url(#g)"/>
<g transform="translate(20 9.5)" fill="#fff">
<path d="M18.6 1.1 1.2 7.9c-1.0.4-1.0.9-.2 1.2l4.4 1.4 1.7 5.2c.2.6.4.7.9.3l2.5-2.0 4.2 3.1c.8.4 1.3.2 1.5-.7l2.7-12.7c.2-1.0-.4-1.5-1.3-1.1Zm-4.0 3.1-7.3 6.6-.3 3.1-1.5-4.6 9.1-5.1Z"/>
</g>
<text x="123" y="24.5" fill="#fff" text-anchor="middle"
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="15" font-weight="600">Join on Telegram</text>
</svg>

Before

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

-217
View File
@@ -1,217 +0,0 @@
---
title: "Battery API fingerprint: does Firefox expose it?"
description: "Does desktop Firefox expose the Battery Status API? No, it was removed in 2017, so a battery object under a Firefox user agent gives away a fake browser."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 29
---
# Battery API fingerprint: does Firefox expose it?
Short version: on the desktop, no. Firefox removed the
[Battery Status API](https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API)'s
`navigator.getBattery()` from web content in the 52 series back in 2017, on privacy
grounds, and it has never come back.
So a real desktop Firefox has no Battery Status API at all. `navigator.getBattery` is
`undefined`, and there is nothing to read.
That single fact turns the Battery API into a small but reliable consistency check. A
page that claims to be Firefox in its user agent, and then successfully obtains a
battery object, has not measured your battery. It has caught a browser that is lying
about what it is. This page explains why that happens, why the honest answer is to have
no Battery API instead of a convincing fake one, and how a genuine Firefox build gets
that for free.
## What the Battery Status API was, and why Firefox dropped it
The Battery Status API let a page call `navigator.getBattery()` and read the charge
level, whether the device was plugged in, and the seconds until full or empty. It was
meant for power-aware pages that could defer heavy work on a low battery.
The privacy problem showed up quickly. The charge level was reported with enough
precision, and it changed slowly enough, that the combination of level plus
charging state plus time-remaining behaved like a short-lived identifier: two page
loads seconds apart saw the same unusual value, and that value could be used to correlate
visitors even across contexts that were supposed to be isolated. Firefox responded by
removing the API from web content entirely in the
[52 series in 2017](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/52),
restricting it to chrome/privileged code only. Chromium kept a
reduced version. That divergence is the whole point for fingerprinting: the presence or
absence of `getBattery` is now a per-engine trait, not a per-device one.
## Why absence is the honest answer, and a fake battery is the tell
A fake battery reading is the riskier of the two outcomes, because an absence matches
every real Firefox automatically while a fake value has to survive every angle a
detector can check it from. There are two ways an automation stack can end up
"consistent" with a Firefox user agent on this surface.
The first is to actually be a Firefox build, in which case `navigator.getBattery` is
simply not there, because the engine never defined it. Nothing is spoofed. There is no
value to keep plausible over time, no charging animation to fake, no drain rate to model.
The gap in the API is real, so it survives every probe automatically.
The second is to run an engine that does expose the Battery API, usually a Chromium base,
and then bolt on a JavaScript layer that tries to look like Firefox. Now the stealth
layer has a decision to make. If it leaves `getBattery` in place, the page reads a battery
object from a claimed-Firefox browser, which no real Firefox produces, and that is a
direct contradiction.
If it deletes `getBattery` to hide the mismatch, it has to delete it
convincingly: the property has to be gone from the prototype, absent from a
`for..in` walk, missing from `Object.getOwnPropertyNames`, and it has to stay missing when
a detector fetches a clean copy of `Navigator.prototype` from a fresh iframe and compares.
A partial delete that patches the obvious access but leaves a trace elsewhere is worse than
leaving the API alone, because now there is both a Firefox user agent and evidence of
tampering. This is the pattern a consistency checker is built to catch: it does not ask what you report,
it asks whether the shape of your environment is internally consistent and whether anything
looks deleted.
The general rule, which the Battery API illustrates cleanly, is that adding a fake signal
is almost always more dangerous than a real absence. An absence is one bit that matches
every other Firefox on earth. A fake is a value you now have to defend against every angle
a detector can approach it from.
## How the patched build inherits the gap natively
invisible_playwright drives a Firefox that is patched at the C++ level, not a different
engine wearing a Firefox user agent. Because the base is a real Firefox from the current
release line, it inherits the same missing Battery API that every stock desktop Firefox
has had since 2017. There is no shim reintroducing `getBattery` and no shim removing it,
because there was never anything to remove. The surface is correct for the same reason a
stock Firefox is correct: the engine simply does not implement that API for web content.
That is the recurring theme across the fingerprint surface. A field is most robust when it
is genuinely produced by a real browser rather than reconstructed on top of one. The same
logic covers the identity fields that a page reads far more often than the battery, such
as [what `navigator.vendor` and `navigator.productSub` report on Firefox](navigator-vendor-productsub-firefox.md),
which are wrong on a Chromium base pretending to be Firefox and correct on an actual
Firefox build.
### The answer, read from a session
![One panel listing three values read from the patched engine, headless:
navigator.getBattery is undefined, navigator.vendor is an empty string, and
navigator.productSub is 20100101. A note says the bundled Firefox returned the same
values.](https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/img/battery-api-fingerprint-firefox-values.png)
`navigator.getBattery` is `undefined`, which is the answer to the title, and the bundled
Firefox returns the same thing.
The two Firefox constants sit next to it on purpose. A build that reports the empty
`vendor` and `20100101` for `productSub`, and then hands a page a battery object, has
contradicted itself with three property reads: the first two say Firefox and the third
says something that is not one.
## Check it yourself in two lines
Switching from stock Playwright is a two-line change, and after that every standard
Playwright method works unchanged. Here is the whole probe: launch, open a page, and ask
the browser whether it has a Battery API.
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
report = page.evaluate("""() => ({
userAgent: navigator.userAgent,
hasGetBattery: typeof navigator.getBattery,
onPrototype: 'getBattery' in Navigator.prototype,
})""")
print(report)
```
On this build you get a Firefox user agent, `hasGetBattery` equal to `"undefined"`, and
`onPrototype` equal to `False`. That is the correct, boring result: a Firefox with no
Battery API, exactly like the one a person runs. The `seed=42` argument makes the whole
identity reproducible, so if you are comparing this against a stock Firefox on the same
machine you can rerun the exact same fingerprint rather than a fresh random one each time.
The comparison is the part worth doing by hand. Open the same probe in a stock desktop
Firefox and you will see the identical three values. Open it in a plain Chromium and
`hasGetBattery` comes back `"function"`. That contrast, run against a real reference
browser rather than read as a verdict, is the method the
[testing guide](how-to-test-bot-detection.md) argues for on every surface.
## What a passing battery check does not buy you
This is where honesty matters, because it is easy to overread a green result.
Having no Battery API, correctly, tells a detector that this browser looks like a genuine
Firefox on this one narrow surface. It says nothing whatsoever about your network. The
Battery API cannot see your IP address, your exit country, or how many requests you have
made in the last minute. A browser can be a flawless Firefox on every fingerprint field
and still be turned away because the exit IP is a known datacenter range, because the
account behind the session hit a per-account quota, because the requests arrived faster
than a human hands could produce them, or because the pointer never moved before the click.
invisible_playwright is designed to look like a real browser driven by a real person, and
that is genuinely why it passes most fingerprint, TLS and driver-layer checks: the engine
is a real Firefox, so the traits it reports are the traits Firefox actually has, this API
absence among them. But it does not supply a clean IP, it does not pace your actions, and
it does not manage per-account limits. Those are yours to bring: a reputable exit, human
timing, and sane volume. The [configuration guide](configuration.md) covers the proxy and
timezone side of that, and the [detected-on-one-site checklist](playwright-detected-as-bot.md)
walks the causes in the order they are usually the real culprit, with the network exit near
the bottom of the list rather than the top.
## Conclusion
The Battery Status API is a clean example of a detection signal that is best handled by not
existing. Desktop Firefox removed it in 2017, so the honest state for anything claiming to
be Firefox is to have no `getBattery` at all. A stealth layer that adds a fake battery
object to a non-Firefox engine creates the exact contradiction it was trying to avoid, and
one that tries to delete the API instead has to delete it perfectly or leave a tampering
trace. A patched real-Firefox build sidesteps the whole dilemma by inheriting the gap
natively. It is a small surface, it costs nothing to get right, and getting it right is
worth exactly as much as it is: one consistent bit, and not one bit more about your IP or
your behaviour.
## Short answers to the questions that lead here
**Does Firefox have a Battery API?** Not on the desktop for web content. It was removed in
the 52 series in 2017 for privacy reasons, so `navigator.getBattery` is `undefined`.
**Is a battery reading under a Firefox user agent a red flag?** Yes. A real desktop Firefox
cannot return a battery object, so a page that gets one from a claimed-Firefox browser has
caught a fake.
**Does Chrome still expose it?** Chromium kept a reduced Battery API, which is why the
presence or absence of `getBattery` now works as a per-engine trait rather than a
per-device one.
**Should a stealth tool fake a battery to look complete?** No. Adding a fake signal is more
dangerous than a real absence, because the fake has to survive every angle a detector can
probe from, while an absence matches every other Firefox automatically.
**Does invisible_playwright spoof the Battery API?** No. It drives a real patched Firefox,
so the API is simply absent the same way it is absent in a stock Firefox. There is nothing
to spoof.
**If my battery check passes, am I undetectable?** No. This surface says nothing about your
IP reputation, per-account quotas, rate limits, or behaviour. A clean proxy and human pacing
are still on you.
## Sources
- Mozilla's own [Firefox 52 release notes](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/52),
which record the Battery Status API becoming available only to chrome/privileged code
in that release, 2017.
- This project's own fingerprint parity checks, which read `navigator.getBattery` against a
stock desktop Firefox and confirm both report the same absence.
**See also:** [what data websites collect about your browser](what-data-websites-collect-about-your-browser.md),
[the navigator.vendor and productSub story on Firefox](navigator-vendor-productsub-firefox.md),
and [how navigator.webdriver actually reads](navigator-webdriver-explained.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The most robust fingerprint
field is the one a real browser genuinely produces, and sometimes the one it genuinely does
not.*
@@ -1,211 +0,0 @@
---
title: "Beyond robots.txt: How Sites Actually Block AI Crawlers Now"
description: "robots.txt is a request a crawler can ignore, not a lock. What sites actually run underneath it in 2026: rate limiting, behavioral bot scoring, IP and ASN blocking, and decoy mazes, read from Cloudflare's own docs and real practitioner writeups."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 37
---
# Beyond robots.txt: How Sites Actually Block AI Crawlers Now
`robots.txt` is a text file a crawler can read and ignore. Nothing about HTTP forces
a client to fetch it, parse it, or honor a single line inside it. It has worked as
well as it has for thirty years because the crawlers that mattered, mostly search
engines with a reputation to protect, chose to honor it. A crawler with no brand to
protect and a mandate to collect training data has a different set of incentives, and
2026 is the year that gap became a line item.
This page is about what a site actually runs underneath robots.txt once it decides a
polite request is not enough. None of it is exotic. All of it is documented by the
vendors running it or reported by people who watched it happen to their own traffic.
## Why the file alone was never going to hold
Cloudflare's own numbers make the gap concrete. As of a mid-2026 measurement, only
2.98% of the top one million web properties actively blocked AI crawlers, even though
38.73% of them were seeing AI-bot traffic hit their servers. Separately, Cloudflare
found that only 37% of the top 10,000 domains have a robots.txt file at all, and most
of those never got around to adding an AI-specific disallow line. A file nobody wrote
blocks nothing, and a file that only asks nicely blocks only the crawlers that were
already going to comply.
Cloudflare says the quiet part directly in its own writing on the subject: "user
agents are trivial for bot operators to change." A `Disallow` line keyed to a
crawler's declared name works only until that crawler stops declaring its name, and
nothing about the standard requires it to keep declaring it.
## Layer 1: rate limiting
The simplest response treats crawler traffic as a load problem rather than an
identity problem: cap how many requests one IP or session can make in a window.
Scraping-infrastructure writeups describe the logic plainly, a real visitor rarely
loads dozens of pages a second, a scripted crawler often will, so a request-rate cap
catches the volume even when the requester's identity is unknown. It is cheap to run
and it is also the layer a distributed crawler defeats almost by construction: spread
the same total request volume across enough source addresses and every individual
address stays under the cap while the aggregate load on the origin does not move.
Practitioner accounts of the current AI-crawler wave describe exactly that shape,
several large model crawlers hitting a site concurrently producing a load pattern
that looks, from the server's side, functionally identical to an unintentional
denial-of-service.
## Layer 2: behavioral scoring, underneath the user agent
Cloudflare's blocking toggle is not, underneath, a user-agent filter. It runs a
machine-learned bot score against every request, built from what Cloudflare calls its
own global traffic signals, and the score is what a WAF rule actually keys on: block
or challenge everything scoring under a threshold, independent of what the request
claims to be. Cloudflare's own writeup on a specific evasive crawler makes the point
directly: the traffic it examined scored "firmly below 30" on its bot scale even after
the operator had already started rotating its declared identity, because the score is
not reading the declared identity in the first place. This is the same family of idea
behind [how a fingerprint separates a real engine from a claimed one](what-is-a-browser-fingerprint.md),
applied to a crawler instead of a browser tab.
## Layer 3: IP and ASN blocking, and why it is a losing race
A site can also block by network origin instead of by header: known crawler IP
ranges, or entire hosting-provider ASNs, dropped at the firewall. It works cleanly
against a crawler that publishes its ranges and only operates from them. It works
badly against everything else, because most AI crawlers do not publish complete
ranges, and a scraper that wants to keep collecting has residential proxy pools and
rotating cloud addresses available to it at commodity prices. [What ASN and IP
reputation actually score, and how fast an address's reputation decays once it
changes hands, is covered on its own page](asn-and-ip-reputation-in-bot-detection.md);
the short version is that blocking by address is a race the crawler operator can
choose to run, and choosing not to fight that race is why sites reach for the layers
below instead.
## Layer 4: honeypots, tarpits, and the AI-specific version of both
A honeypot is a link or field a real visitor never sees and a script that blindly
processes every element in the DOM will trigger. [How that trick actually works, the
CSS that hides it and the reason `opacity: 0` is a different case from
`display: none`, has its own page](honeypot-fields-explained.md). A tarpit is the
same idea aimed at whole pages: serve a crawler an endless sequence of generated
content instead of a block page, so the crawler keeps consuming CPU and bandwidth
instead of your actual pages.
Cloudflare ships a purpose-built version of this aimed specifically at AI training
crawlers, called AI Labyrinth. Per Cloudflare's own documentation, the mechanism adds
invisible links carrying a `nofollow` directive throughout a protected site. A crawler
that honors `nofollow`, which is most of the ones with a reputation to protect, simply
never follows them and never notices the trap exists. A crawler that ignores it walks
into "a maze of never-ending links" generated to look like real content. Cloudflare's
own description of what happens next: "their details are recorded and used by all
Cloudflare customers who choose to block AI bots," turning one site's trap into a
shared blocklist entry rather than a one-off inconvenience for a single crawler
operator.
## Layer 5: the policy layer catching up to the traffic
The newest development is not a new detection mechanism at all, it is Cloudflare
restructuring what "block AI bots" even means. Starting September 15, 2026, per
Cloudflare's own announcement, the single AI-bot toggle splits into three named
categories: **Search** ("any behavior that collects or indexes your content, so it
can answer questions about it later"), **Agent** ("automated behavior that is acting,
usually in real time, on a person's behalf, to get something done right now"), and
**Training** ("a crawler taking your content to train or fine-tune a model"). New
domains onboarding after that date get Training and Agent blocked by default on
pages that carry ads, while Search stays allowed by default. Cloudflare's own
documentation is direct about the collateral effect: a crawler that serves more than
one purpose, and Cloudflare names Googlebot, Applebot and Bingbot specifically, gets
treated by whichever rule is most restrictive, so a site that blocks Training blocks
those crawlers too unless it opts back in. Alongside the free managed-robots.txt
feature Cloudflare also ships, which prepends its own `Disallow` directives for
crawlers like `Google-Extended` and `Applebot-Extended` ahead of whatever a site
already had, the policy layer is now doing work the plain-text file never could on
its own: it is enforced at the edge, not merely requested in a file a crawler is free
to skip.
## Where a real browser engine fits, and where it does not
This corpus exists because a page that runs JavaScript can tell a genuine browser
engine from a scripted stand-in, and layer 2 above, the behavioral bot score sitting
under every request, is exactly that kind of check. A crawler that is a real browser
engine rather than a bare HTTP client answers a JavaScript-backed consistency check
the way any other real instance of that engine does, for the same reason [a real
Firefox passes most of BotD's detector list for free](botd-explained.md): there is
nothing spoofed to catch.
That is the entire boundary, and it is worth being precise about it. Layers 1, 3 and
5 above have nothing to do with what a browser engine is. A rate limit counts
requests regardless of what sent them. An IP block reads the network address a
connection arrives on, which [no fingerprint changes](can-websites-detect-a-datacenter-proxy-ip.md).
A site's choice to block the Training category under the new policy layer is a
classification decision made before your request is even inspected. None of that is
a promise this project or any browser-identity tool makes, and a claim that engine
realness clears a rate limit or an IP block would be false on its face.
## Short answers to the questions that lead here
**Does robots.txt actually stop AI crawlers from scraping a site?** No, by design.
It is an advisory convention every well-known standard describes as voluntary. A
crawler that chooses not to read it, or reads it and ignores it, faces no protocol-level
consequence for doing so.
**What actually stops a non-compliant crawler, if not robots.txt?** A layered stack:
rate limiting by request volume, a machine-learned bot score independent of declared
identity, IP/ASN blocking, honeypots and tarpits that catch a scraper's own
crawling logic, and, as of late 2026, a policy layer that treats Search, Agent and
Training traffic as three separately blockable categories.
**Can IP blocking alone keep an AI crawler out?** Only against one that only operates
from published, stable ranges. Most large-scale scraping today runs on rotating
residential or cloud addresses precisely because a fixed-range block is easy to set
up and easy to route around.
**What is Cloudflare's AI Labyrinth?** A honeypot built for crawlers specifically:
invisible, `nofollow`-tagged links that a compliant crawler skips and a non-compliant
one falls into, generating an endless sequence of decoy pages while logging the
crawler for Cloudflare's shared blocklist.
**Will blocking the "Training" category also block Google Search?** It can. Cloudflare's
own documentation states that a multi-purpose crawler like Googlebot gets treated by
whichever category rule is strictest, so blocking Training blocks Googlebot's crawl
on the pages that rule covers unless the site opts back in.
**Does invisible_playwright help get past any of this?** Only the part that is
actually a browser-identity check. A real, engine-level Firefox answers a
JavaScript-backed consistency probe honestly, which is what behavioral bot scoring
partly measures. It changes nothing about a rate limit, an IP or ASN block, a
honeypot your own crawling logic walks into, or a site's policy decision to block a
traffic category outright.
## Sources
- Cloudflare, ["Declare your AIndependence: block AI bots, scrapers and crawlers with
a single click"](https://blog.cloudflare.com/declaring-your-aindependence-block-ai-bots-scrapers-and-crawlers-with-a-single-click/),
retrieved 2026-08-30, for the 2.98%/38.73% blocking-versus-traffic figures, the
machine-learned bot-score mechanism, and the "user agents are trivial... to change"
quote.
- Cloudflare, ["Control content use for AI training with Cloudflare's managed
robots.txt and blocking for monetized content"](https://blog.cloudflare.com/control-content-use-for-ai-training/),
retrieved 2026-08-30, for the 37%-of-top-10,000-domains robots.txt figure, the
managed robots.txt mechanism, and the ad-page-only blocking feature.
- Cloudflare, ["Your site, your rules: new AI traffic options for all customers"](https://blog.cloudflare.com/content-independence-day-ai-options/),
retrieved 2026-08-30, for the Search/Agent/Training three-tier system, its
September 15, 2026 effective date, the default-blocking rules, and the
multi-purpose-crawler quote naming Googlebot, Applebot and Bingbot.
- Cloudflare, [AI Labyrinth](https://developers.cloudflare.com/bots/additional-configurations/ai-labyrinth/),
retrieved 2026-08-30, for the invisible `nofollow`-link mechanism and the shared
detection quote.
- Stytch, ["How to block AI web crawlers without breaking your site"](https://stytch.com/blog/how-to-block-ai-web-crawlers/),
retrieved 2026-08-30, for the named-crawler landscape, the rate-limiting and IP/UA
blocking mechanics and their stated limitations, and the honeypot/tarpit
description.
**See also:** [Honeypot fields and hidden links: how sites trap scrapers](honeypot-fields-explained.md),
[what ASN and IP reputation score in bot detection](asn-and-ip-reputation-in-bot-detection.md),
[can websites detect a datacenter or proxy IP?](can-websites-detect-a-datacenter-proxy-ip.md),
and [how Cloudflare Turnstile actually works](cloudflare-turnstile-explained.md) for the
challenge layer that sits beside, not instead of, everything on this page.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. It answers the
browser-identity layer honestly; it does not touch a rate limit, an IP block, a
honeypot your own code walks into, or a site's decision to block a traffic category
outright.*
-189
View File
@@ -1,189 +0,0 @@
---
title: "BFCache and pageshow.persisted under browser automation"
description: "Automation disables the back/forward cache, so pageshow.persisted is always false and every Back is a full reload. Why sites notice, and what enabling it costs."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 13
---
# BFCache and pageshow.persisted under browser automation
**Under browser automation, `pageshow.persisted` is almost always `false`, because the
drivers switch the
[back/forward cache](https://developer.mozilla.org/en-US/docs/Glossary/bfcache) off.**
Every back navigation becomes a full reload
instead of an instant restore, and a page that pays attention to the difference is
looking at a browser that behaves unlike every consumer browser of the last decade.
Press Back in a real browser and the previous page usually comes back instantly,
restored from memory with its JavaScript state intact. The page is told about it: a
`pageshow` event fires with `persisted` set to `true`. Under automation that almost never
happens.
This page covers what the cache does, what automation does to it, why the difference is
visible, what turning it back on breaks in your own tests, and how to decide.
## What the back/forward cache actually does
When you navigate away, the browser can keep the whole page in memory rather than
discarding it: the DOM, the JavaScript heap, the scroll position, the state of your
variables. Navigate back and it is restored rather than rebuilt.
The page finds out through the
[`pageshow`](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event) event:
```js
window.addEventListener('pageshow', (e) => {
console.log('restored from bfcache:', e.persisted);
});
window.addEventListener('pagehide', (e) => {
console.log('kept in bfcache:', e.persisted);
});
```
`persisted` is `true` on a restore and `false` on an ordinary load. It is a single
boolean, available to any script, and it is normally used for legitimate purposes such as
re-running analytics on a restored view.
## What automation does to it
Automation switches the cache off deliberately, in both major engines, so it never
restores a page. Two different situations, both ending in the same place.
**Firefox under Playwright.** The driver that Playwright uses to control Firefox sets
`disallowBFCache` on every docshell it manages. That is a deliberate choice on its part:
a cached page makes automation less predictable, because state survives navigations that
a test expects to reset.
**Chromium under automation.** The cache is generally not in play either, and there is a
long-standing question on the Playwright tracker about how to enable it at all.
The result is the same in both: `event.persisted` is `false` on every navigation, always,
in a browser where a real user would frequently see `true`.
## Why a page can notice
The difference is not subtle once you look for it, and none of it needs a fingerprinting
library.
**The event itself.** A session that navigates back and forth several times and reports
`persisted: false` every single time describes a browser with the cache disabled.
Disabling it is not something ordinary users do.
**The timing.** A restore is immediate because nothing is rebuilt. A reload fetches,
parses and executes. A page that measures how long its own initialisation took on a back
navigation sees two very different numbers.
**The side effects of a reload.** Scripts run again, timers restart, counters reset,
analytics fire a fresh page view. A page holding in-memory state watches it vanish on
every back navigation, which is behaviour it can compare against what it expects.
None of this is a strong standalone signal. It belongs to the same family as
[the pointer that teleports](human-mouse-movement.md): one more way in which the session
does not behave like a person's browser, cheap to check and rarely thought about.
## How this project handles it, and what it costs you
The behaviour here is inverted relative to the stock driver: the cache is **left enabled
by default**, so a back navigation restores the page and `persisted` comes back `true`,
which is what a real Firefox does. The old behaviour is available behind a preference for
anyone who needs it.
The cost is real and you should know it before you enable this anywhere:
**`go_back()` used to time out here, and does not any more.** A bfcache restore does not
fire `load`, so code waiting for that event sat there until the deadline. The engine
reports the navigation from firefox-31, and the driver stopped caching the injected
script across a restore in 0.19.0, which was the second half of the same problem: the
page came back and the driver was still holding a handle into the world it had left.
```python
# fine now
page.go_back()
page.wait_for_selector("#something-on-the-previous-page")
```
Waiting for something you can see is still more robust than waiting for a lifecycle
event on a restore, because the lifecycle events genuinely do not fire again.
Waiting for something you can see is more robust than
[waiting for a lifecycle event](how-to-wait-for-page-load-playwright.md) anyway, and it
works whether or not the page was restored.
**State survives navigation.** That is the point of the cache, and it is also the thing
that makes a test suite non-deterministic if the suite assumed a fresh page. If your
tests depend on state being reset by going back, they were depending on the automation
behaving unlike a browser.
## Deciding which behaviour you want
The two cases genuinely differ and it is worth being explicit rather than picking a
default:
- **A test suite against your own application.** Predictability is worth more than
realism, nothing is watching, and a cache that preserves state between steps causes
flakiness. Disabling it is reasonable.
- **A session that needs to look like a person's browsing.** Realism wins, and the cost
is writing navigation waits that do not depend on `load`.
The mistake is not choosing either one. It is not knowing which you have, and then being
surprised by a timeout or by a signal.
## Conclusion
The back/forward cache is a small thing that automation turns off for good engineering
reasons, and turning it off produces a browser whose back button behaves differently from
every consumer browser.
The fix is not complicated. Leave the cache on and stop waiting for `load` after a back
navigation. The second half is what actually costs effort, and it is the reason the stock
drivers made the other choice.
## Short answers to the questions that lead here
**What does `event.persisted` mean?** That the page was restored from the back/forward
cache rather than loaded again.
**Why is `persisted` always false in Playwright?** Because the driver disables the cache,
in Firefox explicitly and in Chromium effectively.
**Can a site detect that bfcache is disabled?** It can observe that back navigations
never restore, which is not how consumer browsers behave. It is a weak signal on its own
and it belongs to a family of weak behavioural signals.
**Does `go_back()` still hang?** No, since firefox-31 for the navigation and 0.19.0 for
the driver side. Wait for an element rather than for `load`, which does not fire again
on a restore.
**Should I enable it?** For realistic sessions yes, for deterministic test suites
probably not.
**Does bfcache leak state between pages?** It preserves state within a page across
navigation, which is its purpose. There is an open Playwright issue about globals
appearing to leak between pages because of it, which is worth reading if you see
something odd.
**See also:** [human-like mouse movement](human-mouse-movement.md), the same category of
behavioural difference, and
[the checklist for being detected on one site](playwright-detected-as-bot.md), where
behaviour is step five, and [how websites detect bots](how-do-websites-detect-bots.md)
for where behavioural signals sit in the wider picture.
## Sources
- [MDN: the back/forward cache (bfcache)](https://developer.mozilla.org/en-US/docs/Glossary/bfcache)
and [MDN: the `pageshow` event](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageshow_event),
which documents `persisted`.
- Playwright's documented [`go_back()`](https://playwright.dev/python/docs/api/class-page#page-go-back)
and its `wait_until` values.
- The Playwright tracker's open items on bfcache behaviour and on enabling it under
Chromium.
- This project's driver, which reads a preference before disabling the cache and leaves
it enabled by default, with the `go_back` caveat recorded alongside it.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. The preference exists because the timeout described
above is real, and a test suite that hits it deserves a way back to the old behaviour.*
-261
View File
@@ -1,261 +0,0 @@
---
title: "WebDriver BiDi vs CDP: does the new protocol hide you"
description: "WebDriver BiDi standardizes the automation control wire across browsers, but the leaks that expose automation live in the page, not on the protocol you speak."
parent: "Comparisons"
nav_order: 19
---
# WebDriver BiDi vs CDP: does the new protocol hide you
There is a hope, repeated often enough that it is worth answering directly, that
WebDriver BiDi is the fix for automation detection. The reasoning goes: the old
Chrome DevTools Protocol had a famous leak, everyone is moving to a standardized
bidirectional protocol, so the standardized one must close it.
It does not, and the reason is the useful part. The leak people are trying to
escape was never on the protocol wire. It is in the page. Changing which wire the
driver speaks over leaves the page-level artifacts exactly where they were.
## The protocol is the control channel, not the fingerprint
The protocol is the wire a driver speaks over, not the fingerprint a page reads,
so changing it moves nothing a detector looks at. CDP, BiDi and Firefox's own
Juggler are all
control channels: the out-of-process link a driver uses to say "open a page", "go
to this URL", "evaluate this script", "give me the console messages". They are
plumbing between your Python process and the browser process.
A detection script running inside the page cannot see that channel at all. It
cannot see whether the command that opened the tab arrived as CDP JSON, as a BiDi
message, or as a Juggler call. What it can see is whatever the browser does to the
page as a side effect of being driven: a property that reads differently, a global
that should not exist, a built-in prototype that was touched before the first
script ran, a loop that runs measurably slower because the engine is in a
different mode.
So the question "does BiDi hide me" is really two questions that get conflated. Is
the control channel itself observable? Mostly no, for any of the three. Does
switching the control channel change the in-page artifacts? Also no, because those
artifacts are produced by a different mechanism entirely.
## What CDP's Runtime.enable leak actually was
The CDP `Runtime.enable` leak was a page-visible side effect of how Chromium
automation manages JavaScript execution contexts, not a property of the CDP wire
itself. It is narrower than the folklore around it, so it is worth stating
exactly.
On Chromium, automation libraries call the CDP command `Runtime.enable` to manage
the execution contexts they need for evaluating JavaScript. That call has an
in-page side effect: it causes the browser to emit context-creation events, and a
page can provoke and observe the timing of that machinery. Ordinary browsing never
triggers it, so its footprint reads as automation. Two separate projects,
[Patchright](vs-patchright.md) and
[rebrowser-patches](vs-rebrowser-patches.md), independently converged on the same
fix: stop calling `Runtime.enable` automatically and create the needed contexts by
hand, with identifiers the page cannot correlate back to the session.
Notice what that fix is and is not. It is not "switch protocols". It is a change to
how the driver uses the protocol so that the observable side effect stops
happening in the page. The leak lived in the page; the fix lives at the driver.
The protocol name never entered into it.
## Firefox automation here rides Juggler out of band
This project does not patch that leak because it never had it. The Firefox we ship
is driven by stock Playwright over Juggler, an out-of-band control protocol that is
not CDP and has no `Runtime.enable` command to call. There is no automatic
context-enable step whose in-page timing a script can measure, because that step is
a CDP-shaped thing and this is not CDP.
That is an architecture difference, not a cleverness difference. The
`Runtime.enable` timing signal is specific to how CDP-driven Chromium manages
execution contexts. A driver that manages contexts differently, over a different
channel, does not emit that particular event and so cannot be caught by a probe
looking for it. The class of Chromium hand-patches that exist to suppress it has no
counterpart here for the same reason a Linux binary has no Windows registry to
clean.
```python
from invisible_playwright import InvisiblePlaywright
# A stock Playwright script. The control channel underneath is Juggler,
# not CDP, so there is no Runtime.enable side effect for a page to time.
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# standard Playwright: the returned object is a real Browser
print(page.title())
```
None of that code mentions the protocol, which is the point: the wire is an
implementation detail of the driver, and the same script would work if it changed.
## What WebDriver BiDi standardizes, and what it leaves untouched
WebDriver BiDi is a genuinely good thing and worth being precise about. It is a
[W3C effort](https://www.w3.org/TR/webdriver-bidi/) to give every browser one
bidirectional automation protocol, so that a driver can subscribe to events and
issue commands the same way across engines, instead of CDP on one family and
something bespoke on another. Firefox, Chromium and others implement it.
Playwright itself has been building BiDi support. If you have ever wanted "one
protocol, every browser", this is that.
What it standardizes is the shape of the control channel: the commands, the
events, the subscription model. What it does not do, because it is not what a
control protocol is for, is change what the browser exposes to the page. BiDi has
no clause that turns off [`navigator.webdriver`](does-playwright-set-navigator-webdriver.md), no clause about whether a helper
runs in the page's realm before the page's own scripts, no clause about whether the
JavaScript engine is in a mode that runs loops slower. Those are engine and driver
behaviors. A standardized wire carries them just as faithfully as a proprietary one.
The mental model that trips people up is that CDP and BiDi are alternatives on the
same axis as "detected" and "not detected". They are not. Protocol choice and
detectability are orthogonal. You can be trivially detectable over BiDi and hard to
detect over Juggler, or the reverse, and the protocol name predicts neither.
## The leaks that survive any protocol change
If the wire is not where the tells are, where are they? Two families, both in the
page, both indifferent to which control channel drove the browser.
The first is execution-context timing. Attaching a driver to the JavaScript engine
can put realms into a debug-adjacent mode where the optimizing JIT is off and slow
paths run on every call, and that is measurable from the page as time, with no
property to read. It is
[why a fingerprinting service can report developer tools with none open](debugger-timing-detection.md).
Whether the driver spoke CDP, BiDi or Juggler to attach makes no difference to the
resulting distribution; what matters is whether the engine was left in that mode.
This project's fix was to attach without entering debug mode at all, so the JIT
stays on. That is an engine change, and it would be exactly as necessary under BiDi.
The second is injected globals and touched built-ins. If a driver runs a helper in
the page's own realm before the page loads, and that helper touches `JSON`,
`Date.prototype` or `Array.prototype`, then the page starts life with built-ins
that something else handled first, and that is observable. In a controlled
experiment that was the difference between a session being blocked and not. The fix
is to never touch the page realm until the page's own first script has run. Again:
a driver behavior, carried identically over any wire. A page reading a leftover
global does not know or care how the global got injected.
There is also a separate, wire-adjacent failure mode worth naming so it is not
confused with the above: the driver and browser can drift out of agreement about
the protocol's own field set, which
[breaks the client rather than exposing it to the page](playwright-protocol-drift.md).
That is a maintenance surface every automation stack has, standardized protocol or
not, and it is orthogonal to detection too.
## How to choose, and what to actually measure
The practical upshot is that "which protocol" is not a stealth decision. Pick the
protocol for engineering reasons: BiDi for cross-browser uniformity and a stable
standard, CDP where you need a Chromium-specific capability it exposes, Juggler if
you are on this project's Firefox because that is what it speaks. The three differ
on engineering properties, but not on the axis people ask about here:
| Protocol | Cross-browser standard | `Runtime.enable`-style context leak | Control wire visible to the page | Protocol choice changes detectability |
|---|---|---|---|---|
| CDP | No (Chromium family) | Yes, until hand-patched at the driver | No | No |
| WebDriver BiDi | Yes (W3C, multi-engine) | No such standardized clause | No | No |
| Juggler | No (Firefox, this project) | No `Runtime.enable` command exists | No | No |
Then measure the
things that actually decide detection, none of which the protocol choice sets.
The measurement that separates the real question from the imagined one is timing
and page state against a stock browser on the same machine, not a protocol audit:
```python
from invisible_playwright import InvisiblePlaywright
PROBE = """
() => {
// 1. any global that a normal browser would not have?
const suspects = Object.getOwnPropertyNames(window)
.filter(n => /puppet|driver|automation|cdc_|selenium/i.test(n));
// 2. rough JIT-sanity number; compare the RATIO to a stock browser
const t = performance.now();
for (let i = 0; i < 5e6; i++) Math.sqrt(i);
const loopMs = performance.now() - t;
// 3. did anything claim a user gesture nobody made?
const ua = navigator.userActivation || {};
return { suspects, loopMs, isActive: ua.isActive, webdriver: navigator.webdriver };
}
"""
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
print(page.evaluate(PROBE))
```
Run the same probe in a stock browser and diff the results. The absolute loop
number means nothing on its own; the ratio between the two browsers is the JIT
signal. A non-empty `suspects` list is an injected-global leak. `webdriver` should
read as it does on a clean browser. Every one of those is a page-level property,
and every one of them would report the same value whether the tab was opened over
CDP, BiDi or Juggler.
## Conclusion
WebDriver BiDi is worth adopting for what it is: one standard control protocol
across browsers, which is a real convenience and a real cleanup. It is not a
stealth upgrade, because it operates on the wrong axis. The `Runtime.enable` leak
that made CDP notorious was a page-visible side effect of how one protocol managed
contexts, fixed at the driver, not by changing wires. The leaks that remain,
execution-context timing and injected globals, live in the page and the engine, and
a standardized wire carries them as faithfully as a proprietary one. This project's
Firefox never had the CDP leak because it does not speak CDP, and it closes the
in-page leaks in the engine and driver, which is the layer where they actually are.
Choose the protocol for engineering reasons and measure detection where it lives.
## Short answers to the questions that lead here
**Does switching from CDP to WebDriver BiDi make me undetectable?** No. The
protocol is the control channel; the tells that flag automation are in the page and
the engine, and they read the same over any wire.
**Was the CDP Runtime.enable leak a protocol problem?** It was a page-visible side
effect of how CDP-driven Chromium managed execution contexts. The fix changes how
the driver uses the protocol, not which protocol it is.
**Does this project have the Runtime.enable leak?** No. Its Firefox is driven over
Juggler out of band, which has no `Runtime.enable` command, so the signal that
several Chromium projects hand-patch never exists here to begin with.
**Is WebDriver BiDi bad, then?** Not at all. It is a solid cross-browser standard
worth adopting for uniformity and stability. It just is not a detection fix,
because detectability and protocol choice are orthogonal.
**What actually gives automation away if not the protocol?** Execution-context
timing when the engine is left in a debug-adjacent mode, globals or touched
built-in prototypes injected into the page realm, and behavior. All page-level or
engine-level, none of them on the wire.
**How do I test my own setup?** Run a timing-and-globals probe in your automated
browser and in a stock browser on the same machine, and diff them. The ratio, not
the protocol name, is the signal.
## Sources
- This project's own debugger and execution-context fixes, described in
[why an attached debugger makes automation detectable](debugger-timing-detection.md),
for the in-page timing and injected-global leaks that survive a protocol change.
- The [Patchright](vs-patchright.md) and [rebrowser-patches](vs-rebrowser-patches.md)
comparisons on this site, read from each project's own repository, for what the
CDP `Runtime.enable` fix is and is not.
- The [WebDriver BiDi specification](https://www.w3.org/TR/webdriver-bidi/)'s own
scope, for what a standardized control protocol standardizes and what it leaves
to the engine.
**See also:** [why an attached debugger makes automation detectable](debugger-timing-detection.md)
for the page-level leaks in detail, [invisible_playwright vs rebrowser-patches](vs-rebrowser-patches.md)
for the CDP fix arrived at twice, and [how to test whether your browser is detected](how-to-test-bot-detection.md)
for the compare-against-stock method this page leans on.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The protocol under
the driver is an implementation detail; the leaks were never on the wire.*
@@ -1,223 +0,0 @@
---
title: "Block images to speed up scraping (and when not to)"
description: "Blocking images, fonts and media with route.abort() cuts bandwidth and wall-clock time, but a no-image waterfall is itself a tell. When to use it and when not to."
parent: "Scraping with Playwright"
grand_parent: "Guides"
nav_order: 92
---
# Block images to speed up scraping (and when not to)
Aborting image, font and media requests is one of the biggest speed wins available to a
Playwright scraper, and it is two lines of code. It is also, on the wrong page, a clean
way to get yourself noticed. A browser that fetches HTML and JavaScript and never a
single image produces a request pattern no human session shows.
So this is not a pure win, and that is the reason it gets its own page. Blocking
resources is the right call for internal test runs and for bulk data pulls where transfer
cost dominates. It is the wrong call on exactly the sessions you most want to look human.
This page covers what it saves, the two lines that do it, the tell it creates, and where
the line between the two cases falls.
## What blocking resources actually saves
On most pages the HTML and the JavaScript are a small fraction of the bytes. Images,
web fonts and any autoplaying media are the rest, and on an image-heavy listing page
they are the large majority of the transfer. If your scraper only reads text, prices or
structured data out of the DOM, every one of those bytes is downloaded and thrown away.
Aborting them changes two things you can measure:
- **Bandwidth.** On an image-heavy page the transfer routinely drops from a few megabytes
to a few hundred kilobytes. Over tens of thousands of pages that is the difference
between a proxy bill you notice and one you do not.
- **Wall-clock time.** The page reaches its "loaded" state sooner because it is no longer
waiting on the slowest large assets, and `page.goto` returns earlier. The saving is
largest on pages that block rendering on fonts or lazy-load a wall of images.
The mechanic is stock Playwright, and it works identically under invisible_playwright:
the wrapper returns a real Playwright `Browser`, so [`page.route` and `route.abort`](https://playwright.dev/python/docs/network#abort-requests)
behave exactly as documented upstream. There is no special API to learn.
## The two lines that do it
Register a route handler, abort the resource types you do not need, and continue
everything else. The launch is the usual two-line switch from stock Playwright.
```python
from invisible_playwright import InvisiblePlaywright
# resource types that are pure weight for a text/data scrape
BLOCK = {"image", "media", "font"}
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.route(
"**/*",
lambda route: route.abort()
if route.request.resource_type in BLOCK
else route.continue_(),
)
page.goto("https://example.com")
print(page.title())
```
The async form is the same shape:
```python
from invisible_playwright.async_api import InvisiblePlaywright
BLOCK = {"image", "media", "font"}
async with InvisiblePlaywright(seed=42) as browser:
page = await browser.new_page()
async def router(route):
if route.request.resource_type in BLOCK:
await route.abort()
else:
await route.continue_()
await page.route("**/*", router)
await page.goto("https://example.com")
print(await page.title())
```
Two notes that save time later. Register the route **before** `goto`, or the first
navigation's assets are already in flight before the handler exists. And keep
`stylesheet` out of the block set unless you have checked the page: some layouts compute
element positions from CSS, and dropping it can move the very nodes your selectors point
at. `image`, `media` and `font` are the safe core; add `stylesheet` only after you
confirm the DOM you read still resolves.
## The tell: a request waterfall no human produces
A real person's browser loads images, fetches the fonts the page asks for, and pulls the
tracking pixel and the hero media without being told twice - and a scraper that refuses
all three produces a request waterfall no human session shows. That is the honest
caveat, and it is the whole reason this page is not just "block everything, go faster".
The network waterfall of a genuine session has a characteristic shape: a burst of mixed
resource types, images arriving late and out of order, fonts blocking early paint. A
session that fetches the HTML document and a handful of scripts and then goes silent has
none of that shape. It is a request pattern that belongs to a scraper and to almost
nothing else.
This is not a fingerprint that the engine can spoof. invisible_playwright is built to
look like a real browser driven by a real person, and that is why it passes most
detection: the [fingerprint, the TLS handshake and the driver layer read as a genuine
Firefox](does-playwright-support-firefox-stealth.md). But *which requests you choose to
make* is your behaviour, not the browser's identity. If your code refuses every image on
a page a human would load, you have hand-built a behavioural tell that no stealth layer
touches, the same category as a pointer that teleports or a form filled in eighty
milliseconds. The [checklist for being flagged on one site](playwright-detected-as-bot.md)
puts behaviour above the proxy for exactly this reason.
So the block set is a decision about the session, not a global optimisation you turn on
once and forget.
## Where to block, and where not to
Split your work into two buckets and treat them differently.
**Block resources freely when load does not need to look human:**
- **Internal test runs and CI.** You are checking your own selectors and your own
extraction, not passing anyone's inspection. Speed is the only axis that matters.
- **Bulk data pulls where transfer cost dominates** and the endpoint is not scoring you,
for example a site you have permission to crawl, an API-backed page, a
[sitemap walk](how-to-scrape-a-sitemap-playwright.md) over thousands of URLs where the
proxy bill is the real constraint.
**Leave images loading when the session needs to look human:**
- **The first visit to a page that is clearly scoring the session**, or any flow that
starts behind a challenge. The seconds you save are not worth the waterfall shape.
- **Anything interactive that a human would look at.** If the run
[scrolls, clicks and reads](human-mouse-movement.md), it should also be pulling the
images a reader would see.
A middle path exists and is often the right one: block the heaviest single type only.
Dropping `media` and web `font` requests while still loading `image` keeps most of the
human waterfall shape and still cuts real weight, because autoplaying video and large
font files are frequently the worst offenders. Measure your own pages before deciding the
block set is worth the tell.
## What this does not fix
Blocking resources is a speed and cost lever. It is not a stealth lever, and on its own
it changes none of the things that actually decide whether a session gets through.
- **IP reputation.** A [datacenter or already-flagged
exit](can-websites-detect-a-datacenter-proxy-ip.md) is visible before the first byte of
HTML, and no route rule touches it. Supply a clean proxy yourself.
- **Per-account quotas and rate limits.** Fetching fewer bytes per page does not raise a
cap. If anything, going faster lets you hit it sooner, so pair aggressive blocking with
[deliberate pacing](how-to-rate-limit-your-scraper-playwright.md).
- **Behaviour and timing.** The waterfall shape above is one behavioural signal; pointer
motion, dwell time and request cadence are others, and they are your responsibility, not
the engine's.
invisible_playwright makes the browser read as a real Firefox. The clean proxy and the
human pacing are the parts you bring. Blocking images speeds up the run; it does not move
any of these three.
## Conclusion
`route.abort()` on `image`, `media` and `font` is a large, cheap speed and bandwidth win,
and it works identically under invisible_playwright because the wrapper hands you a real
Playwright browser. The catch is that a no-image request waterfall is a behavioural tell,
so scope it: block freely on test runs and bulk pulls where load is the constraint, and
leave images loading on the sessions you most want to read as human. When in doubt, block
the heaviest type only and measure, rather than switching everything off and hoping the
shape goes unnoticed.
## Short answers to the questions that lead here
**Does blocking images make Playwright faster?** Yes, often substantially, because images,
fonts and media are usually the bulk of a page's bytes and a text scrape throws all of
them away. Wall-clock time drops because the page stops waiting on the slowest assets.
**How do I block images in Playwright?** Register a `page.route("**/*", ...)` handler
before `goto` and call `route.abort()` when `route.request.resource_type` is `image`,
`media` or `font`, and `route.continue_()` otherwise.
**Does blocking images get me detected?** It can. A session that fetches HTML and scripts
but never an image produces a request waterfall no human session shows. That is a
behavioural tell, separate from your fingerprint, and no stealth layer hides it.
**Should I also block CSS and JavaScript?** Usually not. Many pages compute layout and
render content from CSS and JavaScript, so blocking them can move or remove the nodes your
selectors read. Start with `image`, `media` and `font` only.
**Will this make invisible_playwright undetectable?** No, and nothing does. It makes the
browser read as a real Firefox, which is most of the battle, but IP reputation, account
quotas, rate limits and timing are yours to handle with a clean proxy and human pacing.
**When should I not block images?** On the first visit to a page that is clearly scoring
the session, and on any interactive flow a human would actually look at. There, looking
human is worth more than the seconds you save.
## Sources
- Playwright's [request interception API](https://playwright.dev/python/docs/network#abort-requests)
(`page.route`, `route.abort`, `route.continue_` and
[`request.resource_type`](https://playwright.dev/python/docs/api/class-request#request-resource-type)),
read from its own documentation rather than a rendered example.
- This project's own measurements of per-page transfer on image-heavy pages, where images,
fonts and media are consistently the majority of the bytes.
- The behavioural-tell reasoning in this project's detection notes, where request shape is
treated as behaviour rather than fingerprint.
**See also:** [pulling images down on purpose when you do want them](how-to-download-images-in-bulk-playwright.md),
[the checklist for being detected on one site](playwright-detected-as-bot.md), and
[testing bot detection without a false pass](how-to-test-bot-detection.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The speed is stock
Playwright; the tell is the part the speed guides leave out.*
-175
View File
@@ -1,175 +0,0 @@
---
title: "What BotD actually detects, and what it does not"
description: "What BotD's nineteen detectors actually check, read from its own source: mostly whether a browser is telling the truth about which engine it is, not automation."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 3
---
# What BotD actually detects, and what it does not
BotD is the open-source bot detector from the FingerprintJS team. It is small, it is
readable, and reading it changes how you think about this problem, because most of
its nineteen detectors are not looking for automation at all.
They are checking whether your browser is telling the truth about **which browser it
is**.
Read from source on 2026-08-29 ([`fingerprintjs/BotD`](https://github.com/fingerprintjs/BotD), `src/detectors/` and `src/sources/`).
## The nineteen detectors
```
app_version distinctive_properties document_element_keys
error_trace eval_length function_bind
languages_inconsistency mime_types_consistence notification_permissions
plugins_array plugins_inconsistency process
product_sub rtt user_agent
webdriver webgl window_external
window_size
```
Exactly one of those, [`webdriver`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver),
is the check everybody knows. A handful look for
specific named tools. The rest are engine identity and internal consistency.
| Detector group | The question it asks | Examples named here |
|---|---|---|
| The one everyone knows | Is the automation flag set? | `webdriver` |
| Engine identity | Does the browser behave like the engine its user agent claims? | `eval_length`, `product_sub` |
| Named tool fingerprint | Does a value the engine reveals name a specific automation tool? | `error_trace`, `function_bind`, `window_external`, `app_version` |
| Internal consistency | Does a value a real browser always produces show up, intact and correctly typed? | `languages_inconsistency`, `mime_types_consistence`, `plugins_inconsistency`, `rtt`, `window_size` |
## The interesting group: what engine are you really?
Some values are decided by the JavaScript engine and cannot be changed from
JavaScript without being obvious. Two of them, BotD computes and checks against what
your user agent claims. A handful of others read that same kind of engine-only value
and test it for one named tool's leftover fingerprint, regardless of what the user
agent says.
**`eval_length`.** `eval.toString().length` is a fixed number per engine, the same
category of leak as [any other native function's own source](tostring-native-code-detection.md).
The check compares that number against the engine your user agent claims: 37 must come
from WebKit or Gecko, 39 from Internet Explorer, 33 from Chromium, and any other pairing
is a bot. A Chromium engine claiming to be Firefox still reports 33, the length the check
reserves for Chromium, and fails on a value nobody thinks to spoof.
**`product_sub`.** If the browser claims to be Chrome, Safari, Opera or WeChat, then
[`navigator.productSub`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/productSub)
must be `20030107`. Firefox reports `20100101`. One
comparison, no ambiguity ([why a real Firefox reports `20100101`](navigator-vendor-productsub-firefox.md)).
**`error_trace`.** Stack traces are formatted differently by different engines, and
the detector tests the string against a single named signature: PhantomJS.
**`function_bind`** checks whether `Function.prototype.bind` exists as a real
function at all, not what it returns; PhantomJS is the one that fails this, so a
missing bind reads as the same tool `error_trace` looks for. **`window_external`**
matches `window.external.toString()` against the name of a specific commercial
scraping platform, Sequentum. **`app_version`** tests that same kind of version
string for three more names: headless, Electron, SlimerJS.
None of these are secret. They are just values a spoofing layer does not think about,
because they are not on the list of "things bots are known for".
## The second group: does your story hold together?
This group mostly asks whether a value a real browser always produces is missing,
empty, or malformed, not whether a value looks unusual on its own.
**`languages_inconsistency`** fires when `navigator.language` and its older fallbacks
are all undefined, something a real browser never leaves empty.
**`plugins_inconsistency`** fires when a browser claiming to be desktop Chrome reports
zero plugins, when even a stock install ships the built-in PDF viewer.
**`mime_types_consistence`** checks that `navigator.mimeTypes` and each of its entries
carry the real `MimeTypeArray` and `MimeType` prototypes, not a plain object standing
in for them.
**`rtt`**, **`window_size`**: values a real machine and a real window have, and a
container often does not.
**`document_element_keys`** and **`distinctive_properties`**: attributes and globals
that specific automation tools leave behind, which is the closest BotD gets to
looking for bots directly.
## What this means if you are on the other side
Three things follow: spoofing a user agent alone tends to make a browser easier to
detect rather than harder, being a genuine instance of the engine you claim passes
this whole detector class for free, and the risk BotD does not touch moves to other
signals entirely. They are the same three that turn up everywhere in this area.
**[Spoofing a user agent alone is worse than not spoofing it](is-changing-user-agent-enough.md).** Change the string and
you have to change `productSub`, `eval.toString().length`, the stack-trace format,
`window.external`, and the plugin and MIME arrays to match, or you have created the
exact contradiction BotD is built to find. Most user-agent spoofing makes a browser
easier to detect, not harder.
**Being a real instance of what you claim passes this whole class for free.** A real
Firefox reporting Firefox has the right `productSub`, the right `eval` length, the
right stack format and the right plugin array, because they are not claims, they are
the engine. There is nothing to keep consistent because nothing was changed.
**The remaining risk moves elsewhere.** Passing every one of these nineteen says
nothing about whether [your GPU string is plausible](webgl-renderer-strings.md), your
fonts match your platform, or [your timezone agrees with your IP](timezone-proxy-mismatch.md).
Those are the ones that decide modern outcomes and BotD does not look at them.
## Checking your own
BotD is on npm and takes about four lines to run. Do it on the machine that will do
the work instead of your laptop, and read which detectors fired rather than the
verdict.
If any of the engine-identity or named-tool-fingerprint groups fire, stop and fix
that first: it means either the browser you are presenting is not the browser you
are running, or a specific automation tool's own fingerprint just showed up, and no
amount of work on the other surfaces compensates for that.
## Short answers to the questions that lead here
**What is BotD?** The open-source bot detector from the FingerprintJS team. It runs in
the page and returns a verdict rather than a fingerprint.
**Is BotD the same as FingerprintJS?** No. FingerprintJS
[identifies a visitor across sessions](fingerprintjs-visitor-id.md). BotD answers a
different question: is this automation.
**Why does most of it not look like bot detection?** Because most detectors check which
browser engine you really are, by testing behaviours that differ between engines. A
browser claiming one engine and behaving like another is the finding.
**Can I pass it by setting `navigator.webdriver` to undefined?** No. That is
[one detector out of nineteen](navigator-webdriver-explained.md).
**Does passing BotD mean I am undetected?** It means one open-source detector found
nothing. Commercial systems combine far more, including things no in-page script can
see.
## Sources
- BotD's own GitHub repository, [`fingerprintjs/BotD`](https://github.com/fingerprintjs/BotD),
`src/detectors/` and `src/sources/`, read 2026-08-29, for the nineteen detector names and
the values each one compares.
- [MDN: `Navigator.webdriver`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver),
retrieved 2026-08-29, for the one detector everybody already knows.
- [MDN: `Navigator.productSub`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/productSub),
retrieved 2026-08-29, for the fixed value Firefox reports that the `product_sub`
detector checks against.
- [PhantomJS](https://github.com/ariya/phantomjs), read 2026-08-29, the named signature
the `error_trace` detector matches against in a stack trace, and the tool a missing
`Function.prototype.bind` reads as under `function_bind`.
- This project's own detection gates, which run BotD against the product before every
release and read which detectors fired rather than only the verdict.
**See also:** [what sannysoft checks](sannysoft-explained.md), which is the older
list of the same kind, and [how a consistency checker detects tampering](consistency-checker-explained.md),
which takes the consistency idea considerably further.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright).
We gate every release on BotD, so the detector names and the compared values above
come out of its source and not out of memory.*
-124
View File
@@ -1,124 +0,0 @@
---
title: "Browser automation testing tools: where each one fits"
description: "Playwright, Selenium, Cypress and Puppeteer by what each one was built to test, not by feature count, plus the axis none of the four was designed around."
parent: "Comparisons"
nav_order: 41
---
# Browser automation testing tools, and where each one actually fits
Four names come up constantly and get compared as if they were interchangeable:
Playwright, Selenium, Cypress and Puppeteer. They overlap enough to confuse
and differ enough that picking by feature-list length is how people end up
fighting the wrong tool for a year.
## The four, by what they are actually built for
**Playwright.** General-purpose, cross-browser (Chromium, Firefox, WebKit),
built by Microsoft with auto-waiting and multi-language support (JS/TS,
Python, Java, .NET). The current default recommendation for new
browser-automation projects that need real cross-browser coverage.
**Selenium.** The oldest and most widely deployed, via the W3C WebDriver
standard. Broadest language support, largest historical ecosystem, and the
one that can drive an actual retail browser install rather than a
framework-maintained build - relevant if you specifically need to test
against exactly what your users have installed.
**Cypress.** Built specifically for testing web applications from inside the
browser, running in the same run-loop as your app rather than driving it from
outside. Excellent developer experience and debugging for single-page apps,
historically Chromium-only in practice (with newer versions adding limited
Firefox and WebKit support), and architecturally not built for the kind of
cross-origin, multi-tab scraping work Playwright and Selenium both handle
natively.
**Puppeteer.** Chromium/Chrome only, Node.js only, maintained by the Chrome
team. If your target is specifically Chrome and your stack is Node, it is a
direct, well-supported option; it does not cover Firefox or WebKit at all.
## Choosing by what you are actually testing
| Your situation | Reach for |
|---|---|
| Cross-browser regression suite, multiple languages on the team | Playwright |
| Testing a Chrome-only internal app, Node stack already in place | Puppeteer |
| Fast-feedback testing of a single-page app you are actively developing | Cypress |
| Must drive an actual retail-installed browser, not a framework build | Selenium |
| Large legacy Selenium suite that works | Selenium, don't rewrite for its own sake |
| Real-world scraping across multiple sites, need Firefox specifically | Playwright |
## The axis none of these four are built around
All four of these are testing tools, built to verify that **your own
application** behaves correctly under known, cooperative conditions. None of
them was designed against a page actively trying to distinguish automation
from a human - because for their primary use case, the page being tested is
yours, and it has no reason to fight you.
That changes completely when the target is someone else's site and it is
actively fingerprinting. Every one of these four, used with its default
browser build, presents recognizable automation signals: `navigator.webdriver`
under WebDriver-based tools, CDP-visible properties under CDP-driven ones,
and browser builds that differ from a retail install in ways a determined
detector checks for. Picking Playwright over Selenium, or Puppeteer over
Cypress, does not change this axis at all - it is orthogonal to which testing
tool you picked.
## Where this project sits
[invisible_playwright](https://github.com/oss-invisible/playwright) is
not a fifth entry on the list above competing for the same job. It answers a
different question: given that you have already picked Playwright's API
(unchanged, same code you would write against any Playwright browser), what
if the Firefox underneath it was patched at the C++ source rather than
Playwright's stock automation build? It is the engine layer beneath a testing
tool, not a replacement for one.
[Firefox or Chromium for anti-detect automation](firefox-vs-chromium-antidetect.md)
covers why Firefox was the base worth patching, and
[patchright vs invisible_playwright](vs-patchright.md) covers the equivalent
idea applied to Chromium instead.
## Short answers to the questions that lead here
**Is Playwright better than Selenium?** For new cross-browser projects,
usually yes - faster, auto-waiting, fewer moving parts. Selenium's breadth of
language support and ability to drive a real retail browser remain real
advantages in specific cases.
**Is Cypress a replacement for Selenium or Playwright?** Not a direct one.
Cypress is purpose-built for testing an application you control from inside
the browser's run-loop, and is a weaker fit for cross-origin scraping or
multi-tab flows that Selenium and Playwright handle natively.
**Does Puppeteer support Firefox?** Puppeteer has had experimental Firefox
support at various points; it is not the primary, well-maintained target the
way Chrome is. If Firefox specifically matters, Playwright is the
better-supported cross-browser option.
**Which tool is hardest to detect?** None of the four is built with detection
resistance as a design goal, and the default automation build under any of
them is recognizable. That is a separate axis from which testing tool fits
your testing needs.
**Can I use these for scraping instead of testing?** Yes, and Playwright and
Selenium in particular are commonly used this way - but recognize that you
have moved outside each tool's primary design intent, onto an axis (adversarial
detection) none of them was built to address.
**See also:**
[Selenium vs Playwright: the actual differences](difference-between-selenium-and-playwright.md),
[Migrating from Puppeteer to Playwright for stealth](migrate-puppeteer-to-playwright-stealth.md),
and [Firefox or Chromium for anti-detect automation](firefox-vs-chromium-antidetect.md).
## Sources
- [Playwright's own documentation](https://playwright.dev/), [Selenium's documentation](https://www.selenium.dev/documentation/), [Cypress's documentation](https://docs.cypress.io/), and [Puppeteer's documentation](https://pptr.dev/), all retrieved 2026-09-10, for each project's stated scope and browser support.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
which is not a competitor to any of the four tools above - it sits underneath
one of them. The page is organized around picking the right testing tool
first, because that decision is independent of the engine question it exists
to answer.*
-184
View File
@@ -1,184 +0,0 @@
---
title: "Browser extensions are a fingerprint surface"
description: "An installed browser extension is a fingerprint surface a page can detect three ways. How sites find extensions, and why a stealth extension backfires."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 12
---
# Browser extensions are a fingerprint surface
Yes, a website can detect an installed browser extension, and it can do so three
separate ways: by probing the resources the extension exposes, by watching what it
changes on the page, and by spotting the traces its API overrides leave behind. So an
extension is not just a feature you add. It is another
[fingerprint surface](what-is-a-browser-fingerprint.md), and the most common reason
people add one is to hide a fingerprint, which is where this gets circular.
Adding an extension to an automated browser feels like adding a feature. It is also
adding something a page can look for, and the sections below cover each of the three
detection paths, when an extension is safe to run, and how to load one into a Firefox
profile if you decide to.
## The three ways a page finds an extension
**[Web-accessible resources](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/web_accessible_resources).**
An extension that exposes files to pages does so at a URL containing its own
identifier. Fetch that URL and see whether it loads.
```js
fetch('moz-extension://<id>/<file>') // resolves only if that extension is here
```
The identifier differs per browser and, in Firefox, per profile, which limits the
scan. It does not eliminate it, because extensions that need page access often need
predictable resources.
**What it does to the page.** An ad blocker removes elements, so a page can insert a
bait element with a name matching a common filter list and check whether it survived.
A style-injecting extension changes computed values. Anything that modifies the DOM
leaves the modification behind, and the modification is the detection.
**The behaviour it adds.** An extension that patches `navigator` or the canvas has to
run before the page, and it leaves the same traces as any other page-level override:
own properties where prototypes are expected, getters that are not native,
[a `toString` that prints your source](tostring-native-code-detection.md).
## Why a stealth extension is usually the wrong shape
A stealth extension on top of a stealth engine usually makes you easier to detect, not
harder, because two components deciding the same values contradict each other. This is
worth stating plainly, because it is the most common reason someone asks how to load
one.
A stealth extension operates at the page layer. It runs inside the document, it is
made of JavaScript, and everything on
[the three levels page](playwright-stealth-levels.md) about that layer applies to it. It
also has to run before the page's own scripts, which is a race it does not always win.
And if the browser already sets those values in its engine, the extension is now a
second opinion arguing with the first. Two components deciding what `navigator` says do
not average out; they disagree, and the disagreement is easier to spot than either
answer alone. That is the same argument as
[turning off a crawler's own fingerprint generator](playwright-detected-as-bot.md).
So: extensions for functionality, yes. Extensions for stealth on top of a stealth
engine, no.
## Extensions that are fine, and how to think about the rest
Ask what the extension does to the page:
- **Nothing visible to the page.** A tab manager, something that only touches its own
UI. Effectively invisible.
- **Changes what the page sees.** Blockers, style injectors, script managers. Findable,
and worth knowing that ad blockers are extremely common on real browsers, so their
presence is not by itself unusual. Their *absence* is more unusual than people
assume.
- **Rewrites browser APIs.** The fingerprinting-protection kind. These are the ones
that create the arguing-with-the-engine problem.
The second point deserves emphasis, because it cuts against the instinct. A very large
share of real browsers run an ad blocker. A profile that carries none is not
suspicious on its own, but it is one more small way in which a fresh automated profile
differs from a used personal one, alongside
[having no cookies](recaptcha-v3-score.md).
## How to load one, if you decide to
There is no extension argument in this wrapper. What there is is a
[persistent profile](persistent-profiles.md), and an extension installed into that
profile stays there:
```python
with InvisiblePlaywright(seed=42, profile_dir="/path/to/profile") as browser:
...
```
Launch once with that path, install the `.xpi` the normal way through the browser's own
add-ons page, then reuse the directory. Without `profile_dir`, every session builds a
fresh profile from the seed, which is exactly why an extension installed in one run is
gone in the next.
Pair a stable profile with a [stable seed](reproducible-agent-browser-identity-seed.md).
A profile that accumulates cookies and
storage while the hardware it claims changes every launch is a session whose history
and machine disagree about how long it has existed.
## Checking what yours is exposing
```js
// does a known resource resolve? only a path your manifest lists under
// web_accessible_resources will ever answer; manifest.json itself is not one by default
fetch('moz-extension://<id>/<file>')
.then(r => console.log('present', r.status))
.catch(() => console.log('not found'));
// did something remove my bait element?
const bait = document.createElement('div');
bait.className = 'ad-banner ads adsbox';
bait.style.height = '10px';
document.body.appendChild(bait);
setTimeout(() => console.log('blocked:', bait.offsetHeight === 0), 100);
```
Then run the same checks with no extensions loaded and compare. Anything that differs
is what the extension is telling the page about you.
## Conclusion
An installed extension is not a neutral addition to a profile. It exposes packaged
resources at a URL carrying its own identifier, it changes whatever the page touches
when it modifies the DOM, and it leaves the same override traces as any other script
that runs before the page does. None of that makes an extension unsafe to run. It means
treating one like any other fingerprint surface: know what it changes, check it against
a clean profile, and never stack a stealth extension on an engine that already decides
the same values for you.
## Short answers to the questions that lead here
**Can websites detect browser extensions?** Yes, through web-accessible resources,
through what the extension does to the page, and through the traces any API override
leaves.
**Does using an ad blocker make me more detectable?** It makes you findable, not
unusual. Ad blockers are very common on real browsers.
**Should I use a stealth extension with a stealth browser?** No. Two layers deciding
the same values contradict each other, and the contradiction is a stronger signal than
either.
**How do I add an extension in Playwright with Firefox?** Through a persistent profile:
install it once into that profile, then reuse the directory.
**Why does my extension disappear between runs?** Because a fresh profile is generated
each launch unless you pass a persistent one.
**Are extension IDs the same everywhere?** In Firefox they are typically per-profile,
which limits blind scanning. Do not rely on that as protection; extensions that need
page access tend to expose predictable resources anyway.
## Sources
- MDN Web Docs, [`web_accessible_resources`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/web_accessible_resources),
retrieved 2026-08-28, for how a packaged resource gets a URL containing the
extension's own identifier, which is the first of the three detection paths above,
and for that identifier being generated per browser instance rather than reused
from the extension's own ID, which is what limits the scan in the first place.
- Mozilla Bugzilla, [bug 1372288, a meta bug titled "WebExtensions can be used as
user fingerprint"](https://bugzilla.mozilla.org/show_bug.cgi?id=1372288), retrieved
2026-08-28, Mozilla's own tracking report for the problem this page describes,
still open, which is the primary evidence that an installed extension is a
recognised fingerprint surface rather than a hypothetical one.
**See also:** [Function.prototype.toString and the native code check](tostring-native-code-detection.md),
which is what a page-level extension runs into, and
[three ways to make Playwright undetected](playwright-stealth-levels.md), for why the
layer an extension lives at has a ceiling.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. This page exists because someone asked in our
discussions and got an answer about a different kind of extension entirely.*
-265
View File
@@ -1,265 +0,0 @@
---
title: "Browser trust scores explained: what the number means"
description: "consistency-checker trust, fingerprinting-library confidence and reCAPTCHA v3 score measure different things: what each trust score means and why one green does not imply the rest."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 8
---
# Browser trust scores explained: what the number means
consistency-checker trust, fingerprinting-library confidence and a reCAPTCHA v3 score all look like the
same kind of number, and they are not: one counts contradictions, one measures how
sure a match is, and one estimates behavioural risk. A high number from one says
almost nothing about what the next one will read, and treating them as interchangeable
is the single most common misreading behind "I pass one test and fail the next".
This page separates the three numbers people conflate, says what each one is actually
counting, and shows why passing one implies nothing about the others. Then it shows
how to read all three from one reproducible session so you can stop guessing which
number moved.
## Three numbers, three different questions
The three numbers answer three unrelated questions: consistency-checker trust asks whether your
values contradict each other, a FingerprintJS visitor ID asks whether you are the same
visitor as last time, and a reCAPTCHA v3 score asks how risky your behaviour and history
look. Line them up and the confusion evaporates:
- **consistency-checker trust** is a consistency and lie count. It is high when nothing you report
contradicts anything else you report and nothing looks tampered with. It is not a
rarity score, and being unusual does not lower it.
- **A FingerprintJS visitor ID** is a hash, and the thing next to it labelled
**confidence** is a separate number that says how sure the library is that this ID
belongs to the same visitor as before. It is about linkability, not about looking
automated.
- **A reCAPTCHA v3 score** is a risk estimate between 0.0 and 1.0, built mostly from
behaviour and reputation, not from what the DOM reports at all.
| Number | The question it answers | What it reads | What moves it |
|---|---|---|---|
| consistency-checker trust | Do my reported values contradict each other? | Descriptors, prototypes, stack traces, canvas and font surfaces | A patched or blocked probe, or two fields that disagree |
| FingerprintJS visitor ID (+ confidence) | Am I the same visitor as before? | A hash of the browser's components, in a fixed order | Any one component changing changes the whole ID |
| reCAPTCHA v3 score | How risky do my behaviour and history look? | Interaction, cookies, storage and exit reputation, not the DOM | A warmed-up profile and realistic behaviour, not a cleaner fingerprint |
Different inputs, different outputs, different failure modes. The rest of this page is
one section per number, then why they do not move together.
## consistency-checker trust: a lie count, not a rarity score
[a consistency checker records a blocked probe as a lie](consistency-checker-explained.md) and walks
descriptors, prototypes and stack traces looking for values that were patched after
the fact. Its trust figure goes up when the surfaces agree with each other and down
when one of them looks edited or refuses to answer.
The part people get wrong: rarity does not enter into it. An identity that no other
machine on earth shares can score perfectly, as long as every field is internally
coherent. Conversely, the most common machine in the world scores badly the moment two
of its fields disagree, because a lie is a contradiction and a contradiction is what
this tool counts.
So the way to raise this number is not to look average. It is to be consistent: one
platform reported everywhere, a canvas that hashes the same twice in a row, a font
list that belongs to the operating system you claim. That is a property of how the
identity is generated, not a value you can paste in.
## The FingerprintJS visitor ID and its separate confidence
[A FingerprintJS visitor ID is a hash of its components](fingerprintjs-visitor-id.md),
around forty-one of them, serialised in a fixed order. There is no partial match:
change one component and the whole ID changes as if everything had. That is why the
same identity gives you the same ID and a different identity gives you a completely
different one, with nothing in between.
The `confidence` sitting beside the ID is a different number entirely. It does not tell
you whether you look automated. It tells you how reliable the library thinks this
particular match is, based on how stable the components it collected tend to be. You
can have a low-confidence ID on a perfectly clean browser and a high-confidence ID on a
browser that is obviously a bot. The two numbers are answering "who is this" and "how
sure am I", and neither is answering "is this a robot".
If your goal is to be recognised again, you want this ID stable. If your goal is to not
be recognised, you want it to change. Either way, it is orthogonal to the trust number
above.
## The reCAPTCHA v3 score: behaviour and history, not the DOM
reCAPTCHA v3 hands the site a number between 0.0 and 1.0, and
[a fresh browser tends to score low on reCAPTCHA v3](recaptcha-v3-score.md) even when
every fingerprint check it faces comes back clean. The reason is that this score is
largely about history and behaviour, and a brand new profile has neither.
An empty profile is a browser that has never been anywhere: no cookies, no consent
decisions, no storage, no prior interaction. There are far more automated sessions that
look like that than human ones, and the score reflects that base rate rather than any
DOM property you did or did not spoof. Perfecting your canvas hash does not move a
number that was never reading your canvas.
This is the honest caveat the other two numbers do not carry: a stable, consistent,
non-lying fingerprint does nothing for this one. It does not manufacture the past you
do not have. That part is warmed-up profiles, realistic behaviour and a reputable exit,
none of which a fingerprint layer can supply.
## Why passing one says nothing about the others
The three numbers are independent, so a high score on one predicts nothing about the
other two. Put them side by side and the independence is obvious:
- You can score high on consistency-checker trust and low on reCAPTCHA v3, because a perfectly
consistent browser with no history is exactly what a consistent bot also looks like.
- You can have a stable, high-confidence fingerprinting-library ID and still fail a consistency checker,
because a stable ID only means your components did not move, not that they are
telling the truth.
- You can pass reCAPTCHA v3 on a warmed profile and fail a consistency checker, because behavioural
reputation says nothing about whether a descriptor was patched.
They cross-cut. Each of the [five detector deep-dives in this set](how-to-test-bot-detection.md)
measures a different axis, and a green on one axis is not a green on the others. The
practical rule is to name which number you are looking at before you react to it,
because the fix for a low consistency-checker trust (consistency) is not the fix for a low
reCAPTCHA v3 score (history), and applying one to the other wastes days.
## A blocked probe lowers the score, it does not hide from it
One instinct makes two of the three numbers worse at once: suppressing a signal.
Blocking canvas, returning an empty font list, refusing WebRTC, randomising a value per
call so nothing can pin it. reCAPTCHA v3 does not read any of those surfaces, so there
is nothing here for it to punish.
Every one of those is counted against you, not for you:
- A consistency checker records a blocked probe as a lie by name, so blocking lowers trust directly.
- A value that changes on every read is a tampering tell, and a per-call-changing
canvas or audio hash reads as randomisation rather than a real device.
- A missing signal is still a signal. An empty result where a real browser has data is
itself the anomaly.
The consistency that raises a trust number is the opposite of hiding. This is why a
seed-derived identity, where every surface is drawn from one seed and stays put, scores
better than any suppression strategy: it answers every probe with a coherent value
instead of a refusal.
## Measure two of the three from one seeded session
The way to stop guessing which number moved is to make the identity reproducible, so a
change in a score is a change you made rather than a change in the draw. The wrapper is
stock Playwright with a seeded fingerprint, so the `browser` you get back is a real
Playwright [`Browser`](https://playwright.dev/python/docs/api/class-browser) and every method is the one you already know:
```python
from invisible_playwright import InvisiblePlaywright
def read_canvas(page):
return page.evaluate("""() => {
const c = document.createElement('canvas');
const ctx = c.getContext('2d');
ctx.textBaseline = 'top';
ctx.font = '14px Arial';
ctx.fillText('trust-score-probe', 2, 2);
return c.toDataURL();
}""")
sf = InvisiblePlaywright(seed=42)
with sf as browser:
page = browser.new_page()
page.goto("https://example.com")
first = read_canvas(page)
second = read_canvas(page)
assert first == second # stable within a session, so not a per-call tell
```
Reading the same value twice in one session is the cheapest consistency check there
is: if `first` and `second` disagree, something is randomising per call, which is the
exact tampering pattern that costs you consistency-checker trust. Here they match, which is the
behaviour you want.
Now confirm it is stable across sessions too, which is what keeps a FingerprintJS ID
where you put it, and what a consistency check rewards:
```python
def canvas_for_seed(seed):
with InvisiblePlaywright(seed=seed) as browser:
page = browser.new_page()
page.goto("https://example.com")
return read_canvas(page)
a = canvas_for_seed(42)
b = canvas_for_seed(42) # same seed, relaunched
c = canvas_for_seed(7) # a different identity
assert a == b # same seed reproduces the same machine
assert a != c # a different seed is a different, still-consistent machine
```
Measured this way, the same seed reproduces byte-identical canvas output run after run,
and a different seed produces a different value that is itself internally consistent.
That reproducibility is what lets you attribute a score change to the one thing you
changed. If you have not passed a seed, log `sf.seed` from the instance first so a run
that scored interestingly can be replayed exactly.
The honest boundary, again: this makes the consistency-checker-style consistency axis and the
FingerprintJS linkability axis controllable and repeatable. It does not warm up a
profile, and the reCAPTCHA v3 number will still start low on a session with no past no
matter how clean the fingerprint is.
## Conclusion
Three numbers, three axes. consistency-checker trust counts contradictions and lies, a
FingerprintJS ID and its confidence measure whether you are the same visitor as before,
and a reCAPTCHA v3 score estimates risk from behaviour and history. Passing one is not
passing another, suppressing a signal lowers the two that read the DOM rather than
hiding from either, and the only way to tell which number your last change actually
moved is to hold the identity still with a seed and compare. Name the axis before you
react to the number, and the contradictory results stop being contradictory.
## Short answers to the questions that lead here
**Is a consistency-checker trust score the same as a reCAPTCHA score?** No. consistency-checker trust counts
internal contradictions and tampering; a reCAPTCHA v3 score is a 0.0 to 1.0 risk
estimate built mostly from behaviour and history. A high one does not predict the
other.
**What does the FingerprintJS confidence number mean?** How sure the library is that
this visitor ID matches the same visitor as before. It is about the reliability of the
match, not about whether the browser looks automated.
**I pass a consistency checker but still get a low reCAPTCHA score, why?** Because reCAPTCHA v3 is
mostly reading history and behaviour, and a fresh profile has neither. A clean
fingerprint does not supply a past, and past is what this score is missing.
**Does a rare fingerprint lower my trust score?** No. consistency-checker trust is about
consistency, not rarity. An unusual but coherent identity can score perfectly; a common
but contradictory one scores badly.
**Does blocking canvas or fonts raise my score?** It lowers it. A blocked probe is
recorded as a lie, and a value that changes per read is a tampering tell. Answering
every probe with a coherent value scores better than refusing.
**Which score should I optimise for?** The one your target actually uses. Optimise
consistency for a consistency-checker-style check, a warmed profile and realistic behaviour for a
reCAPTCHA-style score, and decide whether you want the FingerprintJS ID to stay put or
change.
## Sources
- The three detectors named above, each with its own page in this set, read from their
own source rather than from a rendered verdict: a consistency checker
on tampering, [FingerprintJS](https://github.com/fingerprintjs/fingerprintjs) on
the hashed visitor ID and its confidence, and [reCAPTCHA v3](https://developers.google.com/recaptcha/docs/v3)
on the behavioural score, retrieved 2026-08-28.
- This project's own reproducibility measurements: identical seed reproduces
byte-identical canvas output within and across sessions, which is the property a
consistency check rewards.
**See also:** [how a consistency checker decides you are lying](consistency-checker-explained.md) for the
consistency axis, [why a fresh browser scores low on reCAPTCHA v3](recaptcha-v3-score.md)
for the history axis, and [how to test whether your browser is detected](how-to-test-bot-detection.md)
for the compare-against-a-stock-browser method that keeps these numbers honest.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The three numbers on this
page get conflated because they all look like a percentage; none of them are the same
percentage.*
-27
View File
@@ -1,27 +0,0 @@
---
title: "browser-use gets detected: what you can and cannot change"
description: "browser-use drives Chrome over CDP. What BrowserProfile lets you change and what stays out of reach. This page moved to the invisible_playwright_mcp wiki."
parent: "AI Agents and Frameworks"
grand_parent: "Guides"
nav_order: 2
---
# browser-use gets detected: what you can and cannot change
This page moved to the invisible_playwright_mcp wiki, where the agent-experience content now
lives:
**[browser-use getting blocked: what you can and cannot change](https://github.com/oss-invisible/playwright_mcp/wiki/browser-use-getting-blocked)**
The unchanged short answer: browser-use exposes a real set of levers
(`executable_path`, `user_data_dir`, `proxy`, `headless`, `args`), all of
them Chromium-family, and none of them reaches the machine underneath - the
GPU, fonts, audio and screen a server answers with. A stealth-patched Firefox
is not a drop-in for its CDP driver; the route that accepts a different
engine is MCP.
The mechanism layer stays on this wiki:
[Playwright in Docker and the datacenter machine](playwright-docker-detection.md),
[WebGL renderer strings](webgl-renderer-strings.md), and
[why headless fonts differ](headless-fonts-differ.md).
-243
View File
@@ -1,243 +0,0 @@
---
title: "How to make Linux and macOS report real Windows fonts"
description: "To make Linux and macOS report real Windows fonts, bundle the real font files and read only from them. Filtering a list leaves the host's rendering underneath."
parent: "Canvas, WebGL, Fonts and Audio"
grand_parent: "Guides"
nav_order: 6
---
# How to make Linux and macOS report real Windows fonts
To make Linux and macOS report real Windows fonts, ship the real Windows font files
inside the browser and read only from that bundle on every platform. Filtering a host's
font list is not enough: it changes what gets reported, not what gets rendered - the
list says Windows, the pixels say something else. This page is what it took to make that
bundle hold on three unrelated font backends, and where it still leaks.
[Why headless browsers render different fonts](headless-fonts-differ.md) covers the
detection side of the same problem, if you want that first.
## Why filtering the host was never going to be enough
The first instinct is to filter: hide the host's real fonts, report a Windows-shaped
list instead. We tried a version of this and reverted it, because filtering only
changes what gets reported, not what gets rendered. The host still draws the glyphs,
still measures the widths, still rounds however its rasteriser rounds. A filtered font
*name* sitting on top of Linux font *rendering* is a different, subtler version of the
same contradiction: the list says Windows, the pixels say something else.
The fix that actually holds is upstream of the whole problem: ship the real font
files inside the browser, and read only from that bundle, on every platform. This is
the same direction other patched Firefox builds took first, and for the same reason - a real file produces
real glyphs, real metrics, and a real hash, because nothing about it is simulated.
## One manifest, so three backends can't disagree with each other
Firefox already has a mechanism for carrying fonts inside the binary,
`MOZ_BUNDLED_FONTS`, on by default on Windows and Linux and available on macOS with a
build flag. The harder problem isn't shipping the files, it's making Windows'
DirectWrite, Linux's fontconfig and macOS's CoreText - three font backends that know
nothing about each other and enumerate host fonts in three different ways - report the
*same* family list from the *same* files.
The fix is a single manifest, generated offline from the font files themselves and
checked in as data, listing every family and which file and face index backs it. All
three backends read the same manifest instead of asking their platform's normal font
enumeration, so instead of three per-OS filters that can quietly drift apart, there is
one source of truth for what a family is called and where its data lives.
Two details in that manifest turned out to matter more than the format itself:
**Naming has to follow the same precedence a real OS uses**, or the family names
themselves become the tell. Font files carry more than one candidate name - a
typographic name, a GDI-compatible name, sometimes a WWS name - and which one Windows
actually shows depends on a precedence order. Getting that order wrong produces a
family list that is real but *shaped* wrong: a font's marketing name where a real
Windows machine would show its GDI name, which is exactly the kind of small
inconsistency [consistency-based detection](playwright-detected-as-bot.md) is built to
catch.
**Multi-face font files can't be indexed positionally across platforms.** A single
`.ttc` file can carry several unrelated faces - regional CJK variants, for instance -
and the safe way to pick the right one turned out to differ by backend: an index that
is reliable on one platform is not guaranteed to point at the same face on another,
because not every platform documents face order as stable. Matching by the face's own
embedded name instead of its position avoids picking the wrong face silently.
## Making three backends refuse to fall back to the host
A manifest is only half the fix. Each backend still has its own default behaviour when
something isn't in its bundle-only list, and each of those defaults quietly reaches for
the host if you don't close it explicitly:
- One backend's safety fallback, when the bundle is unreadable, is to fail toward an
empty list instead of the host - which breaks rendering visibly instead of leaking
silently, the correct failure direction for a fingerprinting surface.
- Another's default path, taken naively, falls straight through to a live host
enumeration call the moment the bundle-only condition isn't satisfied.
- The third had no bundle-only mode at all going in; it enumerates host and bundled
fonts through the same single API call, so keeping the host out requires filtering
every result instead of skipping a call.
Closing all three took a different patch per backend, because "don't enumerate the
host" means something different to DirectWrite, to fontconfig, and to CoreText. There
is no single flag that does this once for all platforms.
## The macOS gap: two layers, and only one was visible without a Mac
CoreText's version of this fix shipped later than Windows' and Linux's, and not
because it was harder to write. It was harder to *know was wrong*, because nobody
doing the work had a Mac to run it on.
**Layer one, found by reading the code instead of running it:** the block-at-birth
hook that stops each backend from falling back to a live host enumeration had been
wired into the Windows and Linux font backends, and simply never ported to CoreText.
Reading the three backends side by side made that omission visible without running
anything - a Mac host would enumerate its own system fonts right alongside the bundle,
leaking the host OS on the one platform where nobody could see it happen locally.
**Layer two surfaced only when the first fix actually ran in CI.** Porting the hook
and shipping it should have closed the gap. It didn't: the very next automated
macOS run still showed most of the bundle missing and several real host fonts
leaking through, on a build that had compiled cleanly and looked, from the source,
like a complete fix. The actual cause was one level down - the build configuration
that turns bundled fonts on at all was set to enable itself only on two of the three
target platforms. The third silently defaulted off, which also compiled out the very
hook layer one had just added, since that code only exists when bundled fonts are
built in. A hook that is correct and a build that never includes it produce the same
observed nothing.
Both layers are closed now, and CoreText enumerates the identical family set the
other two backends do. The reason this is worth telling as one story, not two
separate fixes: the first fix looked complete by every check available without a
real Mac, and was not. The only thing that caught the second layer was an automated
run on the actual operating system, checking the actual output, after the fix that
was supposed to be the whole answer. A gate that runs somewhere other than the real
target platform is checking a different, easier question.
## What this validates, and what it costs
Validated cross-platform: Windows and Linux expose the identical family set from the
bundle, zero host fonts leaking through on either,
[generic CSS families](https://www.w3.org/TR/css-fonts-4/) (serif, sans,
monospace, and the per-script CJK generics) resolving to the same bundled fonts rather
than collapsing to whatever the host happens to have. The same check on macOS runs in
CI, not locally, for the ordinary reason that not every setup has a Mac to test
on, and it has passed there too.
The cost is real and worth naming instead of glossing over. The binary is
meaningfully larger, because it now carries real font files instead of relying on
whatever the OS already had installed. And a fixed bundle also fixes the family list
in time: unlike a live host, the browser cannot pick up a font a real Windows Update
might add later. Both are the price of an answer that has no per-platform seams to find.
## Where it still leaks, named, not hidden
Consistent with treating a suppressed signal as a fail instead of a pass, the honest
gaps in this approach, found and not yet closed:
- One backend's [CSS `local()`](https://www.w3.org/TR/css-fonts-4/) font lookup path
isn't wired to the bundle-only mode at all, so a page asking for a font by exact name
through that specific CSS feature fails to resolve where a real installation would have. A resolved lookup versus a
failed one is itself a detail a determined check could compare.
- One backend's fallback for a character outside the bundle's family set reaches
straight for the real host catalogue rather than staying inside the bundle, so an
uncommon glyph can momentarily surface real host font data.
- One backend's `system-ui` generic keeps a narrow live query against the host font
service as an extra fallback candidate, a single generic family that didn't get
folded into the same guard as the rest.
- One platform's font-substitution mechanism reads a live OS-level alias table
regardless of bundle-only mode, so the set of names that resolve through it still
varies by the specific machine's own configuration.
None of these are enumeration leaks in the sense the validation above checks for -
that check passed, repeatedly, on real measurement. They are narrower seams: specific
code paths that keep a live dependency on the host font service instead of routing
through the bundle like everything else. Each is a known, open item rather than
something papered over, because a gap you haven't found yet is worse than one you have.
## A closed example of the same class: enumeration passing while rendering was wrong
Before the manifest fixed multi-face naming across platforms, a narrower version of the
same problem shipped and was found and closed on Linux specifically. It is worth
walking through because it is the clearest illustration of why enumeration alone is
never enough of a check.
A `.ttc` file is a collection: several complete faces sharing one set of font tables,
addressed through a `TTCHeader` that starts with the four-byte marker `ttcf` instead of
the single-face `sfnt` header an ordinary font file has. Several bundled CJK families -
regional Chinese, Japanese and a couple of serif/math variants - ship as `.ttc`
collections for exactly that reason: related faces, one file.
The font-table code on Linux never checked for that marker. It read every font file as
if it only had one face, at a fixed offset from the start of the file. For an ordinary
font that offset is correct. For a `.ttc` collection it lands wherever the first face's
data happens to be, regardless of which face was actually requested by name.
The result was a font that enumerated correctly - the family name resolved, the browser
reported it was using the right font - while the glyphs actually rendered came from
whichever face happened to sit at that fixed offset. Measured directly: metrics for
several of these families were wrong on Linux and correct on Windows, same seed, same
manifest, same claimed font name. Enumeration was clean. Rendering was not. That gap is
exactly what a check that stops at "is the font in the list" cannot see.
The fix adds a lookup that reads the `TTCHeader` when the `ttcf` marker is present,
finds the requested face's own offset from the collection's face-directory table, and
reads from there instead of assuming offset zero. After the fix, the same measurement
that had shown a mismatch showed matching metrics on both platforms, for every affected
family.
The general lesson is the same one the four seams above are named for: a signal that
looks closed because the obvious check passed is not the same as a signal that is
closed. This one needed a metrics comparison, not a font list, to be caught at all -
and it was a real, shipped gap for a period, not a hypothetical one.
## Conclusion
Filtering a host's fonts leaves the host's rendering underneath, which is a
contradiction with extra steps. Shipping the real files and reading only from them
removes the contradiction at the source, at the cost of a larger binary, a fixed
family list, and three separate backends that each needed convincing not to reach for
the host on their own. What's left is a short, named list of narrower seams, not a
general claim that the surface is closed.
## Short answers to the questions that lead here
**Can I make a Linux machine report Windows fonts?** Reporting the name is not the
hard part; matching the rendering is. Bundling the actual font files and reading only
from them is what makes the two agree.
**Does installing Windows fonts on Linux fix fingerprinting?** It gets you the right
names. It does not by itself stop the browser's normal font backend from also seeing
whatever else is on the host, and licensing is a separate problem again.
**Why not just spoof the font list in JavaScript?** There's no enumeration API to
intercept; [detection works by measuring rendered text](detect-installed-fonts-javascript.md),
and a script cannot change what the OS actually draws.
**Does this fix cost anything?** A larger binary, and a font list that's frozen at
build time rather than tracking whatever the real OS might add later.
**Is this the same thing other patched Firefox builds do?** The same direction - real files, not a
filter - checked independently rather than assumed to work the same way underneath.
**See also:** [why headless browsers render different fonts](headless-fonts-differ.md),
for the detection side this architecture answers; and
[WebGL renderer strings](webgl-renderer-strings.md), for the same shape of problem on
different hardware.
## Sources
- This project's own font-bundle architecture and its per-platform integration work,
including the validated cross-platform measurement (Windows/Linux locally,
macOS in CI) and the four open gaps listed above.
- Firefox's own bundled-fonts build mechanism, which this architecture builds on
rather than replaces.
- [CSS Fonts Module Level 4](https://www.w3.org/TR/css-fonts-4/) (W3C), for the generic
font family keywords and the `local()` src descriptor referenced above.
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level, including three separate font backends convinced not
to ask their host anything.*
@@ -1,238 +0,0 @@
---
title: "Can a website detect a virtual machine?"
description: "How a website infers a VM: software GPU renderers, odd core and memory counts, missing audio, generic metrics - what a browser fingerprint can and cannot hide."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 15
---
# Can a website detect a virtual machine?
Short version: a website cannot see your hypervisor directly, but it can read a
handful of browser-visible values that a virtual machine or a cloud instance tends to
get wrong, and it can add them up into a VM-likelihood score. So the honest answer is
"partly". It can guess from what the browser reports, and it usually cannot prove
anything from inside the page. What it can prove lives outside the browser: the exit
IP and the network handshake.
This page is what a detector actually looks at, why a default VM answers those
questions in a way that stands out, how a real-hardware persona changes the answers,
and the parts that a browser fingerprint does not and cannot touch.
## What a detector can see, and what it cannot
A page runs JavaScript. JavaScript can read the values the browser chooses to expose,
and nothing below that line. It cannot read the CPUID leaf that says "hypervisor
present", it cannot query the BIOS vendor string, it cannot see the virtual disk
controller. Those are the classic VM tells that a tool like
[Pafish](https://github.com/a0rtega/pafish) checks for, and they belong to native
malware analysis, not to a web page.
What a page can do is infer. Every value below is individually plausible and, taken
together, describes a machine. A physical desktop and a headless cloud instance answer
these questions differently, and a detector that has scored a large number of real
browsers knows what the physical desktop looks like.
- The GPU vendor and renderer string.
- The number of logical CPU cores.
- The reported device memory.
- Whether an audio output device exists, and what it sounds like.
- The screen geometry and pixel ratio.
None of these is an automation flag. They are all "this is probably not someone's
desktop" flags, which is a different and often more damaging thing.
## The signals that feed a VM score
Here is what each one looks like when it comes from a virtualized or headless
environment, and why it stands out.
**A software or generic GPU renderer.** A machine with no graphics hardware falls back
to a software rasterizer, and the [WebGL renderer
string](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info)
says so in plain text: a basic or generic renderer name, or the well-known software
rasterizer strings. A real desktop reports a specific GPU model from a specific vendor.
This is the single loudest VM tell
in the browser, because it is a string you can read directly instead of a statistic
you have to accumulate.
Worse, the string and the pixels can disagree: a renderer that
names real hardware while a software path actually draws the frame is
[a mismatch you cannot paper over with a property override](renderer-string-vs-render.md).
The full surface is in [WebGL renderer strings](webgl-renderer-strings.md).
**Odd core and memory counts.**
[`navigator.hardwareConcurrency`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency)
and
[`navigator.deviceMemory`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory)
are coarse, but their distribution across real browsers is not uniform. A tiny core
count paired with a claim of a modern desktop, or a memory
value that never appears on consumer hardware, moves the score. These two also have to
agree with each other and with the rest of the persona, which is
[why pinning one without its neighbours backfires](hardware-concurrency-device-memory.md).
**Missing or default audio.** An
[`AudioContext`](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API)
exposes a sample rate, an output latency and a channel count that come from a real
audio device. A container with no sound hardware answers with defaults that say
exactly that, and the rendered audio
fingerprint carries the same information. See
[AudioContext fingerprinting](audiocontext-fingerprinting.md) for what is actually
being measured.
**Generic display metrics.** A resolution nobody ships, a device pixel ratio no real
panel has, an available screen height equal to the full height (meaning no taskbar and
no window chrome). Each of these is a small nudge; together they describe a virtual
framebuffer rather than a monitor.
A detector does not need any single one of these to be damning. It needs several of
them to point the same way at once, which is exactly what an unconfigured VM delivers.
## What invisible_playwright does about the browser-visible layer
invisible_playwright is a Firefox patched at the C++ level and driven by stock
Playwright. Its whole design is to look like a real browser run by a real person, and
that is why it passes most fingerprint, TLS and driver-layer checks: those layers read
as a genuine Firefox because the browser genuinely is one, not a JavaScript costume
over a headless engine.
For the VM signals specifically, the build derives one coherent real-hardware persona
from a seed and overrides the browser-visible values to match it: the WebGL vendor and
renderer name a real GPU (and the pixels are drawn to agree with the string, not just
the string), `hardwareConcurrency` takes a value a real desktop reports, the
`AudioContext` presents a real device's output characteristics, and the screen metrics
describe a physical display. `navigator.deviceMemory` stays undefined, because that is
what a real Firefox reports too: the API is Chromium-only, and inventing a number for it
would be the tell, not the fix. Every field that is set is drawn from the same seed, so
they agree with one another rather than being individually plausible and jointly
contradictory, which is the failure mode a VM score is built to catch.
Switching from plain Playwright is two lines, and the operation this page is about -
loading a page that scores your environment - is ordinary Playwright after that:
```python
from invisible_playwright import InvisiblePlaywright
# same seed -> same GPU, cores, audio and screen every run
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# read the values a VM detector would read
report = page.evaluate("""() => {
const gl = document.createElement('canvas').getContext('webgl');
const dbg = gl && gl.getExtension('WEBGL_debug_renderer_info');
return {
renderer: dbg ? gl.getParameter(dbg.UNMASKED_RENDERER_WEBGL) : null,
cores: navigator.hardwareConcurrency,
memory: navigator.deviceMemory, // undefined on Firefox; the API is Chromium-only
sampleRate: new (window.AudioContext || window.webkitAudioContext)().sampleRate,
screen: [screen.width, screen.height, window.devicePixelRatio],
};
}""")
print(report)
```
Run that inside the build and the renderer names a real GPU, the core count sits in the
range real desktops report, `memory` comes back `None` exactly as it does on any real
Firefox, the sample rate is a real device's, and the screen looks like a monitor. Run it
in a stock headless browser on the same cloud
instance and you will typically see a software renderer, a low core count and screen
metrics that describe a framebuffer. That difference is the VM score, and it is the
part a browser can control.
Because the persona is seed-derived, `seed=42` gives the same machine on every run,
which is what makes a suspicious result reproducible instead of a one-off you cannot
chase.
## The parts a browser fingerprint cannot fix
This is the honest caveat, and skipping it is how people get surprised.
Matching the browser-visible layer to a real desktop covers the browser-visible layer.
It does nothing about:
- **The exit IP.** A datacenter address is a datacenter address, and a large share of
VM detection in practice is just the IP's reputation and ASN. A perfect persona on a
known cloud range still reads as a cloud instance. You supply the exit; the build
only sets the browser to match it. See
[why a container gets caught on the network and machine layers](playwright-docker-detection.md).
- **Hypervisor timing side-channels.** Some detectors time operations whose cost
differs under virtualization. That is a property of the CPU you are actually running
on, not of any value the browser reports, and no fingerprint override changes it.
- **Behaviour, rate and quota.** Human pacing, per-account limits and request velocity
are yours to supply. A consistent browser hammering one endpoint from one address
creates the exact signal it was trying to avoid.
So invisible_playwright helps with the browser-visible half of VM detection and does
not, on its own, fix the IP, the timing floor or your behaviour. It is designed to be
paired with a clean residential exit and human pacing, not to replace them. There is no
setting that makes a browser undetectable, and any tool that claims one is selling the
claim rather than the result.
## Conclusion
Can a website detect a virtual machine? It can make a strong guess from the browser
side - a software GPU renderer, odd core and memory counts, missing audio, generic
display metrics - and it can prove very little from inside the page while proving quite
a lot from your IP and handshake. invisible_playwright addresses the guessable,
browser-visible half by presenting one coherent real-hardware persona instead of the
default VM answers, and it is honest about the half it does not touch. Match the
browser to a real desktop, put it behind a clean exit, pace it like a person, and the
VM score stops being the thing that gives you away. Get any one of those three wrong and
the other two will not save you.
## Short answers to the questions that lead here
**Can JavaScript detect that I am in a VM?** Not directly. It cannot read CPUID, BIOS
strings or the hypervisor. It infers from browser-visible values like the GPU renderer,
core count, audio device and screen, and scores how VM-like they look together.
**What is the biggest browser-side VM tell?** A software or generic WebGL renderer
string. It is a value you can read in plain text rather than a statistic you have to
accumulate, so it stands out immediately.
**Does invisible_playwright hide that I am on a cloud server?** It fixes the
browser-visible signals it can change - GPU, cores, audio, screen - to one coherent real
desktop persona, and leaves `deviceMemory` undefined, which already matches real
Firefox. It does not change your IP, which is often the actual reason a cloud session
gets flagged.
**Can a website detect a VM through timing?** Some detectors time operations that cost
more under virtualization. That is a property of the CPU you run on, not a browser
value, so no fingerprint override affects it.
**Will a real-hardware persona alone get me through?** No. Pair it with a clean
residential exit and human pacing. The persona covers the machine the browser reports,
not the address it connects from or how fast you click.
**Is there a setting that makes the browser undetectable?** No, and be wary of anything
that says otherwise. This lowers the browser-visible VM score to a real desktop's; the
IP, timing floor and behaviour are still yours to get right.
## Sources
- The browser API references for each browser-visible value a VM score reads: the
[WebGL renderer string](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info),
[`hardwareConcurrency`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency),
[`deviceMemory`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory),
[`AudioContext`](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) output, and
[`devicePixelRatio`](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)
for screen metrics, retrieved 2026-08-29.
- [Pafish](https://github.com/a0rtega/pafish), the open-source reference for the
native-side CPUID, BIOS and disk-controller checks a web page cannot reach,
retrieved 2026-08-29.
- This project's release gates, which compare each of those fields against a stock
Firefox on the same machine rather than reading a verdict.
**See also:** [WebGL renderer strings](webgl-renderer-strings.md) and
[hardwareConcurrency and deviceMemory](hardware-concurrency-device-memory.md) for two
of the signals above, and [how to test whether your browser is detected](how-to-test-bot-detection.md)
for the compare-against-stock method that catches a VM tell a verdict hides.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. It presents one coherent
real-hardware persona to the browser-visible layer; the IP, the timing floor and the
pacing are still yours to supply.*
@@ -1,256 +0,0 @@
---
title: "Can a website detect Clipboard API access?"
description: "A page can see navigator.clipboard and query clipboard-read permission state, but the async Clipboard API is a gesture gate, not a value fingerprint you leak."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 21
---
# Can a website detect Clipboard API access?
Short version: a page can see that `navigator.clipboard` exists, and it can ask the
Permissions API about `clipboard-read`, which answers with a state on Chromium and throws
on Firefox, so either way it can observe your relationship with the clipboard. What it
mostly cannot do is turn that into a stable fingerprint of your machine. The Clipboard API
is interesting to a detector for a different reason than canvas or WebGL are: it is not a
value you leak, it is a gate that only opens for a real user gesture, and the way the
Permissions API answers for it has to match the engine you claim to be.
This page is what the async Clipboard API actually exposes, why it behaves as a gate
rather than a fingerprint, the cross-check a detector runs against it, how to drive it
with a real trusted click, and the honest limit of what a patched browser does here.
## What the async Clipboard API actually exposes
The modern surface is the [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)'s
`navigator.clipboard`, with two methods that matter for detection:
`writeText()` and `readText()` (plus their richer `write()`/`read()` cousins). Both return
promises, and both are guarded before they ever touch the system clipboard.
A page can read three things without any special access:
- **Whether `navigator.clipboard` is present at all.** A secure context (HTTPS) in a
modern browser has it; its absence under a modern user agent is itself a mismatch.
- **What the [Permissions API](https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API)
says about `clipboard-read`**, by asking it directly:
`navigator.permissions.query({name: 'clipboard-read'})`. Chromium answers with
`granted`, `denied` or `prompt`, no dialog involved. Firefox throws instead, because it
has never implemented that permission name.
- **What happens when it calls a method.** A rejected promise, and the shape of the
rejection, tells the page which guard tripped.
None of those three is a serial number. They describe policy, not hardware, and that is
the whole point of this surface.
## Why clipboard is a gate, not a value fingerprint
Canvas gives back a hash. WebGL gives back a renderer string. The clipboard gives back
almost nothing that varies from one honest machine to the next, because access is gated
on two conditions the specification requires:
1. **A user gesture.** `readText()` and `writeText()` are only allowed while the document
has [transient activation](https://developer.mozilla.org/en-US/docs/Web/Security/Defenses/User_activation),
meaning a real interaction (a click, a key press) happened
recently. Call either one from a script with no gesture behind it and the promise
rejects.
2. **A second gate that differs by engine.** Chromium backs both operations with a real
`clipboard-read`/`clipboard-write` permission a page can query through the Permissions
API. Firefox implements no such permission at all: the identical query throws, and a
read that does not already satisfy the gesture rule falls back to an ephemeral,
one-shot "Paste" item in a native context menu instead of a stored grant. Either shape
is policy the page can observe, and neither hands back a value that varies from
machine to machine.
For an automation setup this is exactly the kind of check that separates a real browser
from a spoofed one, and it separates them on *behaviour*, not on a leaked value. A script
that dispatches its own synthetic `click` event to satisfy the gesture requirement fails,
because a page-built event carries [`isTrusted=false`](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted)
and does not count as activation.
This is the same boolean that decides
[whether an automated click reads as real input](playwright-clicks-istrusted.md): the
clipboard gate sits directly on top of it.
So the detector question is not "what is your clipboard value". It is "does the clipboard
open for you the way it opens for a person", and the answer depends on whether your
clicks are trusted.
## The cross-check: the Permissions API answer must match the engine
The sharper check does not call the clipboard at all. It reads what the Permissions API
says about `clipboard-read` and checks whether that answer matches the engine the rest of
the page claims to be.
A modern Firefox user agent implies a specific, boring answer:
`navigator.permissions.query({name: 'clipboard-read'})` throws, because Firefox has never
implemented that permission name. Chromium, by contrast, answers with a real
`granted`/`denied`/`prompt` state. A detector that sees a Firefox user agent and a
Chromium-shaped answer to that one query has found a browser lying about what it is:
either the engine underneath is not really Firefox, or something patched the Permissions
API on top of one without reproducing the one answer a real Firefox has always given.
It is the same family as
[the notifications permission mismatch](permissions-api-consistency.md), where
`Notification.permission` and `navigator.permissions.query({name: 'notifications'})` are
expected to give one coherent answer and a headless browser gives two, and it sits
alongside [the notification-state cross-check detectors already run](notification-permission-detection.md).
Clipboard is a blunter version of the same idea: the expected answer for a real Firefox is
not a state to match, it is a specific failure to reproduce. Nobody has to recognise
automation directly; they just ask the same question the browser already answers for free
and see if the answer fits.
A patched-at-the-engine build does well here for an unglamorous reason: it is a real
Firefox, so the Permissions API answers exactly the way any Firefox does, including by
throwing on a permission name Firefox never implemented. There is nothing to keep in sync
because nothing was bolted on.
## Reading the clipboard with invisible_playwright
Because Playwright's clicks go through the native input path, they arrive as trusted
gestures, so the clipboard gate opens exactly as it would for a hand on the mouse. The
launch is the usual two lines, and after that everything is stock Playwright:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# A page button whose handler calls navigator.clipboard.writeText(...).
# The Playwright click is a trusted gesture, so the write is permitted.
page.click("#copy-button")
# Inspect the surface the way a detector would: presence plus how the
# Permissions API answers for clipboard-read on this engine.
report = page.evaluate("""async () => {
const present = 'clipboard' in navigator;
let readState = 'unavailable';
try {
const s = await navigator.permissions.query({ name: 'clipboard-read' });
readState = s.state; // Chromium: 'granted' | 'denied' | 'prompt'
} catch {
readState = 'query-failed'; // Firefox: always lands here
}
return { present, readState };
}""")
print(report) # e.g. {'present': True, 'readState': 'query-failed'}
```
The values you get back are the ones a genuine Firefox returns: `navigator.clipboard`
present in the secure context, and a `clipboard-read` query that fails exactly the way it
fails on every real Firefox, rather than answering with a hand-forced constant.
[`context.grant_permissions([...])`](https://playwright.dev/python/docs/api/class-browsercontext#browser-context-grant-permissions)
works for the permissions Firefox actually implements through Playwright, such as
`geolocation`, but not for `clipboard-read` or `clipboard-write`: pass either one on a
Firefox context and Playwright itself raises `Unknown permission`, on stock Playwright as
much as on this one. There is no separate API and no workaround to learn here, because the
browser has nothing to grant; a `readText()` flow on Firefox depends on the trusted
gesture, not on a permission you can pre-approve.
The measurable point is the one from the section above: the presence flag reads true, the
`clipboard-read` query fails exactly the way it does on every real Firefox, and a
click-gated `writeText()` succeeds because the gesture was trusted. That match is what the
cross-check is looking for, and it is a property of being a real browser rather than of
any value we inject.
## What this does not fix
Passing the clipboard cross-check is a fingerprint-and-driver-layer win, and it is worth
being blunt about where that win stops.
- **IP reputation.** The clipboard gate has nothing to do with your exit address. A
coherent clipboard on a datacenter IP is still on a datacenter IP. Supply a clean exit;
see [Configuration](configuration.md) for the proxy setup.
- **Per-account quotas and rate limits.** Looking like a real browser does not raise a
limit that is counted per account or per address. Those are policy on the other side,
not a browser property.
- **Behaviour and timing.** The gate cares that a gesture is trusted, not that your pacing
is human. A trusted click fired in a machine-perfect rhythm is still a rhythm a watcher
can measure.
- **Clipboard prompts by design.** Some `readText()` flows are meant to prompt a human.
Automating your way around a deliberate consent step is a different problem from looking
real, and this page is only about the second.
invisible_playwright is built to look like a real browser driven by a real person, which
is why the fingerprint, the TLS handshake and the driver layer read as a genuine Firefox
and why checks like this one pass. It does not launder a bad IP or manufacture pacing.
Those you supply: a clean proxy and human-shaped behaviour.
## Conclusion
A website can absolutely detect that you are touching the Clipboard API, and it can ask
the Permissions API about `clipboard-read` without ever showing you a prompt. But the
async Clipboard API is a gate, not a value fingerprint: access opens only for a real
trusted gesture, and the way the Permissions API answers for `clipboard-read` has to match
how the engine you claim to be actually answers it. A patched-at-the-engine Firefox driven
by stock Playwright clears both because the gesture is genuinely trusted and the
permission plumbing is the browser's own, throw and all. That handles the browser side.
The exit and the pacing are still yours to get right.
## Short answers to the questions that lead here
**Can a website tell if I read the clipboard?** It can see that `navigator.clipboard`
exists and query `clipboard-read` on the Permissions API, which answers with a state on
Chromium and throws on Firefox. A silently rejected read also tells it which guard
tripped. It cannot turn any of that into a stable machine fingerprint.
**Is the Clipboard API a fingerprinting surface?** Barely, in the value sense. It is a
permission-and-gesture gate, so its interest to a detector is consistency and access
behaviour, not a hash that varies between machines.
**Why does `readText()` reject in my automation?** Almost always a missing trusted user
gesture. On Firefox specifically, a read that does not already satisfy that gesture rule
falls back to an ephemeral native "Paste" menu item a script cannot click. A
script-dispatched click never counts as the gesture in the first place.
**Do Playwright clicks satisfy the gesture requirement?** Yes. They go through the native
input path and arrive as trusted events, so the clipboard gate opens as it would for a
real user.
**What is the clipboard cross-check?** A detector checks whether querying the Permissions
API for `clipboard-read` behaves the way the claimed engine actually behaves: a real state
on Chromium, a specific unsupported-permission error on Firefox. A shim that answers with
a clean state on a Firefox user agent is the mismatch.
**Does a coherent clipboard mean I will not get blocked?** No. It is one browser-side
signal. IP reputation, per-account quotas and behaviour are separate and are yours to
handle.
## Sources
- W3C, [Clipboard API and events](https://www.w3.org/TR/clipboard-apis/), retrieved
2026-08-28, for the async Clipboard API and its `clipboard-read`/`clipboard-write`
permission requirements, read from the specification rather than from a blog summary.
- W3C, [Permissions API](https://www.w3.org/TR/permissions/), retrieved 2026-08-28, for
the `navigator.permissions.query()` behavior the cross-check relies on.
- MDN, [Clipboard API: Security considerations](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API#security_considerations),
retrieved 2026-08-28, for the browser divergence this page relies on: Chromium backs
`clipboard-read`/`clipboard-write` with a real, queryable Permissions API permission;
Firefox and Safari implement neither and gate access by transient activation instead.
- Mozilla Bugzilla, [bug 1560373](https://bugzilla.mozilla.org/show_bug.cgi?id=1560373),
retrieved 2026-08-28, for the `TypeError` Firefox throws on a `clipboard-write` Permissions
API query instead of returning a state, and for the WONTFIX resolution confirming Firefox
never planned to add that permission name. The same missing-enum gap is why a
`clipboard-read` query fails the identical way.
- microsoft/playwright, [issue 19888](https://github.com/microsoft/playwright/issues/19888),
retrieved 2026-08-28, for the `Unknown permission: clipboard-read` error `grant_permissions`
raises in stock Playwright. This project's own testing reproduces the identical failure
on a Firefox context, independent of anything this project changes.
- WHATWG HTML Standard, [Tracking user activation](https://html.spec.whatwg.org/multipage/interaction.html#tracking-user-activation),
retrieved 2026-08-28, for the transient-activation gesture requirement the clipboard
gate sits on.
- This project's own permission and gesture gates, which check that a click-gated
operation succeeds under a trusted event and that what a page can observe from the
Permissions API matches what the real browser being claimed actually does.
**See also:** [the trusted-click boolean the clipboard gate sits on](playwright-clicks-istrusted.md),
[the permission answers that must agree](permissions-api-consistency.md), and
[the notification cross-check detectors already run](notification-permission-detection.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The clipboard opens for it
because the gesture is genuinely trusted, not because a value was faked.*
@@ -1,235 +0,0 @@
---
title: "Can a website tell you are running on a server?"
description: "Websites spot a datacenter or headless host via software WebGL, missing audio, headless metrics, datacenter ASN - and what a real fingerprint can fix and cannot."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 25
---
# Can a website tell you are running on a server?
Often, yes. Not because the code is automated, but because the host is a server:
no GPU, no sound card, no monitor, and an address that belongs to a datacenter. A
browser running there answers a handful of ordinary questions in a way that only a
server answers them, and a detector does not need anything clever to notice.
The honest split is worth stating up front. Most of these tells are JavaScript-visible
properties of the machine, and a browser that presents a real desktop persona answers
them the way a desktop does, whether the host underneath is a laptop, a Linux VM or a
Docker container. One of them is not a browser property at all: the exit IP is read at
the network layer, before any script runs, and no browser can disguise it. That one is
yours to solve with a clean proxy.
## What a server actually leaks
The failures that get a headless-host session blocked are almost never automation
flags like [`navigator.webdriver`](navigator-webdriver-explained.md). Those are solved
by every serious tool on day one. The ones that survive are hardware questions the
machine cannot answer honestly:
- **The GPU**, read through the [`WEBGL_debug_renderer_info`](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info)
extension, which on a server names a software rasterizer instead of real hardware.
- **The audio device**, read through [`AudioContext`](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext), which on a server does not exist.
- **The screen**, whose resolution, available height and device pixel ratio describe
a display that no real desktop has.
- **The exit address**, whose ASN says datacenter.
None of these are in JavaScript's gift to change from a page-level script, which is
why a stealth plugin bolted onto a stock headless browser does not touch them. They
are decided by the box the browser runs on. The rest of this page walks the first three
(which a real-browser build answers on the browser side) and then the fourth (which it
cannot).
## The software renderer tell
Ask a browser on a normal desktop what draws its graphics and it names a real GPU
vendor and model. Ask a browser on a server and, if it renders WebGL at all, it names
a software rasterizer: strings like [`llvmpipe`](https://docs.mesa3d.org/drivers/llvmpipe.html)
or [`SwiftShader`](https://github.com/google/swiftshader), or a generic "software"
renderer. That string is a plain statement that there is no graphics hardware present,
and a detector reads it as exactly that.
There is a subtler version of the same tell, and it is the one that catches half-fixes:
the renderer string can be edited to say a real GPU while the pixels are still drawn by
software. A page that draws a scene and reads back the result gets output that does not
match the name, which is [a mismatch you cannot patch from a string override](renderer-string-vs-render.md).
The name and the pixels have to agree.
invisible_playwright presents a real GPU persona, and the readback matches it, because
the presented persona is what actually answers both the string query and the render.
The [WebGL renderer strings page](webgl-renderer-strings.md) covers what a consistent
vendor/renderer pair looks like and why the two halves have to line up.
## The missing audio device and the headless screen
Sound is the same story as graphics. An AudioContext reports a sample rate, an output
latency and a channel count, and on a real machine those come from a real sound card.
A container has none, so it answers with the defaults that a headless host produces,
and the defaults are a signature. An empty or default audio profile under a desktop user
agent is a server saying it is a desktop. The mechanism is in
[AudioContext fingerprinting](audiocontext-fingerprinting.md).
The screen is the third. Headless hosts report resolutions nobody runs, a device pixel
ratio no physical display has, and an available height equal to the full height, which
means there is no taskbar because there is no desktop. Each value on its own is weak;
together they describe a monitor that does not exist. The full set of these is in
[screen size and other headless tells](screen-size-headless-tells.md).
A real-browser build answers all three as a Windows desktop would: a real GPU persona,
a real AudioContext output, and Windows screen metrics with a plausible available height
and device pixel ratio. Those answers are the same whether the host is your laptop or a
Linux container, because they are presented by the browser rather than read from the box.
## What each browser answers on the same page
![Two panels listing three values. navigator.webdriver differs, true against false. The
AudioContext sample rate is 48000 Hz in both. navigator.platform is Win32 in
both.](https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/img/can-a-website-tell-you-are-on-a-server-values.png)
Three values from one page served from `127.0.0.1`. The audio sample rate is `48000 Hz`
in both browsers and the platform string is `Win32` in both, so neither of those two is
the server tell on this host.
That is worth showing precisely because the section above is about a machine looking
like a server rather than a desktop. On a real desktop with a real audio device the
sample rate is ordinary in both, and the value that separates the two runs is the
automation flag, which is not a server signal at all.
## What invisible_playwright presents instead
The launch is two lines, and the browser you get back is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser), so every method is the one you already know. Here is the launch plus reading back the
three signals this page is about:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
report = page.evaluate("""() => {
const gl = document.createElement('canvas').getContext('webgl');
const dbg = gl.getExtension('WEBGL_debug_renderer_info');
const ac = new (window.AudioContext || window.webkitAudioContext)();
return {
renderer: gl.getParameter(dbg.UNMASKED_RENDERER_WEBGL),
vendor: gl.getParameter(dbg.UNMASKED_VENDOR_WEBGL),
sampleRate: ac.sampleRate,
screen: [screen.width, screen.height, screen.availHeight],
dpr: window.devicePixelRatio,
platform: navigator.platform,
};
}""")
print(report)
```
Run that on a Linux server or inside a container and the renderer names a real GPU, the
vendor matches it, the AudioContext reports a desktop sample rate, the screen metrics
describe a Windows display with a taskbar, and `navigator.platform` reads `Win32`. The
same `seed=42` produces the same persona every run, so a value you saw once is a value
you can reproduce and diff, rather than a fresh random draw each launch.
Because the browser is a genuinely patched Firefox driven by stock Playwright, the layers
underneath the JavaScript match too: the TLS handshake and the driver surface read as a
real Firefox rather than as an automated one. That consistency is the reason it passes
most detection checks, and the way to confirm it is by comparison against a stock browser
on the same machine rather than by trusting a single verdict.
## The boundary: the datacenter IP is still visible
Here is the caveat, stated plainly because a page that only lists what it fixes is not
honest. Everything above happens inside the browser, at the JavaScript layer. The exit
IP does not. The server reads your address at the network layer before a single line of
script runs, and if that address sits in a datacenter ASN, a perfect browser fingerprint
does not hide it. The browser cannot disguise the IP, by design, because the IP is not
a browser property.
So a headless host with a flawless desktop persona and a datacenter exit has fixed the
JavaScript tells and left the network tell standing. The fix is a residential or mobile
proxy that presents a clean address, passed on launch:
```python
proxy = {
"server": "socks5://gate.example.com:1080",
"username": "user",
"password": "pass",
}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
page.goto("https://example.com")
```
And the address is only the first of the things the browser does not fix. IP reputation,
per-account quotas, rate limits, and behaviour and timing are all supplied by you: a
clean exit, human pacing, and sane request volume. The [configuration page](configuration.md)
covers proxy schemes and how the browser timezone is auto-derived from the exit so the
two do not tell different stories, and the [Docker and container detection walkthrough](playwright-docker-detection.md)
covers the host-side tells in the order they usually bite.
## Conclusion
Can a website tell you are on a server? From the browser alone, it usually can, through
software WebGL, a missing audio device and headless screen metrics. A real-browser build
answers those as a desktop, on the browser side, regardless of the Linux or container host
underneath, which is why the JavaScript-visible surface stops giving the server away. What
it does not and cannot fix is the datacenter IP, which is read at the network layer and
needs a clean proxy, along with the account limits and pacing that no fingerprint touches.
Fix the machine tells with the browser, fix the address with the proxy, and pace the
behaviour yourself.
## Short answers to the questions that lead here
**Can a website detect a headless or server browser?** Often, from the machine rather
than the automation: a software WebGL renderer, no audio device, headless screen metrics,
and a datacenter IP.
**Does invisible_playwright hide that I am on a server?** It presents a real GPU, real
audio and Windows screen metrics on the browser side, so the JavaScript-visible tells look
like a desktop. It does not hide the exit IP, which is a network-layer signal.
**Is the datacenter IP a browser problem?** No. The address is read before any script runs,
so no browser can change it. That one needs a residential or mobile proxy.
**Why does a software renderer give me away?** Because a real desktop names a real GPU, and
`llvmpipe` or `SwiftShader` is a plain statement that there is no graphics hardware present.
**Do I still need a proxy if my fingerprint is perfect?** Yes, if the host is in a
datacenter. A flawless browser on a datacenter ASN is still on a datacenter ASN.
**Does this work the same in Docker as on a real machine?** The browser-side answers are
the same because the persona is presented by the browser, not read from the host. The IP
and the pacing still depend on where and how you run it.
## Sources
- MDN Web Docs: [`WEBGL_debug_renderer_info`](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info),
retrieved 2026-08-28, for the `UNMASKED_VENDOR_WEBGL` and `UNMASKED_RENDERER_WEBGL`
tokens a software renderer answers with.
- MDN Web Docs: [`AudioContext`](https://developer.mozilla.org/en-US/docs/Web/API/AudioContext),
retrieved 2026-08-28, for the sample rate, output latency and channel count a
container reports with no sound card present.
- Mesa 3D Graphics Library documentation: [LLVMpipe](https://docs.mesa3d.org/drivers/llvmpipe.html),
retrieved 2026-08-29, for the software rasterizer whose name is one of the two strings a
GPU-less host answers `UNMASKED_RENDERER_WEBGL` with.
- Google SwiftShader, [project repository](https://github.com/google/swiftshader), retrieved
2026-08-29, for the other software renderer a headless host commonly reports in place of
a GPU.
- Playwright documentation: [`Browser`](https://playwright.dev/python/docs/api/class-browser),
retrieved 2026-08-29, for the class the launch call in this article returns unchanged.
- This project's release gates, which read WebGL renderer, AudioContext output and screen
metrics through the shipped binary on a Linux host and compare them against a stock
desktop browser.
- The per-surface pages linked throughout, each read from its own detector's source rather
than from a rendered verdict.
**See also:** [Docker and container detection](playwright-docker-detection.md),
[WebGL renderer strings](webgl-renderer-strings.md), and
[screen size and other headless tells](screen-size-headless-tells.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. It fixes the machine tells a
server leaks in JavaScript; the datacenter IP and the pacing are still yours to supply.*
@@ -1,202 +0,0 @@
---
title: "Can I Use My Real Browser Profile With Playwright?"
description: "Playwright can point at a persistent profile, but reusing your daily browser leaks cookies and your machine fingerprint. Use a dedicated seed-fixed profile instead."
parent: "The Automation Layer"
grand_parent: "Guides"
nav_order: 24
---
# Can I Use My Real Browser Profile With Playwright?
Yes, technically. Playwright can launch against a [persistent user data
directory](https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-persistent-context),
and you can point it at the exact folder your everyday browser uses. The question is not
whether it works. It is whether you want the two things that come with it: your personal
cookies and history riding along in automated traffic, and whatever inconsistent
fingerprint your daily machine happens to have.
Both are avoidable, and the fix is not "no profile". It is "a different profile". This
page separates the good idea (a persistent profile) from the risky one (your personal
one), and shows a seed-fixed persistent context that keeps login state across runs
without carrying the host machine into every request.
## What people actually mean by "my real browser profile"
Two different wishes hide under the same sentence, and they have different answers.
The first is "I do not want to log in on every run." That is a reasonable and common
need, and a persistent profile is the right tool for it: cookies, local storage and
login state survive between sessions instead of starting empty each time.
The second is "I want to reuse the profile I browse with personally, because it is
already logged in and already looks real." That is where it goes wrong. Your daily
profile is full of your own cookies, your own history and consent decisions tied to
your own identity, and none of that belongs in an automated session. It also inherits
the fingerprint of the machine it launches on, which is a separate problem covered
below.
You want the first wish granted and the second one declined.
## Why your personal profile is the wrong choice
Two independent reasons, and either one is enough on its own.
**It mixes your identity into automated traffic.** Every cookie, every stored session,
every site that recognises you is now attached to whatever the automation does. If the
automated session is flagged, throttled or challenged, it is your account that carries
the record, not a disposable one. Linkability runs both directions: the profile links
your automation to you, and links you to your automation.
**A stock profile carries whatever fingerprint the launching machine has.** This is the
part most people miss. A plain profile does not standardise the machine underneath it.
It reports the real GPU, the real fonts, the real screen and audio devices of wherever
it runs. On your laptop that is your laptop. On a server it is a server with no GPU, no
fonts and a screen size nobody has, which is [what actually gets a datacenter session
detected](playwright-detected-as-bot.md), independent of any automation flag. Reusing
your personal profile does not fix that. It just picks one specific inconsistent machine
to leak.
The durable pattern is a dedicated profile whose identity you control, not the one you
read your email with.
## The pattern that works: a dedicated, seed-fixed profile
invisible_playwright takes a persistent profile directory the same way plain Playwright
does, through `profile_dir`. The difference is what fills in the machine. Instead of the
host's real hardware, the fingerprint is derived from a seed, so the same seed produces
the same coherent Windows browser every run: same GPU, same fonts, same screen, same
audio context. Cookies and login state accumulate in the directory across runs; the
machine stays a stable, real-looking Windows instance regardless of what the host
actually is.
The launch is two lines over plain Playwright, and everything after it is stock
Playwright:
```python
from invisible_playwright import InvisiblePlaywright
# one directory, one seed, paired for good
with InvisiblePlaywright(seed=42, profile_dir="/profiles/identity-42") as browser:
page = browser.new_page()
page.goto("https://example.com/account")
# first run: log in here. the directory keeps the session.
# later runs on the same seed + directory: already logged in.
```
The `browser` object is a real Playwright `Browser`, so `new_page`, `goto`, `click`,
`fill` and every other documented method work exactly as upstream. There is no wrapped
subset to learn. Add a proxy and a timezone the same way [Configuration](configuration.md)
describes, and the identity is complete: a logged-in session, on a consistent machine,
behind the exit you chose.
The pairing is the rule to hold onto: one directory belongs to one seed, permanently. A
stable directory with a changing seed describes a browser whose history spans weeks and
whose graphics card changed overnight, which is exactly the contradiction [a persistent
profile can create if you let the seed drift](persistent-profiles.md).
## Reproduce a run, and pin what has to stay fixed
The reason a fixed seed matters for a login profile is not only realism. It is
debuggability. If every run drew a fresh machine, a failing run would tell you nothing:
you could not separate the site changing from the fingerprint changing. Log the seed
once and a failure becomes reproducible.
```python
sf = InvisiblePlaywright(profile_dir="/profiles/identity-99")
with sf as browser:
print("seed =", sf.seed) # write this down next to the directory
page = browser.new_page()
page.goto("https://example.com")
```
Record the seed beside the directory name, because the folder outlives your memory of
which number produced it. If one specific field has to hold constant across identities
for reasons of your own, [pin that field](pinning.md) and leave the rest seed-derived
rather than reusing a whole personal profile to get it.
## The honest caveat: what a profile does and does not buy you
A dedicated seed-fixed profile preserves session trust. It does not launder anything
else, and it is worth being precise about the boundary.
What it fixes: the "no history" problem. The session looks like it has been used, stays
logged in, and does not reset to a blank browser every run. What it does not touch:
- **IP reputation.** The profile says nothing about your exit. A perfect logged-in
identity on a known datacenter address is still on a known datacenter address. Supply a
clean proxy; the profile does not.
- **Per-account limits and quotas.** A site that caps actions per account still caps
them. A reused session does not raise the ceiling, and hammering it from one session is
the surest way to spend the account.
- **Rate limits and timing.** Behaviour and pacing are yours to supply. The engine makes
the browser look real; it does not make a burst of requests look human. That is a
[session-reuse-versus-relogin tradeoff](automating-login-vs-session-reuse.md) and a
pacing decision, not a fingerprint one.
invisible_playwright is built to look like a real browser driven by a real person, which
is why the fingerprint, TLS and driver layers read as a genuine Firefox and pass most
in-page detection. That is a real and useful thing. It is not the same as evading every
control, and a profile does not change where that line sits. The reader still brings the
clean exit and the human pacing.
## Conclusion
Can you use your real browser profile with Playwright? You can, and you should not. The
part you want, staying logged in, comes from any persistent profile. The part you do not
want, your personal cookies and one specific leaky machine in every request, is exactly
what reusing your daily profile adds.
Point automation at a dedicated directory, pair it permanently with one seed so the
machine underneath stays a coherent Windows browser instead of the host, and log the
seed so a bad run is reproducible. Then remember what the profile is not: it keeps the
session, and it leaves the IP, the quotas and the pacing to you.
## Short answers to the questions that lead here
**Can Playwright use an existing browser profile?** Yes, through a persistent user data
directory. The mechanism is fine. Reusing the profile you personally browse with is the
part to avoid.
**Why not just point it at my normal Chrome or Firefox profile?** Because it drags your
personal cookies and history into automated traffic and inherits the launching machine's
fingerprint, including a server's missing GPU and fonts.
**Does a persistent profile keep me logged in between runs?** Yes. Cookies and login
state live in the directory and survive across sessions, as long as one directory maps
to one seed and is never shared between concurrent runs.
**Does reusing a profile make me undetectable?** No. It fixes having no history and
nothing else. The machine, the exit IP, the account quotas and your timing are all
separate, and a profile touches none of them.
**Do I need a new seed for each profile?** Yes, a distinct seed per profile, and the
same seed every time for a given profile. The seed is the machine; the directory is the
history.
**Will a dedicated profile fix a blocked datacenter IP?** No. Session trust and IP
reputation are unrelated. A logged-in identity on a flagged address is still on a flagged
address; that needs a clean exit, not a profile.
## Sources
- Playwright's own [`launch_persistent_context`
documentation](https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-persistent-context),
which defines the user data directory mechanism this page builds on.
- This project's persistent-context handling and the seed-to-fingerprint derivation
described across these docs, including the seed and `profile_dir` pairing.
- The detection ordering in the companion checklist, where machine tells outrank
automation tells and the exit IP is a separate axis from the browser.
**See also:** [what a persistent profile fixes and breaks](persistent-profiles.md) for
the traps that come with the directory, [automating the login versus reusing a
session](automating-login-vs-session-reuse.md) for the tradeoff behind staying logged
in, and [scraping behind a login with Playwright](how-to-scrape-behind-login-playwright.md)
for the end-to-end version of this.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The seed-and-directory
pairing rule is one I wrote down after debugging a profile whose machine changed
overnight.*
@@ -1,201 +0,0 @@
---
title: "Can two devices share a browser fingerprint?"
description: "Yes - that's the goal: a shared browser fingerprint hides you among real users, while a unique one is trackable. How anonymity sets work and how to land in one."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 26
---
# Can two devices share a browser fingerprint?
Yes, two devices can present the same browser fingerprint, and if your goal is not to
be followed around, that is the outcome you want rather than the one to avoid.
The intuition most people bring to this is backwards. It feels like a fingerprint should
be unique, like a real one, and that a collision is a failure. For tracking it is the
opposite: a fingerprint that only you have is a fingerprint that follows only you. A
fingerprint that thousands of real people also have tells a tracker almost nothing about
which of them you are.
This page is about that trade, why a common configuration beats a clever one, and how to
land on a shared-looking identity on purpose instead of by luck.
## The anonymity set is the whole game
A browser fingerprint is not one value. It is a hash of many components read from
JavaScript: the GPU string, the canvas and audio outputs, the installed fonts, the
screen geometry, the platform, the language list, and dozens more. [FingerprintJS calls
the resulting hash a visitor ID](fingerprintjs-visitor-id.md), and its job is to
recognise you again on the next visit.
The number that decides whether it can is the size of the group that shares your value.
This group is the anonymity set. If ten thousand other browsers produce exactly your
hash, the visitor ID identifies a crowd, not you, and the tracker has to fall back on
other signals to tell you apart. If your hash is unique, the visitor ID identifies you
and only you, and it will do so every session until one of those components changes.
So the useful question is not "is my fingerprint unique". Uniqueness is the failure mode.
The useful question is "how many real people look exactly like this", and you want that
number large.
A one-of-a-kind fingerprint loses this even when every individual value is plausible. A
GPU nobody else reports, a screen size nobody else has, a font set assembled by no real
installer: each looks fine alone and, taken together, marks one browser out of everyone.
That is why [pinning fields by hand is risky](pinning.md) unless you know the
combination is one that real machines actually ship.
## Why a common configuration beats a clever one
The instinct to look special is exactly the wrong instinct here.
Trackers do not need to prove you are automated to follow you. They only need your
combination of values to be rare. Rarity is the signal, and it does not care whether the
values are suspicious. A perfectly innocent, perfectly consistent, perfectly unique
browser is perfectly trackable.
So the design target is the boring middle of the distribution: a Windows version many
people run, a GPU many people have, a screen size that sits on a common laptop panel, a
language list a large population shares. Land there and you disappear into a group. Land
on the tails, even with clean values, and you stand out by being precise.
This is also why "resist fingerprinting" and "blend into a crowd" are two different
strategies that can conflict. The browser's own
[resistFingerprinting mode](resist-fingerprinting.md) makes many browsers report the same
flattened values, which is one way to build an anonymity set, but the set it puts you in
is the set of people who turned that mode on, and that set has its own recognisable shape.
Blending in with the general population is a different bet: look like the common case, not
like the privacy case.
## How a seed lands you in a crowd
invisible_playwright generates each identity to look like a common, real-world Windows
machine rather than a rare or unusual one, because a configuration many genuine users
also present blends in, while a one-of-a-kind combination stands out and is trackable.
The GPU string, the renderer, and the capability limits it reports are chosen together
and cross-checked, so
[the WebGL parameters agree with each other](webgl-parameters-are-identical.md) the way a
real driver's do rather than being mixed from different machines.
Switching from stock Playwright is two lines, and the identity is generated for you:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright() as browser:
page = browser.new_page()
page.goto("https://example.com")
```
Pass a seed and every field it implies comes back identical, run after run, so you can
inspect the exact identity a seed produces and reuse it:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# same GPU, same canvas hash, same fonts, same screen, every run
```
The `browser` returned is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser). Every method works
exactly as documented upstream; there is no reduced API to learn.
Two different seeds give two different plausible identities, and because each is
generated to be a common real-world configuration, both can land in a well-populated
part of the space.
That is the sense in which two of your own devices can "share" a look: not that they hash
to the same value by accident, but that each is a common configuration, and common
configurations are shared by construction with the real population.
## The caveat: fingerprint is not the only thing matched
Blending in on fingerprint does not blend in everything, and this is the honest limit of
what any fingerprint layer can do.
A browser identity that looks like a common real machine is why invisible_playwright
passes most in-page detection: the fingerprint, the TLS handshake and the driver layer
read as a genuine Firefox rather than an automated one. That is a real and load-bearing
result. It is also only one of the axes a serious system matches on, and the others are
matched separately:
- **Your IP address.** A crowd-blending fingerprint on a datacenter address, or on a
proxy IP that is already known and shared by a thousand scrapers this minute, is
singled out by the address alone. Fingerprint collisions do not help you here; supply a
clean exit yourself.
- **Your request pattern.** Rate, timing, the order you touch pages, per-account quotas.
A hundred sessions that each look like a different real person, all arriving in the same
ten seconds from the same place, are a pattern no fingerprint hides. Human pacing is
yours to supply.
- **The story your surfaces tell together.** A common browser fingerprint with a timezone
or language that contradicts the exit IP is not blended in, it is inconsistent, and
[a timezone that does not match the proxy](timezone-proxy-mismatch.md) is one of the
most common self-inflicted versions of this.
So the accurate claim is narrow and worth stating plainly: a shared, common fingerprint
helps you avoid being tracked and identified by fingerprint. It does nothing for IP
reputation, quotas, rate limits, or behaviour. Those are matched on their own, they can
single you out on their own, and the reader supplies the clean proxy and the human pacing
that address them. Anyone promising that one browser makes a session undetectable is
selling the part that does not exist.
## Conclusion
Two devices sharing a browser fingerprint is not a bug, it is the objective. Uniqueness
is what makes a browser trackable across sessions; membership in a large group of
look-alike real users is what makes it hard to follow. Sampling common, cross-checked
real-world configurations lands you in that group on purpose. Then pair it with an
address and a rhythm that fit the same story, because fingerprint blending buys you the
fingerprint axis and only that one.
## Short answers to the questions that lead here
**Can two devices have the same browser fingerprint?** Yes. Many components are shared by
large populations, so identical hashes across devices are normal, and for anti-tracking
they are what you want.
**Is a unique fingerprint good or bad?** Bad, if you do not want to be followed. Unique
means recognisable on every future visit. Common means lost in a crowd.
**Does sharing a fingerprint make me anonymous?** On the fingerprint axis it hides you in
a group. It does nothing about your IP address or your request pattern, which are matched
separately and can identify you on their own.
**Why does invisible_playwright aim for a common configuration instead of a rare one?**
Because rarity is the tracking signal. A configuration many real users also present puts
you in a large anonymity set instead of marking you out.
**If I pass the same seed on two machines, do they look identical?** Yes. The same seed
produces the same GPU, canvas, audio, fonts and screen, which is deliberate: it makes a
run reproducible and lets two devices present the same known-good identity.
**Will a good fingerprint alone stop me from being blocked?** No. It handles the
fingerprint, TLS and driver layers. A datacenter IP or a robotic request pattern is still
a datacenter IP or a robotic pattern, and you supply the clean exit and the human pacing.
## Sources
- The FingerprintJS open-source library's visitor ID model, [read from its own
source](https://github.com/fingerprintjs/fingerprintjs), retrieved 2026-08-28, for how
many components combine into one recognisable hash.
- Mozilla's own documentation of the `privacy.resistFingerprinting` mode, [read on its
own wiki page](https://wiki.mozilla.org/Security/Fingerprinting), retrieved
2026-08-28, for how the mode flattens timezone, locale and window size to one shared
value instead of a unique one.
- This project's approach of generating common, real-world Windows and GPU
configurations rather than unique ones, and its cross-checking of GPU string, renderer
and capability limits against each other.
- This project's release gates, which separate fingerprint realness from IP and request
signals precisely because a clean fingerprint does not clear the other two.
**See also:** [what a FingerprintJS visitor ID actually measures](fingerprintjs-visitor-id.md),
[why the WebGL parameters have to agree with each other](webgl-parameters-are-identical.md),
and [when the timezone does not match the proxy](timezone-proxy-mismatch.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The anonymity-set framing
is the one that keeps me from "fixing" a shared fingerprint that was doing its job.*
@@ -1,192 +0,0 @@
---
title: "Can websites detect a datacenter or proxy IP?"
description: "Yes, directly at the network layer. No fingerprint can hide the IP the connection arrives on. Why fingerprint and IP layers are independent and both must be right."
parent: "Detectors, Explained"
grand_parent: "Guides"
nav_order: 16
---
# Can websites detect a datacenter or proxy IP?
Yes, directly. The server sees the address your connection arrives on before a
single line of your JavaScript runs, and it can look that address up: which
network owns it, whether it belongs to a hosting provider or a home broadband
line, and whether it has been abused recently. No browser fingerprint changes
that lookup, because the address is a property of the connection, not of the
page.
This is the honest boundary of any browser-side stealth. A tool like
invisible_playwright makes the browser look like a real person's, and that is
most of what public detection checks read. It does not, and cannot, change the
reputation of the IP you route through. Those are two independent layers, and
both have to be right.
## What the server reads before your page loads
Every request carries a source IP. From that one number the receiving server
derives, with no cooperation from you:
- **The ASN**, the [autonomous system number](https://datatracker.ietf.org/doc/html/rfc1930),
which identifies the network that owns the address block. Hosting and cloud
providers have their own ASNs, and they are trivially separable from
consumer broadband and mobile carriers.
- **The address type**, datacenter versus residential versus mobile, which
public and commercial datasets label directly.
- **Reputation**, meaning whether this address or its neighbours have recently
sent traffic that looked automated or abusive. Shared and heavily recycled
exits accumulate this quickly.
None of that is a browser property. It is decided at the network layer, the same
layer that carries the [TLS handshake no in-page test can see](how-to-test-bot-detection.md).
A perfect fingerprint sitting on an address the server already distrusts is a
consistent browser on a flagged IP, and the flag wins.
## Why the fingerprint cannot reach it
The fingerprint cannot reach the IP because the two are different kinds of
value: the fingerprint is data the browser volunteers to the page, and the IP
is decided by the network carrying the connection, which the page never
touches.
A fingerprint is everything the page can measure about the client from inside
the sandbox: the user agent, the GPU string, the canvas and audio hashes, the
font list, the screen, the language settings. All of it is data the browser
volunteers in response to JavaScript. That is exactly why it is spoofable, and
why matching it to a real Windows machine is worth doing.
The IP is the opposite kind of value. It is not something the browser reports;
it is where the packets came from. The browser cannot lie about it because the
browser is not the one telling the server. The network is. You can change which
IP you arrive on by routing through a different proxy, but you cannot make a
given IP read as something it is not, and no amount of in-page patching touches
it. This is the single most common misunderstanding about stealth: people expect
a good fingerprint to cover the address, and the two never meet.
## Both layers, independently, with the real API
Because the layers are independent, you supply the IP and the tool supplies the
browser. The proxy is passed at launch, and everything downstream is stock
Playwright:
```python
from invisible_playwright import InvisiblePlaywright
proxy = {
"server": "socks5://gate.example.com:1080",
"username": "user",
"password": "pass",
}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
page.goto("https://example.com/")
print(page.title())
```
Two things are happening here, and they are separate. `seed=42` fixes the
browser half: the same GPU, canvas hash, audio context, fonts and screen every
run, so a failure is reproducible. `proxy=...` fixes the IP half: every request,
including DNS, leaves through that exit. The `browser` object is a real
Playwright [`Browser`](https://playwright.dev/python/docs/api/class-browser), so
`new_page`, `goto`, `click` and the rest behave exactly as documented upstream.
By default, with no `timezone=` argument, the browser timezone is derived from
the exit IP so the two stories agree. If you want to confirm the exit is what you
think it is, read it from inside the browser rather than assuming, and check that
[WebRTC is not reporting a second address next to the proxy's](how-to-check-proxy-ip-leak.md).
## Choosing the IP half so it does not undo the browser half
The fingerprint work is wasted if the address is one a server distrusts on sight.
Two rules follow directly from what the server reads:
- **Type matters more than count.** A residential or mobile exit shares an ASN
and an address type with ordinary human traffic; a datacenter exit does not,
no matter how many of them you rotate through. Rotation does not change the
type.
- **Freshness matters as much as type.** A large share of cheaply available
proxies are already public, which means their addresses are already on the
lists servers consult, and they were flagged before you ever used them. The
distinction between a clean exit and a burned one is not price, it is whether
the address is already known. The tradeoffs between exit protocols are covered
in [SOCKS5 versus HTTP proxies for a browser](socks5-vs-http-proxy-browser.md),
and the reputation problem itself in
[why scraping gets blocked even through a proxy](web-scraping-getting-blocked-proxies.md).
Get both halves right and the server sees a genuine Firefox arriving from an
address that looks like a person's. Get the browser right and the IP wrong, and
you have built a careful disguise and then signed it at the door.
## What this does and does not fix
To be explicit, because overclaiming here is both false and a real risk:
invisible_playwright is designed to look like a real browser driven by a real
person, and that is why it passes most fingerprint, TLS and driver-layer checks:
those layers read as a genuine Firefox. On its own it does not fix IP reputation,
per-account quotas, rate limits, or behaviour and timing. Those are yours to
supply: a clean exit for the address, human pacing for the behaviour, sane limits
for the account. There is no setting that makes an IP undetectable, because the
IP is not something the browser gets to describe.
## Conclusion
Can websites detect a datacenter or proxy IP? Yes, directly and early, at a layer
no fingerprint reaches. The browser fingerprint and the IP are independent
signals, read by different parts of the stack, and a detector that sees a perfect
browser on a flagged address believes the address. So match the browser, which is
what this tool does, and pair it with an exit whose type and reputation hold up,
which is what you bring. Neither half alone is a session; both right is.
## Short answers to the questions that lead here
**Can a browser fingerprint hide my IP?** No. The IP is where the connection
comes from, not something the browser reports, so no in-page value or spoof
changes it.
**Will a residential proxy alone get me through?** It fixes the address half. If
the browser still looks automated, a clean IP does not save it. Both layers have
to be right.
**How does a site know my IP is a datacenter?** From the ASN and address-type
datasets tied to the IP. Hosting networks have their own autonomous system
numbers and are labelled as such in public data.
**Does rotating IPs help?** It helps with rate limits and per-address velocity.
It does not change the type: rotating datacenter exits are still datacenter
exits.
**Can invisible_playwright change my ASN or reputation?** No, and nothing on the
browser side can. It handles the fingerprint, TLS and driver layers; you supply
the exit.
**Why do I pass every fingerprint test and still get blocked?** Because the
suites do not see your address, and a consistent browser on a distrusted IP is
still on a distrusted IP.
## Sources
- [RFC 1930](https://datatracker.ietf.org/doc/html/rfc1930), the IETF guidelines
that define an Autonomous System as a routing policy unit and specify the ASN
that identifies it.
- [Playwright's `Browser` class reference](https://playwright.dev/python/docs/api/class-browser),
for what the `browser` object in the example above exposes once the proxy is
wired in.
- This project's default behaviour: the proxy dict passed at launch routes every
request and its DNS through the exit, and the browser timezone is derived from
that exit unless an explicit zone is set.
- The [configuration notes](configuration.md) on proxy schemes and on why roughly
nine in ten cheap proxies are already known before first use.
- The [testing method page](how-to-test-bot-detection.md), which lists IP
reputation among the things no in-page suite covers.
**See also:** [the checklist for being detected on one site](playwright-detected-as-bot.md),
[how to check for a proxy IP leak](how-to-check-proxy-ip-leak.md), and
[when the timezone does not match the proxy](timezone-proxy-mismatch.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The browser half is
what the patch does; the IP half is the one honest thing it cannot do for you.*
-206
View File
@@ -1,206 +0,0 @@
---
title: "Can websites detect Playwright? What is actually visible"
description: "Stock Playwright exposes a webdriver flag, protocol artifacts and mismatched OS fingerprint. Which signals catch your run, and what a patched Firefox fixes."
parent: "The Automation Layer"
grand_parent: "Guides"
nav_order: 20
---
# Can websites detect Playwright? What is actually visible
Yes, in principle. Stock Playwright leaves signals in the page that a script can read,
and any one of them is enough to tell "this is automated" from "this is a person". But
"in principle" is doing real work in that sentence. Whether a given site catches your
specific run depends entirely on which of those signals it bothers to check, and there
are only a handful of them.
This page enumerates the concrete tells a page can read, maps each to what a real-looking
browser does about it, and shows the two-line launch that removes the browser-level ones.
It also states plainly what that launch does not touch, because a page that promised you
undetectability would be lying to you.
## The three signals a page can actually read
Strip away the folklore and stock Playwright exposes three families of tell to in-page
JavaScript:
- **A driver flag.** `navigator.webdriver` is defined by the
[WebDriver automation standard](https://www.w3.org/TR/webdriver2/), and a page reads it
with one property access.
- **Protocol and automation artifacts.** Globals left in scope by a stealth layer, a
built-in whose `toString()` no longer says `[native code]`, an event that arrives
without the trusted bit a real click carries.
- **A fingerprint that contradicts itself.** The user agent claims one operating system
while the GPU string, the font list, the audio device or the screen geometry describe a
headless machine somewhere else.
Everything a page-level bot check does falls into one of those three. The rest of this
article takes them one at a time.
## Signal one: the webdriver flag
The cheapest check there is. Under standard automation, `navigator.webdriver` returns
`true`, and a single line of page script reads it.
The naive fix makes things worse. Setting the property to `false` from a script is itself
a tell, because a genuine browser that was never automated reports `undefined`, not
`false`. A value where there should be an absence is a signature of its own. The correct
behaviour is the one an untouched browser produces, and getting there from JavaScript
patching is [harder than it looks](navigator-webdriver-explained.md).
invisible_playwright drives a Firefox patched at the C++ level, so the flag reports the
real-browser value without a script ever assigning it. There is no override to catch,
because nothing overrode anything.
## Signal two: automation globals and protocol artifacts
Automation globals and protocol artifacts are what the act of driving the browser leaves
lying around, and they exist whether or not the driver flag above was ever touched.
JavaScript stealth plugins reach into built-ins to hide the first signal, and in doing so
they create the second: a redefined function whose `toString()` stops returning
`[native code]`, a property descriptor that a real engine never has, a global that only a
particular tooling stack defines. A tampering-oriented suite such as a consistency checker does not ask
what you report, it asks whether anything you report contradicts anything else, and a
built-in that has been rewritten is exactly that kind of contradiction. This is
[the native-code check](tostring-native-code-detection.md), and it is the reason stacking
two disguises reads worse than one.
Because the browser is patched in the engine rather than in the page, there are no
injected globals to enumerate and no rewritten built-ins to catch with `toString()`. The
functions a page inspects are the genuine ones.
## Signal three: a fingerprint that does not match the claimed OS
A fingerprint that contradicts the claimed operating system is the family that catches most
server-side automation, and it has nothing to do with the driver at all.
A page reads the user agent, then reads the GPU renderer string, the installed fonts, the
audio device parameters and the screen geometry, and checks that they tell the same story.
A headless machine in a datacenter usually fails that check without any automation flag
being set: a software renderer under a claim of desktop hardware, a font set that belongs
to a different operating system, an audio stack answering with defaults, a screen
resolution no real display has. None of those are automation tells. They are
"this is a datacenter" tells, and they survive every page-level patch because they are not
in JavaScript's gift to change.
invisible_playwright derives a complete, internally consistent fingerprint from a seed:
GPU, canvas, audio, fonts and screen, roughly 400 fields, generated to agree with each
other and to describe a real Windows desktop rather than the host the code runs on. Same
seed, same machine, every run, which is what makes a failure reproducible enough to bisect.
This is the family that a real-browser fingerprint fixes and a property patch cannot, and
it is why the launch below passes most JS detection: the driver layer, the fingerprint and
the TLS handshake all read as a genuine Firefox.
## The launch that removes the browser-level tells
Switching from stock Playwright is two lines, and the object you get back is a real
Playwright `Browser`, so every method you already use works unchanged.
```python
from invisible_playwright import InvisiblePlaywright
# seed=42 makes the identity reproducible; drop it for a fresh one each run
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# navigator.webdriver reads as a real browser; the fingerprint is consistent
print(page.evaluate("navigator.webdriver"))
```
Add a proxy when you deploy, since the browser-level tells are only half the picture:
```python
from invisible_playwright import InvisiblePlaywright
proxy = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
page.goto("https://example.com")
```
The async API is identical, `from invisible_playwright.async_api import InvisiblePlaywright`
with `await` in front of the page calls. Nothing else about your Playwright code changes.
## What this does not fix, and why saying so matters
Here is the honest boundary, because a tool that removed only some of the signals and let
you believe it removed all of them would get you blocked with more confidence, not less.
The launch above addresses the three browser-level families: the driver flag, the
automation artifacts and the fingerprint, plus the TLS handshake, because the request is
made by a real Firefox rather than something impersonating one. What it does not touch:
- **IP reputation.** A consistent browser on a known datacenter address is still on a
known datacenter address. You supply a clean exit.
- **Per-account quotas and rate limits.** A perfect fingerprint does not raise a limit the
account already hit.
- **Behaviour and timing.** A burst of identical requests, a form filled in eighty
milliseconds, a session with no pointer motion. Some sites do not fingerprint at all,
they watch, and pacing is on you.
So the accurate claim is narrow and true: invisible_playwright makes the browser read as a
real one, which is why it passes most in-page detection. It does not make the session
invulnerable, and no software can, because half the signals are about the network and the
account rather than the browser. When a run still fails with all three browser families
clean, the [checklist for being detected on one site](playwright-detected-as-bot.md) works
the remaining suspects in the cheap-first order, and the network layer has
[its own page on the handshake](ja3-ja4-tls-fingerprint.md).
## Conclusion
Can websites detect Playwright? They can detect stock Playwright whenever they check for
one of three things: the webdriver flag, automation artifacts, or a fingerprint that
disagrees with the claimed OS. A patched Firefox driven by stock Playwright removes all
three at the engine level, which is why it clears most JavaScript detection. It does
nothing for your IP, your quotas or your pacing, so the honest answer to the title is that
it fixes the browser and leaves the rest to you. Verify it the way you would verify
anything here: [compare against a stock browser and run it more than once](how-to-test-bot-detection.md).
## Short answers to the questions that lead here
**Can a website tell I am using Playwright?** If it checks the webdriver flag, automation
artifacts or fingerprint consistency, yes for stock Playwright. A patched-engine browser
removes those browser-level tells.
**Does invisible_playwright make me undetectable?** No, and nothing does. It makes the
browser read as a real Firefox, which passes most in-page checks. Your IP, account limits
and behaviour are separate and still yours to handle.
**Is navigator.webdriver enough to catch me?** It is the cheapest check and stock
automation fails it. Setting it to `false` in a script is its own tell; a real browser
reports `undefined`.
**Why do I pass fingerprint tests and still get blocked?** Because those tests do not see
your address, your request rate or your timing, and a consistent browser on a datacenter
IP is still on a datacenter IP.
**Do stealth plugins help?** They fix the first signal and often create the second: a
rewritten built-in that a tampering check flags. Running one on top of a patched engine is
two disguises contradicting each other.
**How do I check what a site actually reads?** Open a detection suite in your automated
browser and a stock browser on the same machine, and diff the reports field by field
rather than reading the score.
## Sources
- The [W3C WebDriver specification](https://www.w3.org/TR/webdriver2/), which defines the
`navigator.webdriver` property and the automation flag behind it.
- This project's real API surface, `InvisiblePlaywright(seed=...)` and the returned
Playwright `Browser`, as documented in the quickstart and configuration pages.
- The public detection suites (a consistency checker, BotD, an open-source fingerprinting library, a basic bot-test page and a raw-value inspector),
each of which reads one or more of the three signal families described above.
- This project's release gates, which assert the presence of a real-browser signal rather
than the absence of a wrong one, and separate browser tells from IP and behaviour.
**See also:** [the webdriver flag in detail](navigator-webdriver-explained.md),
[the checklist for a single blocking site](playwright-detected-as-bot.md), and
[how to test whether your browser is detected](how-to-test-bot-detection.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The honest boundary in the
last section is the one I most wish more of these pages drew.*
@@ -1,224 +0,0 @@
---
title: "Can you be fingerprinted in incognito mode?"
description: "Yes: incognito mode clears cookies and site storage but leaves canvas, WebGL, fonts, user agent, timezone and the TLS handshake fully readable and re-linkable."
parent: "Browser Identity"
grand_parent: "Guides"
nav_order: 23
---
# Can you be fingerprinted in incognito mode?
Yes. This is the single most common misunderstanding about private browsing, and it is
worth stating plainly before the details: incognito mode clears **state**, not
**identity**. It empties cookies and site storage at the end of a session. It does not
change what your browser looks like while the session is running, and that is exactly
the part fingerprinting reads.
This page is what private mode actually does, why stateless fingerprinting is untouched
by it, how a service re-links you across incognito windows anyway, and what changing the
fingerprint values themselves looks like in practice.
## What private mode actually clears
Open a private window and the browser makes one promise: when you close it, the cookies,
`localStorage`, `sessionStorage`, IndexedDB and cache from that session go away. History
is not written to disk. That is the whole feature, and for its intended purpose (a shared
family computer, not leaving a booking half-finished in your history) it does that job.
Notice what is on that list: all of it is **state the site wrote to your machine**. A
cookie is a value the server set and asked you to hand back. Private mode's guarantee is
that you stop handing those back once the window closes.
Nothing on that list is a property of the browser itself. And identification does not
need you to hand anything back.
## Why stateless fingerprinting does not care
A cookie is something you were **given**. A fingerprint is something you **are**. Private
mode only deletes the first kind.
When a page measures your browser, it reads values the browser exposes on request, no
storage involved:
- **Canvas.** The page draws text and shapes to an offscreen canvas and
[reads the pixels back](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
as an encoded image. The exact bytes depend on your GPU, drivers and font rasterizer, and
they are identical in a private window because it is the same GPU. See
[why canvas output can change every run](canvas-fingerprint-changes-every-run.md) for
what a real defense against this looks like.
- **WebGL.** The
[renderer and vendor string](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info)
and the numeric limits of your graphics stack. Same machine, same values, private or not.
- **Fonts.** The list of installed fonts, measured by rendering and comparing widths. A
private window renders with the same fonts.
- **User agent, platform, language, timezone.** All reported the same way in incognito.
- **The [TLS handshake](https://datatracker.ietf.org/doc/html/rfc8446).** Decided by the
network stack before a single line of page JavaScript runs, so no browsing mode touches
it. [No in-page test can even see it](ja3-ja4-tls-fingerprint.md), and neither can
incognito.
Read that list again against the previous section. There is no overlap. Private mode
clears cookies and storage; fingerprinting reads GPU, fonts, TLS and the rest. The two
sets do not intersect, which is why a fingerprint survives the mode that was supposed to
protect it.
## How you get re-linked across incognito windows
Here is the part that surprises people. Because the fingerprint is stable and does not
depend on stored state, a service can compute the same identifier in a normal window, in
a private window, and in a second private window you opened an hour later to "start
fresh". [FingerprintJS builds exactly this kind of visitor ID](fingerprintjs-visitor-id.md)
by hashing many of those stateless components together.
So the common workflow of "open an incognito window to look like a new visitor" does not
produce a new visitor. It produces the same visitor with an empty cookie jar. The site
sets a fresh cookie, ties it to the fingerprint it just computed, and the link is
restored on the first request. Clearing the cookie deleted the label on the folder, not
the folder.
This is not a bug in private mode. Private mode never promised a new identity. It
promised no leftover state, and it delivers that.
## What changes when the values change
![Two panels listing three values. localStorage is available in both browsers, and both
report that the screen and the viewport differ, so neither looks like
resistFingerprinting is on. The canvas pixel hash differs between the two
panels.](https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/img/can-you-be-fingerprinted-in-incognito-mode-values.png)
Three values, read from one page served from `127.0.0.1`. `localStorage` is available in
both, which is the point of the section above: private mode is about state, and this
probe is not reading state.
The line that moves is the canvas, hashed from `getImageData` bytes rather than from
`toDataURL`, and the reason for that choice is measured in
[why a canvas hash changes between runs](canvas-fingerprint-changes-every-run.md): the
encoded string moves on its own even when the pixels do not.
## Changing the values themselves, not clearing storage
If the problem is that the fingerprint values are stable and readable, the fix is to
change the values, which is the specific thing private mode does not do. That is what
invisible_playwright does: a Firefox patched at the C++ level so that canvas, WebGL,
fonts, screen and the rest report seed-derived values, driven by stock Playwright.
Two lines to launch, and the browser you get back is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser) with every standard
method:
```python
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# canvas, WebGL, fonts, screen all report seed-42 values,
# not this machine's values
```
The seed is the whole point. The same seed produces the same coherent identity every
run, and a different seed produces a different one. So where private mode gives you the
same machine with its storage wiped, a new seed gives you a genuinely different machine
that happens to be internally consistent:
```python
# a different, self-consistent identity - a different GPU, fonts, canvas hash
with InvisiblePlaywright(seed=7) as browser:
page = browser.new_page()
page.goto("https://example.com")
```
You can prove the difference to yourself. Open a public fingerprinting suite with
`seed=42`, note the visitor ID or the canvas hash, close it, reopen with `seed=42`, and
it matches. Change to `seed=7` and it moves. That is the value changing, which is the
axis incognito leaves fixed. For the Firefox `about:config` route to the neighbouring
problem, [`privacy.resistFingerprinting` and what it trades away](resist-fingerprinting.md)
is worth reading before you reach for it.
## The honest caveat: it does not change your IP
There is one thing this shares with private mode: neither touches your IP address.
Incognito does nothing for your address, and neither does changing the fingerprint. Your
exit IP, its reputation, and the ASN it sits in are all still exactly what they were.
This matters because a perfect, distinct, self-consistent browser on a datacenter IP that
a thousand other automated sessions are using this minute is still on that IP. The
fingerprint and the driver layer reading as a genuine Firefox is why most detection
checks pass; it is not why a session passes. The reader supplies the rest:
- **A clean exit.** The fingerprint work is wasted behind an address already on a
blocklist. See [Configuration](configuration.md) for proxy setup.
- **Human pacing and behaviour.** Timing, pointer motion and typing rhythm are a separate
surface that no fingerprint change addresses.
- **Per-account quotas and rate limits.** A new fingerprint is not a new account, and it
does not reset a counter the service keeps on its own side.
Changing the fingerprint fixes the fingerprint. It does not fix the network or the
behaviour, and claiming otherwise would be false.
## Conclusion
Can you be fingerprinted in incognito mode? Yes, identically to a normal window, because
private mode clears the cookies and storage a site wrote to your machine and leaves every
readable property of the browser (canvas, WebGL, fonts, user agent, timezone, TLS)
exactly where it was. Stateless fingerprinting reads those properties, so it works the
same in either mode, and a service can re-link you across incognito windows on the
fingerprint alone.
Changing the values themselves is a different operation from clearing state, and it is
the one incognito does not perform. invisible_playwright performs it per seed, so the
same input gives the same consistent identity and a new input gives a new one. Pair that
with a clean exit and human pacing, because the fingerprint is only one of the surfaces a
session is judged on.
## Short answers to the questions that lead here
**Does incognito mode stop fingerprinting?** No. It clears cookies and site storage at
the end of the session and changes nothing about canvas, WebGL, fonts, user agent,
timezone or TLS, which are what fingerprinting reads.
**Can a site tell it is the same person across two incognito windows?** Yes. The
fingerprint is stable and does not depend on stored state, so the same identifier is
computed in each window and the empty cookie jar is refilled and re-linked on the first
request.
**What does private mode actually protect me from?** Leaving state behind on the machine:
history, cookies and cache from that session. That is a real feature, just not an
anti-fingerprinting one.
**Does incognito change my IP address?** No, and neither does changing the fingerprint.
The exit IP and its reputation are a separate surface you have to handle yourself.
**How do I actually get a different fingerprint?** Change the values the browser reports
rather than clearing what a site stored. invisible_playwright does this per seed, so a
new seed is a new coherent identity.
**Is a new seed the same as a new incognito window?** No. An incognito window is the same
machine with its storage wiped. A new seed is a different machine, self-consistent across
its fields.
## Sources
- Firefox's own documentation of what private browsing clears (cookies, storage, history)
and, by omission, what it does not.
- The specs behind each stateless signal above:
[`HTMLCanvasElement.toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
for the canvas read-back, [`WEBGL_debug_renderer_info`](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info)
for the GPU renderer/vendor string, and [RFC 8446](https://datatracker.ietf.org/doc/html/rfc8446)
for where the TLS handshake sits relative to page JavaScript.
- The public detection suites named in this set, read for how each computes an identifier
from stateless components, each with its own page here.
- This project's seed-to-fingerprint pipeline and release gates, which measure the same
seed producing the same identity across runs.
**See also:** [how a stable visitor ID is built](fingerprintjs-visitor-id.md),
[what canvas fingerprinting reads and how to change it](canvas-fingerprint-changes-every-run.md),
and [the TLS handshake no browsing mode can hide](ja3-ja4-tls-fingerprint.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. Private mode clears what a
site stored on you; this project changes what the browser is, which is the axis private
mode leaves alone.*
@@ -1,214 +0,0 @@
---
title: "Can you run invisible_playwright serverless?"
description: "Why invisible_playwright mostly does not fit serverless: size of patched-Firefox is the blocker. Containers and long-lived workers are the actual home."
parent: "Scraping with Playwright"
grand_parent: "Guides"
nav_order: 84
---
# Can you run invisible_playwright serverless?
Mostly no, and for a structural reason rather than a setting you have not found yet.
The blocker is not a config flag. It is that this tool launches a full, real browser,
and a serverless function is sized for code that does not.
This page is the mechanism behind that answer, the one place it does fit, and the
container or long-lived worker that is the honest recommendation instead.
## The short answer, and why it is structural
invisible_playwright is not a JavaScript shim that patches an existing browser. It ships
a patched Firefox, built at the C++ level, and drives it with stock Playwright. On first
use it downloads that binary (about 238 MB compressed, roughly 544 MB once unpacked, as
listed on the [installation](installation.md) page), verifies a sha256, and caches it.
A real launch then needs that unpacked tree on disk plus working memory for the browser
process itself.
A typical function-as-a-service runtime caps three things at once: deployment package
size, memory, and wall-clock execution time. All three fight a cold-start browser
launch. The download alone can exceed a package limit; the unpacked tree plus a running
Firefox can exceed the memory limit; and downloading and starting a browser per
invocation can exceed the time limit before your first `goto` returns.
So the answer is not "add a bigger timeout". The weight of a real browser is the thing
that does not fit, and no configuration removes it.
## What a function actually has to do to launch this
Walk through a cold invocation of a function that has never run before:
1. Fetch the engine. If it is not baked into the image, that is a ~238 MB download on
the critical path, before any of your code runs.
2. Unpack and place it. Roughly 544 MB has to land somewhere writable and readable.
3. Verify it. A sha256 pass over the cached engine.
4. Launch Firefox and connect Playwright over its protocol.
5. Only now open a page and do the work you came for.
Steps 1 through 4 are pure overhead, and on a serverless platform they can repeat on
every cold start because the local disk and memory a function sees do not persist between
invocations by design. You are paying browser-startup cost per request instead of once.
## Where the weight goes: download, unpack, and resident memory
Three separate limits, three separate ways this fails:
- **Package or layer size.** Many function platforms cap the deployed artifact well
under the unpacked engine size. Baking Firefox into the deployment can blow past the
limit outright.
- **Ephemeral disk.** The engine has to be unpacked somewhere. A read-only or tiny
scratch filesystem cannot hold it.
- **Memory.** A real Firefox rendering a real page has a real resident-set size. Add the
unpacked binary in page cache and a modest function memory tier is gone.
The download can be moved off the critical path with a cache directory, and the wrapper
supports exactly that: `INVISIBLE_PLAYWRIGHT_CACHE_DIR` points the engine at a path your
platform already caches between runs, and the `binary_path=` launch argument skips the
download entirely when a compatible binary is already on disk (see
[Configuration](configuration.md)). That
helps a persistent worker a great deal. It helps a stateless function much less, because
the thing a function does not keep is exactly the local disk those variables point at.
## The recommendation: a container image or a long-lived worker
The honest home for this tool is somewhere the browser is unpacked once and reused across
many jobs:
- **A container image** with the engine already inside it, run on a service that keeps
the container warm. The unpack happens at build time, not per request. This is common
enough to have its own walkthrough in
[how to use invisible_playwright in Docker](how-to-use-invisible-playwright-in-docker.md),
and the fingerprint pitfalls specific to containers are in
[running Playwright in Docker undetected](how-to-run-playwright-docker-undetected.md).
- **A long-lived worker or VM** that launches the browser once at startup and pulls jobs
from a queue, reusing the same process across many pages.
Both share one property that a stateless function cannot: the ~238 MB download and the
~544 MB unpack are paid once, at startup or build, and every job after that reuses a warm
browser. That is the difference between browser cost per deployment and browser cost per
request.
Here is a minimal worker that launches once and reuses the browser across a list of jobs.
The `browser` returned is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser), so every method is the
stock API:
```python
from invisible_playwright import InvisiblePlaywright
JOBS = [
"https://example.com/a",
"https://example.com/b",
"https://example.com/c",
]
# seed=42 makes the identity reproducible, so a failing job replays exactly.
with InvisiblePlaywright(seed=42) as browser: # binary unpacked once, reused below
for url in JOBS:
page = browser.new_page()
page.goto(url)
print(url, page.title())
page.close()
```
In a real worker the `for` loop is a queue consumer, and the `with` block stays open for
the life of the process. The launch cost is amortized across every job the worker ever
handles, which is the whole point of not being serverless.
If you must fetch the engine ahead of time in an image build, do it as an explicit build
step so the download never lands on a request path:
```dockerfile
FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:0.12.10 /uv /uvx /bin/
RUN uv pip install --system invisible-playwright
# Unpack the engine at BUILD time, not per request.
RUN python -m invisible_playwright fetch
# ... your worker entrypoint ...
```
## What the stealth actually does for you here, and what it does not
invisible_playwright is designed to look like a real browser driven by a real person, and
that is why it passes most detection checks: the fingerprint, the TLS handshake and the
driver layer read as a genuine Firefox rather than as automation. That property is the
same whether the browser runs in a function, a container, or a VM - where it runs does not
change what it looks like, which matters here because "serverless" and "undetected" get
searched together and are different problems.
What it does not do, on its own and in any environment:
- **IP reputation.** A genuine-looking browser on a known datacenter address is still on a
known datacenter address. You supply a clean exit.
- **Per-account quotas and rate limits.** These are counted server-side against your
account or key, not read off the browser.
- **Behaviour and timing.** Pacing, pointer motion and the rhythm of a session are yours
to shape. An automated cadence is visible no matter how real the fingerprint is.
Serverless makes the last one worse in a specific way: fan-out. A hundred functions firing
at once, from a small pool of platform egress addresses, in a burst no human pace explains,
is a velocity signal you created by the deployment shape rather than by the browser. A warm
worker pulling jobs at a human interval is easier to keep honest. None of that is a claim of
evasion; it is the list of things you still have to get right yourself.
## Conclusion
Can you run invisible_playwright serverless? Technically sometimes, on a generous
container-backed function tier with the engine baked into the image and kept warm.
Practically, a plain stateless function that downloads and launches a full Firefox per
invocation will be slow and fragile even where it fits, because the browser weight is
structural and no setting removes it.
The tool's job is to make the browser look real, and it does that anywhere it runs. The
deployment's job is to give that browser a warm home, a clean exit and a human pace. Put
the browser in a container image or a long-lived worker, pay the unpack once, and reuse it.
## Short answers to the questions that lead here
**Can I deploy invisible_playwright to a serverless function?** Usually not on a plain
stateless function. The patched Firefox is about 238 MB to download and roughly 544 MB
unpacked, which fights typical size, memory and time limits. A container image or a warm
worker is the real home.
**Why is the browser so heavy?** Because it is a real, full Firefox patched at the C++
level, not a JavaScript patch over an existing browser. That weight is why the fingerprint
and TLS read as genuine, and it is also why it does not fit a tiny function.
**Can I just make the function timeout longer?** No. Size and memory limits fail
independently of time, and a per-request download and launch is overhead you pay on every
cold start regardless of the timeout.
**Does running it in a container make it undetectable?** No tool is undetectable. A
container is the right place to unpack the browser once and keep it warm, but it does not
fix your IP reputation, your account quotas, or your timing. You supply those.
**How do I avoid downloading Firefox on every invocation?** Bake it into the image at
build time, or pass `binary_path=` for a binary already on disk. On a stateless
function neither fully helps, because the local disk does not persist between calls.
**What is the smallest thing that works?** A single long-lived worker: launch once inside
a `with InvisiblePlaywright(...) as browser:` block, then consume a job queue inside that
block so the browser is reused for the life of the process.
## Sources
- This project's [installation](installation.md) and [configuration](configuration.md)
pages, for the measured engine download and unpacked sizes and the cache and binary-path
environment variables.
- The container walkthroughs in this set, linked above, for the build-time unpack pattern.
- Playwright's own [`Browser` class reference](https://playwright.dev/python/docs/api/class-browser),
for the stock API this wrapper hands back unchanged.
- General serverless platform limits on package size, memory and execution time, which are
documented per platform and are what the browser weight runs into.
**See also:** [how to use invisible_playwright in Docker](how-to-use-invisible-playwright-in-docker.md)
for the container build, [running Playwright in Docker undetected](how-to-run-playwright-docker-undetected.md)
for the fingerprint tells a headless container adds, and
[what a datacenter container gives away](playwright-docker-detection.md) for the machine
signals no stealth layer touches.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The weight that keeps it out
of a small function is the same weight that makes it look real.*
@@ -1,214 +0,0 @@
---
title: "Can You Run Playwright Without Being Detected?"
description: "An honest answer for Playwright automation: what removing browser-level tells clears, why it looks like a real browser, and the three signals it does not fix."
parent: "Testing and Troubleshooting"
grand_parent: "Guides"
nav_order: 11
---
# Can You Run Playwright Without Being Detected?
Not in an absolute sense, and any tool that promises otherwise is lying to you.
What is achievable is narrower and more useful: you can remove the browser-level
tells so the fingerprint and the automation flags read like a real person's browser,
and that alone clears most JavaScript-based detection. The rest of what gets a session
flagged is not a browser problem at all, and no amount of browser work touches it.
This page draws that line precisely. It shows what "undetected" can honestly mean,
what a real-browser fingerprint clears, and the three signal classes that are detected
independently of the browser and that you, not the tool, have to supply an answer for.
## The honest answer: "looks like a real browser", not "invisible"
The useful reframing is to stop asking "can I be undetected" and start asking "does
this look like a real browser driven by a real person". That is a question you can
actually answer yes to, and it is the one that most detection is really asking.
A detector almost never has a single "is this a bot" bit. It has a pile of signals and
a score. Some of those signals live in the page, in JavaScript: the fingerprint, the
automation flags, whether any built-in has been tampered with. Some live below the
page: the network handshake, the exit address. Some live in what the session does over
time: pacing, motion, request velocity.
A tool that drives a genuine, unmodified-looking browser can make the first pile read
clean. It cannot make the other two piles read clean, because they are not properties
of the browser. Being honest about that split is the whole point of this page, and it
is why [passing every public suite still does not mean the session passes](how-to-test-bot-detection.md).
## What "detected" actually means: three layers of signal
Before touching code, it helps to name the three layers, because a fix for one does
nothing for the others.
1. **The browser layer.** The fingerprint (GPU, canvas, audio, fonts, screen), the
automation flags ([`navigator.webdriver`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/webdriver)
and friends), and internal consistency
(does the platform you claim agree with the fonts you have). This is in JavaScript's
reach, and it is the layer a stealth engine addresses.
2. **The network layer.** The TLS handshake, the HTTP/2 settings frame, header order,
and the reputation of the exit address. Decided before a line of page script runs,
and [invisible to every in-page test](ja3-ja4-tls-fingerprint.md).
3. **The behaviour layer.** Pointer motion, typing rhythm, how fast a form is filled,
how many requests per minute from one account, and the timing shape of an
automated agent.
invisible_playwright is built to solve layer 1 well, and because it drives a real
Firefox binary, the handshake half of layer 2 comes out genuine for free: a real
Firefox handshake, not an impersonation. What it deliberately does not do is
manufacture a clean IP, a per-account quota, or human pacing. Those are yours to bring.
## What invisible_playwright removes: the browser layer
The product is a Firefox patched at the C++ level, driven by stock Playwright, with a
fingerprint derived from a seed so it is real-browser-shaped and reproducible. Every
session gets a coherent identity (roughly 400 fields that agree with each other)
instead of the default automation profile that detectors are trained on.
Switching from plain Playwright is a two-line change, and the object you get back is a
real Playwright `Browser`, so every method works exactly as documented upstream:
```python
from invisible_playwright import InvisiblePlaywright
# seed=42 makes the identity reproducible; drop it for a fresh one each run
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# navigator.webdriver reads false, the fingerprint is internally
# consistent, and the TLS handshake is a real Firefox handshake
print(page.evaluate("navigator.webdriver")) # -> False
```
Add a proxy and let the browser timezone follow the exit automatically, which is how
you keep the browser and the network from telling two different stories:
```python
proxy = {"server": "socks5://gate.example.com:1080", "username": "u", "password": "p"}
with InvisiblePlaywright(seed=42, proxy=proxy) as browser:
page = browser.new_page()
page.goto("https://example.com/login")
page.fill("#user", "someone")
page.click("#submit") # the pointer arcs to the button on a curve
```
The measurable result of layer 1 being clean: open the same fingerprinting page in
this browser and in a stock Firefox on the same machine, diff the reports field by
field, and the difference collapses to per-session noise (the IP and the random canvas
jitter a real browser also has). The JavaScript detectors read it as a genuine Firefox
because, at the layer they can see, it is one. That is why it passes most of them. It
is also the ceiling of what the browser layer can do.
## The three signal classes it deliberately does not touch
This is the part most "undetectable" claims skip. These three are detected
independently of the browser, the tool does not address them by design, and a clean
fingerprint on top of any one of them still loses.
- **IP reputation.** A perfect browser on a datacenter range, or on a residential exit
a thousand other people are sharing this minute, is still on a flagged address, and
that is decided before your script runs. Cheap and free proxy pools are reused across
thousands of scrapers, so a lot of that range is already flagged before you connect.
The fix is a clean exit, which is your input, not the
browser's output. [WebRTC through a proxy](webrtc-leak-proxy.md) is the related
browser-visible surface, but the reputation itself is not a browser property.
- **Per-account rate limits and quotas.** If one account does in an hour what a person
does in a week, no fingerprint hides it, because the signal is the account's own
history, not the browser's identity. Spreading work across accounts and staying under
human volume is an application-design decision the tool cannot make for you.
- **Behaviour and timing.** Uniform keystroke intervals, a form filled in eighty
milliseconds, a pointer that teleports, a request cadence with no human jitter, or
[the pause shaped exactly like model latency in an agent loop](ai-browser-agents-stealth.md).
The engine gives you curved mouse motion for clicks, but the overall rhythm of the
session is driven by your code.
None of these is a gap or a bug. They are outside the browser, so they are outside what
a browser-fingerprint tool can honestly claim. Pairing a real-browser fingerprint with
a clean exit and human pacing is the actual recipe; the tool is one of those three
parts.
## How to check what is left over
Because the browser layer is handled, your testing effort should go to the two layers
that are not. The method that catches the most:
- **Prove it is the browser before blaming it.** Open the target by hand from the same
machine and network. If the manual visit also gets the wrong page, this is the IP or
the account, and no browser change helps. This ordering is the whole point of the
[detected-on-one-site checklist](playwright-detected-as-bot.md).
- **Compare against a stock browser, do not read a score.** Diff the fingerprint fields
against a real Firefox on the same machine. Anything that matches is not your problem
whatever the verdict says; anything that differs, other than the address, is a
candidate.
- **Assert presence, not absence.** A blocked or empty signal is itself a tell and a
failure, not a pass. [Why a green verdict can mean the feature is broken](how-to-test-bot-detection.md)
is the trap here.
- **Watch the score, not just the pass line.** A [trust or confidence score](browser-trust-score-explained.md)
tells you more than a binary verdict, and it is where residual behaviour and IP
signals show up even when the fingerprint is clean.
Run any of this at least ten times, through the proxy you actually deploy with, on the
machine you actually deploy on.
## Conclusion
Can you run Playwright without being detected? You can make it look like a real browser
driven by a real person, and that clears most JavaScript-based detection, which is what
invisible_playwright is built to do: a patched Firefox, a seed-consistent real-browser
fingerprint, and a genuine handshake because the browser is genuine. What it does not
do, on purpose, is fix your IP reputation, your per-account quotas, or your behaviour
and timing. Those are detected independently, and you supply the answers: a clean exit
and human pacing. Treat "undetectable" as a slogan and you will overclaim; treat it as
"looks like a real browser, plus the two layers I own", and you will actually pass.
## Short answers to the questions that lead here
**Can Playwright be truly undetectable?** No, and any tool that says so is lying. You
can remove the browser-level tells so the fingerprint and flags look like a real
person's browser, which clears most JavaScript detection. IP, account limits and
behaviour are detected separately.
**Why does invisible_playwright pass most checks then?** Because at the layer those
checks can see, it is a real Firefox: real fingerprint, no automation flags, a genuine
handshake. Most public detection is a JavaScript check, and that is exactly the layer
it addresses.
**If my fingerprint is clean, why am I still blocked?** Almost always the IP, the
account's own request history, or the behaviour. Those are not browser properties, so a
clean browser does not touch them.
**Does it fix my proxy or my IP reputation?** No. It deliberately does not touch the
exit address. A perfect browser on a known-bad IP still loses, and you supply the clean
exit.
**Does it make my automation behave like a human?** It gives you curved mouse motion
for clicks, but the pacing, typing rhythm and request volume come from your code. That
is the behaviour layer, and it is yours.
**Is a passing result on a basic bot-test page or a consistency checker enough to be safe?** No. It means the
browser layer is internally consistent and does not announce automation. The network
and behaviour layers are not in those tests at all.
## Sources
- This project's release gates, which compare the browser's fingerprint field by field
against a stock Firefox on the same machine and treat a suppressed signal as a
failure rather than a pass.
- The public detection suites named across this documentation set
(a basic bot-test page, a consistency checker,
[BotD](https://github.com/fingerprintjs/BotD), [FingerprintJS](https://github.com/fingerprintjs/fingerprintjs),
a raw-value inspector), each read from its own source rather than its
rendered verdict, retrieved 2026-08-28.
**See also:** [how to test whether your browser is detected](how-to-test-bot-detection.md),
[the checklist for being detected on one site](playwright-detected-as-bot.md), and
[what a browser trust score actually measures](browser-trust-score-explained.md).
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. It is built to look like
a real browser, which is why it passes most checks and why it will never claim to make
you invisible.*
@@ -1,146 +0,0 @@
---
title: "Why the same canvas draws differently on Windows and Linux"
description: "Canvas fingerprints differ across Windows and Linux because the rasteriser, font files, hinting and GPU path differ, not the canvas drawing code."
parent: "Canvas, WebGL, Fonts and Audio"
grand_parent: "Guides"
nav_order: 15
---
# Why the same canvas draws differently on Windows and Linux
Two machines running the exact same `fillText()` and `toDataURL()` calls can return
different bytes. A canvas hash never measures the drawing code alone: it measures the
text rasteriser, the actual font file behind that family name, the subpixel and
hinting policy, and whether a GPU or a software path drew it. Change any one and the
pixels change, with nothing wrong in the script itself.
## What actually differs, mechanically, between two operating systems
A `fillText()` call looks like one instruction, but several layers sit underneath it
before a pixel comes back, and any one of them can move the output between two
machines running the identical script.
### The text rasteriser and its hinting policy
Windows draws glyphs through DirectWrite, or the older GDI path; Linux desktops
typically use FreeType, fed by fontconfig. Both decide, pixel by pixel, how much of
each pixel a glyph edge covers, and that depends on the hinting level in force. A
glyph spanning eleven and a half pixels gets rounded differently by rasterisers with
different hinting rules, and the rounding shows up directly in the readback.
### Which font file actually backs the family name
`ctx.font = "16px Arial"` does not point at one universal file. On Windows it
resolves to Microsoft's own Arial. On a Linux desktop without Microsoft's fonts
installed, the same family name commonly falls back to a metric-compatible substitute
such as Liberation Sans, matching Arial's advance widths but not its glyph outlines.
Same request, same font name, a different file drawing every letter.
### Subpixel geometry and antialiasing
A desktop session with subpixel rendering on draws each glyph edge using a display's
red, green and blue sub-elements, producing colour fringing invisible at normal
viewing distance but visible in a raw pixel readback. A headless or virtualised
environment usually falls back to plain grayscale antialiasing instead, since there
is no subpixel layout to target. The glyph looks the same to a human; the bytes do
not match.
### GPU-accelerated versus software rendering paths
Canvas content can be composited by the GPU or rasterised in software, and which path
a machine takes depends on driver support. A software rasteriser and a
GPU-accelerated one do not have to agree on sub-pixel rounding, so identical draw
commands can differ by a handful of values before fonts even enter the picture.
## Why text is the least stable element on a canvas
Draw a plain filled rectangle and the pixel values are close to universal: a solid
colour passes through a rasteriser mostly unchanged, so a flat-colour hash tends to
agree across machines that disagree on everything else. Draw text instead, and every
layer named above gets involved at once: rasteriser, font file, hinting, subpixel
policy, GPU path. That is why a text-free canvas is far more stable across machines,
and why fingerprinting scripts almost always put a mixed-case string on the probe
canvas rather than a plain shape.
## A canvas hash is a platform tell as much as a machine tell
Because font rendering is tied so tightly to the operating system, a canvas hash
carries platform information whether anyone intended it to.
[Windows implies Segoe UI and a specific CJK set; a bare Linux desktop implies
DejaVu and Liberation and little else](headless-fonts-differ.md), and text rendered
through those two stacks does not converge. That gives a page a checkable claim
rather than a rare value: a browser whose user agent says Windows, drawing text whose
antialiasing looks like Linux's FreeType instead of Windows' DirectWrite, has
contradicted itself, and the check needs only one sample of each platform, not a
notion of "normal" in the abstract.
## What this project does about it, and what it does not
For the values a page can read back from a canvas, this project ties the output to
the session's own seed rather than to whatever the host has, which is what lets [the
same identity return the same canvas and WebGL hash on Windows and on
Linux](canvas-webgl-cross-platform-consistency.md); [`measureText()`'s numeric fields
get the same treatment through a different mechanism](measuretext-textmetrics-fingerprinting.md).
That is a statement about what a page can observe, not a claim that the rendering
pipeline was rewritten to erase itself: rasterisation here is real drawing, done by
[a real, bundled font stack](bundled-fonts-cross-platform.md) rather than a
substituted picture, which is why a screenshot still shows real text instead of
noise. The honest limit: the fix covers only the readback calls a page can make
today, and any new export path a future engine adds needs the same treatment first.
## Conclusion
A canvas hash is not a single number a browser decides to report. It is the visible
output of a rasteriser, a font file, a hinting policy and a rendering path, four
layers a stock browser never controls independently of its operating system. Text
draws through all four at once, which is why a text-bearing canvas is the first
readback worth checking when a hash looks wrong for the platform a session claims to
be.
## Short answers to the questions that lead here
**Why does my canvas fingerprint differ between Windows and Linux?** The pixels come
from the OS's rasteriser, its font files, its hinting and subpixel policy, and
whether the GPU or software drew the glyph, not from the drawing code.
**Does the same drawing code produce the same canvas hash on every OS?** No, not on
a stock browser. Identical calls run through a different rasteriser and font file on
each platform, and the readback reflects that.
**Is a canvas fingerprint a browser tell or a platform tell?** Mostly a platform
tell. Two browsers on the same OS, drawing the same text, agree far more closely
than one browser does across two operating systems.
**Does removing text make the hash more stable?** Yes. Solid fills pass through a
rasteriser largely unchanged, while text pulls in the font stack, hinting and
subpixel geometry at once.
**Can a browser match its canvas hash to a claimed operating system exactly?** Only
by controlling what a page reads back, since the render itself comes from whichever
rasteriser and font files are actually installed.
**See also:** [canvas fingerprint noise and why per-call randomising
fails](canvas-fingerprint-noise.md), [why a canvas fingerprint changes every
run](canvas-fingerprint-changes-every-run.md), and [measureText and TextMetrics as a
fingerprinting surface](measuretext-textmetrics-fingerprinting.md).
## Sources
- [MDN: `CanvasRenderingContext2D.fillText()`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillText),
[MDN: `HTMLCanvasElement.toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
and [MDN: `CanvasRenderingContext2D.getImageData()`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData),
for the calls above.
- MDN, `CanvasRenderingContext2D.measureText()`,
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText -
it "returns a TextMetrics object that contains information about the measured text
(such as its width, for example)", which is the surface this page's text argument rests
on. Read 5 September 2026.
- This project's own measurements on font rendering, font bundling and canvas
readback, referenced via the linked pages on this wiki.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. A canvas hash was never
really about the canvas; it was always about everything underneath it.*
@@ -1,295 +0,0 @@
---
title: "Canvas fingerprint changes every run: use a seed"
description: "Canvas, WebGL and audio hashes change every Playwright run because each session draws a fresh identity. Pass a fixed seed to make readbacks byte-identical."
parent: "Testing and Troubleshooting"
grand_parent: "Guides"
nav_order: 6
---
# Canvas fingerprint changes every run: use a seed
A canvas fingerprint that changes on every Playwright run is not a leak or a bug. Without
a seed, each session is handed a fresh, self-consistent device, so the canvas, WebGL and
audio readbacks are recomputed at every launch. Pass a fixed seed and all three come back
byte-identical, run to run. That single argument is the whole fix.
You open a fingerprinting page twice from the same automation, and the canvas hash
is different each time. The WebGL hash moves too, and so does the audio one. Nothing
in your code changed between the two runs, and yet the machine looks like a different
machine.
This is one of the most common confusions people hit with a fingerprint-spoofing
browser, and it is almost always a misread rather than a bug. A hash that changes on
every run is not noise leaking into your readback. It is a fresh identity being drawn
for each session, exactly as designed, and the fix is one argument.
## What "changes every run" actually means
Canvas, WebGL and audio are the three surfaces that read back a rendered value: you
draw something, then read the pixels or the samples out and hash them. On a real
machine that hash is stable, because the same GPU, the same font stack and the same
audio pipeline draw the same thing every time.
In this browser, those three readbacks are overwritten before they reach your code.
The value you read is a pure function of one number: an internal hardware seed the
wrapper derives from the identity seed of the session. Same seed in, same bytes out,
which is the direction you can rely on. The reverse does not hold as neatly: two
different identity seeds can land on the same hardware seed and hand you the same
readback, so a changed seed is not a guarantee of changed bytes. If you need two
sessions to look like two machines, check the readback rather than assuming it.
So when you launch without passing a seed, each session gets a new one, and the three
hashes move together in a self-consistent way. That is not the spoof failing. That is
the spoof drawing a new device for you. The trouble is that a device which looks
brand new on every visit is its own signal, and it is usually not the signal you want.
## Why a per-run identity reads as a rotating device
A stable fingerprint is not automatically a suspicious one. What draws attention is a
fingerprint that behaves in a way real hardware cannot.
Real hardware does not change its canvas hash between two visits. If a site, or a
linkability service like [FingerprintJS, which hands you a visitor ID](fingerprintjs-visitor-id.md),
sees the same cookie or the same login return with a different canvas hash, a
different WebGL renderer and a different audio signature every time, that is a machine
that is repainting itself. Very few legitimate users look like that, and a scorer that
watches for churn will notice.
So the per-session default is the right behaviour for one job and the wrong one for
another:
- **You want a fresh identity per session.** Many short, unrelated visits, nothing
that should be linked, no returning account. Launch with no seed and take a new
device each time. This is the default for a reason.
- **You want the same identity every session.** A returning account, a persisted
profile, or simply a bug you are trying to reproduce. Here a rotating device is a
liability, and you pin it with a seed.
The mistake is not the rotation. The mistake is leaving it on when the situation calls
for a stable machine.
## Pin the seed and the readbacks stop moving
Pass a seed explicitly and every field it implies comes back identical: the GPU
string, the canvas hash, the WebGL hash, the audio context, the fonts, the screen.
The browser object you get back is a real Playwright
[`Browser`](https://playwright.dev/python/docs/api/class-browser), so the rest of your
code does not change.
```python
from invisible_playwright import InvisiblePlaywright
# Same seed -> same canvas / WebGL / audio hash, every run.
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com")
# read your fingerprint page here; the readbacks are now stable
```
Run that twice and the three readbacks are byte-identical between the two runs,
because they are computed from the same seed both times. Change the number and you get
a different, equally self-consistent machine:
```python
# A different but still internally coherent device.
with InvisiblePlaywright(seed=1001) as browser:
...
```
The async surface is the same, one keyword apart:
```python
from invisible_playwright.async_api import InvisiblePlaywright
async with InvisiblePlaywright(seed=42) as browser:
page = await browser.new_page()
await page.goto("https://example.com")
```
If you launched without a seed and now want to keep the identity you happened to get,
you do not have to guess it. Every session records the seed it was generated from, so
log it once and you can replay that exact machine later:
```python
sf = InvisiblePlaywright() # no seed -> a fresh one is drawn
with sf as browser:
print("seed =", sf.seed) # write this down to reproduce this device
page = browser.new_page()
page.goto("https://example.com")
```
## Prove it: read the same hash twice
Do not take the determinism on faith. The whole point of the earlier troubleshooting
pages is that you [assert the presence of the right value rather than the absence of a
wrong one](how-to-test-bot-detection.md), and this is a case where you can measure the
right value directly.
![Four sessions of the same page served from localhost. Two sessions launched without
a seed report different canvas and WebGL readback hashes and even a different device
pixel ratio, while two sessions launched with the same seed report identical hashes and
identical
pixels.](https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/img/canvas-seed-vs-no-seed.png)
Four sessions above, one page served from `127.0.0.1`, hashes computed inside the page
so the numbers and the picture come from the same run. The two unseeded sessions
disagree on both readbacks. The two seeded ones agree on both, and their screenshots
are identical pixel for pixel, 0 of 79,800 differing.
The detail worth noticing is that the drawing looks the same in all four panels. Your
eye cannot separate them; the hash separates them immediately. That is the shape of
this whole surface: the readback is not the picture, and a page that hashes it is not
looking at what you are looking at.
The second unseeded panel is also physically larger, because that session drew at a
different device pixel ratio. It is not only the readbacks that get redrawn per
session: the device does.
**Two things about that panel are worth stating precisely, because guessing them wrong
sends you debugging the wrong thing.**
**What changes on every unseeded launch is the device, not necessarily the readback.**
Five unseeded launches, reading four values each: the screen alternated between
1920x1080 and 2560x1440, the core count between 4 and 12, the device pixel ratio
between 1 and 1.25. All five moved. The canvas readback, over the same five launches,
returned the same value four times. So **two unseeded runs agreeing on a canvas hash is
not evidence that your seed took effect** - it is the likelier outcome. Check a value
that varies freely, like the screen or the core count, when you want to know whether a
new identity was drawn.
**And if you hash `toDataURL()`, you are partly hashing the PNG encoder.** On the
bundled Firefox, three launches drawing the identical canvas returned three different
`toDataURL()` hashes while `getImageData()` returned the same pixel bytes all three
times. The pixels never moved; the encoded string did. A canvas hash that changes
between two runs of a *stock* browser is usually this, not a fingerprinting defence, and
it is not something `privacy.fingerprintingProtection` or `privacy.resistFingerprinting`
explains: both were tested off and on, and the encoded string kept moving either way.
Compare `getImageData` bytes when you want to know whether the drawing changed.
Draw to a canvas, read it back with
[`toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL),
and compare the hash across two launches with the same seed:
```python
import hashlib
from invisible_playwright import InvisiblePlaywright
DRAW = """() => {
const c = document.createElement('canvas');
c.width = 300; c.height = 150;
const ctx = c.getContext('2d');
ctx.textBaseline = 'top';
ctx.font = '16px sans-serif';
ctx.fillStyle = '#069';
ctx.fillText('fingerprint probe 12345', 10, 10);
return c.toDataURL();
}"""
def canvas_hash(seed):
with InvisiblePlaywright(seed=seed) as browser:
page = browser.new_page()
page.goto("https://example.com")
data_url = page.evaluate(DRAW)
return hashlib.sha256(data_url.encode()).hexdigest()
a = canvas_hash(42)
b = canvas_hash(42)
c = canvas_hash(1001)
print("same seed match:", a == b) # True: byte-identical across runs
print("different seed differs:", a != c) # True: a different device
```
The first comparison is the one that matters. `a == b` being `True` is the readback
proving it is a stable function of the seed, not per-call randomness. This is exactly
what the project's own consistency gate checks on every release: it launches the same
seed more than once and requires an identical visitor ID from a linkability library,
and it fails the build if the two runs disagree. A green gate there means the same seed
is the same machine, run to run.
Because the readback is a function of the seed and not of the host, the same seed also
holds its hash across operating systems, which is
[why a Linux container and a Windows laptop can return the same canvas](canvas-webgl-cross-platform-consistency.md).
If instead the two hashes for one seed disagree within a single machine, that is the
tampering signal to chase, and reading the same value twice in one session is
[the cheapest such check there is](canvas-fingerprint-noise.md).
## Match the seed to the profile
Pinning the seed and pinning the profile are two halves of one decision. If you keep a
[persistent profile so cookies and storage survive between runs](persistent-profiles.md),
give it a stable seed as well. A profile that returns with the same cookies but a
different canvas hash is telling two stories at once: the account remembers you, the
hardware does not, and that contradiction is easier to spot than either half alone.
The clean pairings are the obvious ones. A fresh throwaway profile takes a fresh seed.
A durable identity that comes back tomorrow takes the same profile and the same seed
it had yesterday. Keep the two in step and the machine you present stays coherent over
its whole life instead of only within a single launch.
## Conclusion
A canvas hash that changes on every run is not a leak, it is a new device being drawn
per session, and it is the correct default for unrelated one-off visits. When you need
a machine that stays the same, whether for a returning account, a persisted profile or
a reproducible bug, pass a seed. The three readbacks then become a byte-identical
function of that seed, run to run and across operating systems, and the account and the
hardware finally tell the same story.
## Short answers to the questions that lead here
**Why does my canvas fingerprint change every run?** Because each session without a
seed gets a fresh, self-consistent identity by design. The readback is a function of
the session's seed, and a new session means a new seed.
**How do I make the canvas hash stable?** Pass a fixed seed at launch, for example
`InvisiblePlaywright(seed=42)`. The canvas, WebGL and audio readbacks then come back
identical on every run.
**Is a changing fingerprint a bug?** No. It is deliberate rotation. It becomes a
problem only when you needed a stable machine, for instance behind a returning account
or a persisted profile, and left rotation on.
**Does the same seed give the same hash on a different machine?** Yes. The readback is
computed from the seed, not from the host GPU or fonts, so the same seed holds its
hashes across operating systems.
**How do I reproduce the exact identity from an earlier run?** Read the session's seed
after launch and log it. Passing that number back reproduces the same device.
**Should the seed match my persistent profile?** Yes. A profile that returns with the
same cookies but a different fingerprint is a contradiction. Keep one stable seed per
durable identity.
**Should I hash `toDataURL()` or `getImageData()`?** `getImageData`, if you want to know
whether the drawing changed. Three launches of the bundled Firefox drawing the same
canvas returned three different `toDataURL` hashes and the same pixel bytes every time:
the encoded string moves on its own, so a data URL hash reports changes the canvas never
made.
## Sources
- The project's fingerprint generator, in which the canvas, WebGL and audio readbacks
are computed as a pure function of a hardware seed derived from the session seed.
- The release consistency gate, which relaunches a fixed seed and requires an
identical visitor ID from run to run, and fails the build otherwise.
- The [quickstart](quickstart.md) and [configuration](configuration.md) pages in this
documentation set for the seed argument and the API it belongs to.
- Playwright's own [`Browser` API reference](https://playwright.dev/python/docs/api/class-browser)
for what `new_page` returns: the object every example above drives is the standard
Playwright API, not a fork of it.
- MDN's [`HTMLCanvasElement.toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
reference for the readback method the proof above uses to pull bytes off the canvas.
**See also:** [how to test whether your browser is detected](how-to-test-bot-detection.md)
for the assert-the-right-value method, and
[the checklist for being detected on one site](playwright-detected-as-bot.md), whose
last step is to pin the identity so a failure is reproducible.
---
*Written while maintaining [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level driven by stock Playwright. The seed is the same
lever whether you are hiding rotation or reproducing a bug: pin it and the machine
stops moving.*
-229
View File
@@ -1,229 +0,0 @@
---
title: "Canvas fingerprint noise: why per-call randomising fails"
description: "Per-call canvas fingerprint noise fails a detector that reads twice and flags as masking on a second check. What a consistent canvas actually looks like."
parent: "Canvas, WebGL, Fonts and Audio"
grand_parent: "Guides"
nav_order: 1
---
# Canvas fingerprint noise: why per-call randomising fails
Per-call canvas fingerprint noise fails because a detector can read the same canvas
twice. Real hardware returns an identical result both times; per-call noise returns two
different ones, which flags the browser as tampering rather than merely unusual. The fix
is not more noise, it is noise that stays consistent within a session and across sessions
of the same identity.
The standard advice for canvas fingerprinting is to add a little noise to the pixels so
your hash is not stable. It is the most widely deployed anti-fingerprinting technique
there is, and against a detector that asks once it works.
Against a detector that asks twice it is the thing that gets you caught. This page is
the check that catches it, the second check almost nobody knows about, and what a
consistent alternative has to look like.
## The check that catches per-call noise
Render the same canvas twice in the same page with
[`toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
and compare.
```js
function hash() {
const c = document.createElement('canvas');
const ctx = c.getContext('2d');
ctx.textBaseline = 'top';
ctx.font = '14px Arial';
ctx.fillText('abcdefghijklmnop', 2, 2);
return c.toDataURL();
}
hash() === hash(); // real hardware: true. Per-call noise: false.
```
On real hardware the answer is always identical, because drawing the same shapes with
the same rasteriser produces the same pixels. There is no source of variation.
A tool that adds `Math.random()` to the pixel values on every read produces two
different answers, and now the page knows something far more specific than your canvas
hash: it knows your canvas is being tampered with. An unusual hash makes you rare. A
hash that changes between two reads one millisecond apart makes you impossible.
This is four lines of JavaScript. Assume it is running.
## The second check, which is subtler
A detector draws a **small canvas filled with a handful of solid reference colours**,
then reads it back with
[`getImageData()`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData)
and checks those exact colour values came back unchanged. Not a hash, not a comparison
between two reads: an assertion that a flat red rectangle is still exactly that red.
The first check above is well known enough that better tools already seed their noise,
so two reads agree. This second shape is subtler, and it is worth understanding because
it caught us.
Real rendering does not change a solid fill. Any per-pixel noise does, even seeded
noise, even tiny noise. And a tool that fails this is not scored as "unusual", it is
scored as **masking detected**, which is a different and worse category.
The fix is a guard: before altering anything, count the distinct colours in the buffer.
If there are only a few, the render is a reference probe rather than a fingerprint, and
you leave it alone. Small buffers get the same treatment, for the same reason.
We shipped without that guard and learned it from a detector telling us so. The general
form is the same one that appears in audio and everywhere else:
> A detector does not have to recognise your noise. It only has to ask a question whose
> correct answer is already known, and check whether it still gets that answer.
## Additive noise versus substitution, and the cost nobody states
There are two ways to make a canvas read return something other than the truth.
| Approach | What it does | Same hash across machines? | Main cost |
|---|---|---|---|
| Additive noise | Perturbs each pixel slightly; the image still looks the same, the hash changes | No. The operating system's text stack still shows through the perturbation | The underlying platform signature leaks |
| Substitution | Replaces pixel values wholesale with seed-derived values | Yes. The hash is a pure function of the seed | Real canvas work (cropping, QR decoding, a video frame) gets the substituted values too |
**Additive.** Perturb each pixel slightly. The image still looks like the image, the
hash changes. This is what extensions do.
**Substitution.** Replace the pixel values wholesale with values derived from a seed.
The hash is then a pure function of the seed and nothing else, which means it is
identical on every machine running that identity, including a Linux server pretending
to be Windows.
Substitution is stronger for consistency, because with additive noise the underlying
rendering still carries the signature of
[the operating system's text stack](bundled-fonts-cross-platform.md) under the
perturbation. Two machines with different font backends produce different base images,
and a small perturbation on top does not hide that -
[this is the reasoning that gets the same seed to the same byte-identical hash on
Windows and Linux](canvas-webgl-cross-platform-consistency.md), not just a similar one.
Now the cost, which is real and which most write-ups omit. A substitution applied at
readback does not know why the page is reading the canvas. It cannot distinguish a
fingerprinting probe from an application that is cropping a photo, decoding a QR code,
capturing a video frame or applying a filter. Those all read pixels through the same
API, and they all get the substituted values.
So if your automation does real canvas work, you have to know this is happening. It is
a trade, not a free win, and anyone presenting per-pixel protection as costless has not
built one.
## What a defensible canvas looks like
Working backwards from the checks above:
- **Stable within a session.** Two reads agree. Non-negotiable and trivially checked.
- **Stable across sessions of the same identity.** A hash that changes every launch
describes a machine that changed its GPU overnight.
- **Different between identities.** Otherwise every user of the tool shares one hash,
which is its own cohort.
- **Solid fills come back solid.** Reference probes are untouched.
- **Consistent with the rest of the claim.** A canvas that says one platform under a
user agent that says another is caught by comparison, not by rarity.
That list is short and every item is a thing a page can verify in a few lines. That is
the level the checks are actually at.
The same canvas element carries a second surface that doesn't involve reading a single
pixel: [`measureText()` and its ten-plus numeric fields](measuretext-textmetrics-fingerprinting.md),
which fail the same way for the same reason if the noise added to them accumulates
instead of staying bounded.
## Substitution, seen on one page
![Two panels listing three values. The canvas pixel hash differs between the bundled
Firefox and the patched engine. The measureText width is 115.65 px in both, and both
report that the screen and the viewport differ.](https://raw.githubusercontent.com/oss-invisible/playwright/main/docs/img/canvas-fingerprint-noise-values.png)
One page served from `127.0.0.1`, three values, two browsers. The canvas pixel hash
moves and the text width does not: `measureText` returns `115.65 px` in both.
That pairing is the distinction this page is built on. A substituted readback changes
what comes out of the canvas without changing the layout metrics the same text produces,
so a detector comparing the two does not find the mismatch that per-call noise creates.
The hash comes from `getImageData` bytes on purpose: `toDataURL` output moves between
launches on the bundled browser too, for encoder reasons that have nothing to do with
the drawing.
## Checking your own
```js
const a = hash(), b = hash();
console.log('stable within session:', a === b);
// solid-fill probe
const c = document.createElement('canvas'); c.width = 70; c.height = 5;
const ctx = c.getContext('2d');
ctx.fillStyle = '#ff0000'; ctx.fillRect(0, 0, 10, 5);
const px = ctx.getImageData(0, 0, 1, 1).data;
console.log('solid red survived:', px[0] === 255 && px[1] === 0 && px[2] === 0);
```
Then relaunch with the same identity and confirm the first hash is the same value. Two
launches, one identity, one hash.
## Conclusion
Per-call noise fails the moment a page reads the same canvas twice, and seeded noise
that survives that check can still fail the second time a page draws a flat reference
colour and checks it came back unchanged. Both checks run in a handful of lines of
JavaScript, and both are already in use.
What passes both is substitution: pixel values that are a pure function of a seed,
stable within a session, stable across relaunches of the same identity, and different
between identities. The cost is real. A substitution applied at readback cannot tell a
fingerprinting probe from a QR scanner or a photo crop, so anything reading canvas
pixels for a genuine reason inherits the substituted values too.
## Short answers to the questions that lead here
**Does adding noise to canvas prevent fingerprinting?** It prevents a stable identifier
and it announces that something is modifying the canvas. Which of those matters depends
on whether anything is checking.
**Is Canvas Blocker style protection detectable?** The per-call randomisation kind is,
in four lines. That is a statement about the technique, not about any particular tool.
**Why does my canvas hash change on every page load?** Because something is randomising
per call or per session. No real machine does that; there is
[a dedicated page on why a canvas fingerprint changes every run](canvas-fingerprint-changes-every-run.md).
**Should the hash be unique to me?** It should be consistent for one identity and
different between identities. Unique-per-request is not privacy, it is a signature.
**Does `privacy.resistFingerprinting` solve this?** It alters canvas readings, and it
also makes you identifiable as someone running that mode. There is
[a longer page on that trade](resist-fingerprinting.md).
**Will noise break my application?** If you read pixels for anything real, yes,
potentially. Protection applied at readback cannot tell your QR decoder from a
fingerprinting probe.
## Sources
- [MDN: `HTMLCanvasElement.toDataURL()`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL)
and [MDN: `CanvasRenderingContext2D.getImageData()`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData),
retrieved 2026-08-28, the two readback APIs the checks on this page run directly against.
- The two protections named above: [Canvas Blocker - Fingerprint Protect](https://addons.mozilla.org/en-US/firefox/addon/canvas-blocker-no-fingerprint/),
a Firefox extension whose modes include per-call random noise, and Mozilla's own
[Resist Fingerprinting support page](https://support.mozilla.org/en-US/kb/resist-fingerprinting)
for what `privacy.resistFingerprinting` changes on a canvas read, both retrieved 2026-08-29.
- This project's own testing notes: the solid-fill guard shipped without it and was
learned from a detector telling us so, and the field-by-field canvas parity
measurements referenced throughout.
**See also:** [AudioContext fingerprinting](audiocontext-fingerprinting.md), where the
same per-call mistake has the same consequence and where our own noise turned out to be
the thing being detected, [what sannysoft checks](sannysoft-explained.md), whose
canvas-in-iframe rows are a consistency test rather than a fingerprint test, and
[how a raw-value inspector reports the canvas and WebGL hash](canvas-webgl-readback-hash-explained.md).
---
*From the notes of [invisible_playwright](https://github.com/oss-invisible/playwright),
a Firefox patched at the C++ level. The solid-fill guard exists because we shipped
without it.*
Loaded 100 of 1343 files, more files were not shown because too many files have changed in this diff. Show more