Repository navigation
pinning
pin lets you force specific fingerprint fields to a fixed value while everything else stays seed-derived. Use it to replicate a known device (e.g. an NVIDIA 1080p laptop), test a specific GPU/screen combo, or hold down just one noisy signal that a target site weighs heavily.
By default, every field of the fingerprint is sampled from a Bayesian network of real-world Firefox telemetry, seeded by an integer. Pass the same seed and you get the same fingerprint; omit it and each session is fresh. pin sits on top of that: it overrides individual fields without giving up the seed for the rest.
from invisible_playwright import InvisiblePlaywright
with InvisiblePlaywright(
seed=42,
pin={
"gpu.renderer": "ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0, D3D11)",
"gpu.vendor": "Google Inc. (NVIDIA)",
"screen.width": 2560,
"screen.height": 1440,
"hardware.concurrency": 16,
},
) as browser:
...Pinning a field skips the sampler only for that field - every other field still draws from its own conditional distribution, using the parent's original posterior rather than the value you just pinned. A pinned value does not pull correlated fields along with it.
The generator is a Bayesian network: every field has a probability distribution conditioned on its parents. For example gpu_class_tier conditions screen.tier and the MSAA sample count (drawn, though no longer pinnable or emitted - see below). It does NOT condition hardware.concurrency: that one is a root, sampled from the real Windows marginal (Node("hw_concurrency", parents=[])), because core count is an OS-level fact rather than a GPU-conditioned one. A high-end GPU will tend to pair with a 2560x1440+ screen; the core count is drawn independently.
When you pin a field:
- The pinned value is written directly, bypassing the sampler.
- Unpinned children are still sampled from their conditionals - using the parent's original posterior, not the pinned value.
That last point is the subtle one, and gpu.* is the exception to it: a GPU pin selects a whole persona, so the class of the persona you picked conditions the screen, concurrency and storage still being drawn (see the gpu.* section below). Where an implausible pairing can still be built is by pinning both halves, because a value you write explicitly is never re-drawn: put a low_end persona next to screen.width: 3840, screen.height: 2160 and you get exactly that, on a tier that draws a 4K screen zero times in 200 seeds.
Rule of thumb: pin correlated fields together, or just trust the sampler.
Keys are dotted paths. All values are optional - omitted keys fall back to the sampler.
| Key | Type | Example | Notes |
|---|---|---|---|
gpu.class_tier |
str | "mid_range" |
Selects a persona of that class. Only classes the validated pool actually contains can be pinned; anything else raises. |
gpu.vendor |
str | "Google Inc. (NVIDIA)" |
Selects a persona by vendor. Combined with gpu.renderer both must match the same persona. |
gpu.renderer |
str | see below | Selects a persona by its Windows ANGLE string, the one WebGL reports as UNMASKED_RENDERER_WEBGL. |
A GPU pin SELECTS a persona, it does not set a string. This is the one place
in this table where you are not free to invent a value, and the reason is that
the renderer string does not travel alone. Around 81 getParameter values, the
shader-precision formats and the whole extension list belong to the same GPU, and
a detector cross-checks the name against them - a name over another card's
parameters is the mismatch that scores ~0.70 on a commercial checker. So the
engine ships a pool of validated personas, each one a complete and coherent set,
and a pin picks one of them.
Two consequences:
-
A renderer, vendor or class the pool cannot present is REFUSED, with a
ValueErrorthat names the values that are available. It is not silently ignored. Up to 2026-09-15 it was: a pin for an RTX 4090 set the label on the profile object and left the browser reporting the seed's own GPU, soInvisiblePlaywright(pin={"gpu.renderer": ...})returned a profile that disagreed with the page. Do not hard-code the valid strings from this page - read them off the exception, which is generated from the pool itself. -
A GPU pin conditions the rest of the profile. Screen, concurrency, MSAA and
storage quota are re-sampled around
the pinned persona's class, so you cannot end up with a low-end GPU behind
high-end storage. You do not need to pin
class_tieralongsiderenderer; pinningclass_tieralone is still the coarse handle, it just picks the persona too.
screen.avail_width and screen.avail_height left this table on 2026-09-15
for the same reason as the tier: the engine derives the available rect from
width, height and taskbar_px, and none of the three avail values is
emitted, so pinning one moved a label on the profile and nothing a page can
read. Pin screen.width, screen.height and screen.taskbar_px; availWidth
and availHeight follow from them, which is what keeps two properties of one
window from disagreeing.
screen.tier was in this table until the same day and is not a knob: pins are
applied after the sampler has drawn, so pinning the tier could not condition the
screen it names, and it emitted no preference. It is the sampler's own label for
the screen it chose, and it is still on the profile as one. Pin screen.width
and screen.height to choose a screen.
codec.webspeech_synth left the table the same day, and left the profile with
it. media.webspeech.synth.enabled is emitted as a constant true, which is
what retail Firefox does on desktop; the sampled field only ever made the
profile disagree with the browser, on about 12% of seeds.
| Key | Type | Example |
|---|---|---|
screen.width |
int | 2560 |
screen.height |
int | 1440 |
screen.dpr |
float |
1.0, 1.25, 1.5, 2.0
|
screen.color_depth |
int | 24 |
screen.refresh_hz |
int |
60, 144
|
| Key | Type | Example | Notes |
|---|---|---|---|
hardware.concurrency |
int | 16 |
navigator.hardwareConcurrency. |
hardware.storage_quota_mb |
int | 10_000 |
navigator.storage.estimate().quota / 1024**2. |
hardware.max_touch_points |
int | 0 |
navigator.maxTouchPoints. 0 is what a desktop without a touchscreen reports, which is what the personas claim; it was a constant compiled into the binary until 2026-08-08, correct but not inspectable and not overridable. |
hardware.voices |
str | (the session language's voices) | The speechSynthesis voice list, as the engine parses it: name|lang|default|localService, comma separated. Unpinned, it follows the session's first language: English gives the English (United States) set, Italian the set of a Windows with English UI and Italian added, as measured on one; a language without a measured set keeps the English one, because a table has to be measured on a real install, not invented. A pin wins over the table. |
hardware.fake_media_devices |
bool | True |
One fake audio input and one fake video input on every host, so enumerateDevices does not report the machine's real hardware. Measured in a secure context (about:blank is not one, and measuring there made the two hosts look like they agreed because both returned nothing): Linux enumerated 0 real devices and Windows 2. |
hardware.media_enumeration_ms |
int | 412 |
How long the first navigator.mediaDevices.enumerateDevices() of a session takes, in ms. With fake_media_devices the engine no longer asks the host's audio stack for its speakers, whose time it was (15-40 ms on Linux, about 300 on Windows), and answers after this long on every host; later calls are fast, as in Firefox. Drawn from the seed between 240 and 640, the range retail Windows Firefox took on one machine in two states. Ignored with real devices. Needs firefox-45. |
hardware.storage_enabled |
bool | True |
Whether cookies, localStorage, sessionStorage and indexedDB all work. One field for four booleans because Gecko exposes them through two levers, not four. They used to be true because nobody touched network.cookie.cookieBehavior or dom.storage.enabled, i.e. because the upstream defaults happened to be right. |
hardware.generics |
str | (20 rows) | The CSS generic families, as generic|lang|family records separated by newlines. It was ten rows compiled into gfxPlatformFontList.cpp; the x-math row is load-bearing and easy to lose, because without it every MathML glyph renders in Times New Roman on every host, which no cross-OS gate can see. |
hardware.accessibility_overrides |
bool | False |
Reduced motion, reduced transparency and inverted colours. Content-exposed media features that read the HOST through different code on each platform. They agreed across our two builds when measured - by luck, both machines having no accessibility settings on - and nothing declared them. Costs nothing to close: Firefox reads these generic prefs before the native path. |
screen.taskbar_px |
int | 48 |
How much shorter availHeight is than height. It was the literal 48 in three places - the generator, nsScreen.cpp and nsGlobalWindowOuter.cpp - kept in step by hand. |
The window around the page is not a pin: since 0.29.0 (core 38) it is a frame measured on Windows Firefox at each display scale, so outerWidth, screenX and mozInnerScreenY follow screen.dpr, which takes 1, 1.25, 1.5 or 2. A maximized window answers screenX -8 and is 16 wider than the work area at 100%, and a popup answers its own frame. The keys screen.chrome_w, screen.chrome_h, screen.window_x and screen.window_y are gone.
| Key | Type | Example | Notes |
|---|---|---|---|
audio.sample_rate |
int |
48000, 44100
|
AudioContext.sampleRate. |
audio.output_latency_ms |
float | 20.0 |
AudioContext.outputLatency * 1000. |
audio.max_channel_count |
int |
2, 6, 8
|
AudioDestinationNode.maxChannelCount. |
| Key | Effect |
|---|---|
codec.av1_enabled |
true -> canPlayType('video/av01') returns "probably". |
codec.webm_encoder_enabled |
MediaRecorder advertises WebM support. |
codec.mediasource_webm |
MediaSource.isTypeSupported('video/webm'). |
codec.mediasource_mp4 |
MediaSource.isTypeSupported('video/mp4'). |
There is no pinnable webgl.* key. webgl.msaa_samples was one until 2026-09-15,
and pinning it did nothing on Windows: the emitted sample count is held at 4 so
gl.SAMPLES is constant across sessions, because a varying count changes the
WebGL parameters hash even when the renderer does not. Honouring the pin on Linux
alone is what made the two builds emit different counts for the same seed - seven
of eight measured seeds. Both emit 4 now, so a pin has nothing left to move, and
the key refuses rather than looking like it worked.
The Windows system-font surface: what a page reads from font: menu and the
other CSS system-font keywords, plus the default monospace size. Not the font
list - see the note about fonts below, which is a different thing that went
away for a different reason.
Unlike every other group here, these are not sampled. Every Windows machine answers Segoe UI at 12px, so varying them per profile would manufacture a diversity that does not exist in the population being imitated - the variation would be the signal. They are pinnable for A/B work, not for realism.
| Key | Type | Example | Notes |
|---|---|---|---|
font.ui_family |
str | "Segoe UI" |
Family behind font: menu and font: caption. The form-control fonts take font.dialog_family. |
font.dialog_family |
str | "MS Shell Dlg 2" |
The family of the form-control fonts, -moz-button, -moz-field and -moz-list, which is not the shell font: Windows Firefox builds them from the message font under the name "MS Shell Dlg 2", and a page reads it with one getComputedStyle(input).fontFamily. |
font.ui_size |
str | "12" |
A string, not an int. Gecko reads this pref through Preferences::GetFloat, which parses the value from its text form; an int is not rejected, it is ignored, and the UI silently falls back to 16px. |
font.monospace_size |
int | 13 |
Default monospace size. Firefox ships 13 on Windows and 12 in its Unix block, and the gap is directly readable as the width of the monospace generic at the default size. |
font.alpha_ladder |
tuple of int | (0, 18, 35, ..., 255) |
The distinct alpha levels a Windows rasteriser leaves on an antialiased glyph edge, ascending, first 0 and last 255 so a fully transparent or fully opaque pixel never moves. Canvas readback snaps onto these. An empty tuple disables the snap, which is what you want when measuring what the unsnapped edge looks like. |
font.manifest |
str | (the bundled manifest) | The whole font manifest the engine parses: families, per-face vertical metrics, the alias table, the coverage ladder and the per-script fallback lists. Pin it to hand the engine a different font surface without rebuilding it. An empty string tells the engine to use the copy in its own directory. |
font.cleartype_gamma |
int | 2200 |
DirectWrite's text gamma, x1000. One of six values the engine used to read from IDWriteRenderingParams, i.e. from the machine's own ClearType settings, which differ per monitor and per user. |
font.cleartype_contrast |
int | 100 |
Enhanced contrast level, x100. |
font.cleartype_level |
int | 100 |
ClearType level, x100. |
font.cleartype_pixel_structure |
int | 1 |
Subpixel geometry: 0 flat, 1 RGB, 2 BGR. |
font.cleartype_rendering_mode |
int | 5 |
DirectWrite rendering mode. |
font.freetype_gamma |
int | 220 |
The FreeType equivalent of cleartype_gamma, x100. Declared so the Linux build rasterises with Windows' curve instead of Skia's linear default. |
font.freetype_contrast |
int | 100 |
The FreeType equivalent of cleartype_contrast, x100. |
font.system_text_quality |
int | 5 |
The text quality the engine would otherwise ask the host for: 0 none, 4 standard antialiasing, 5 ClearType. It decides whether the ClearType parameters above apply at all, so on a machine with ClearType off (an RDP session, a VM, a Server) the same binary would draw different text from the same declaration. Declared, never asked of the machine. Any other value is refused. |
The Windows desktop settings a page can read, declared instead of asked of the machine. Each one is a value whose engine default either reads the host or differs between Windows and Linux, so without it the same persona answered with the machine it ran on. The defaults are a Windows 11 desktop at its defaults, and they are not sampled.
| Key | Type | Default | Notes |
|---|---|---|---|
desktop.text_scale |
int | 100 |
Windows' "Text size" slider, in percent. It multiplies the device pixel ratio, so 100 is the value that leaves screen.dpr the one number for it. |
desktop.overlay_scrollbars |
bool | True |
Windows 11's "Automatically hide scroll bars": scrollbars draw over the content, so a scrolling box loses no width (offsetWidth - clientWidth is 0). Off, they take desktop.scrollbar_size. |
desktop.scrollbar_style |
int | 5 |
How scrollbars are drawn: 5 Windows 11, 4 Windows 10, 2 GTK. |
desktop.scrollbar_size |
int | 17 |
The width a scrollbar takes when it is not an overlay, at 96 dpi. |
desktop.drag_threshold |
int | 3 |
How far the pointer moves before dragstart. |
desktop.scroll_to_click |
bool | False |
A click in a scrollbar's track jumps there instead of paging. |
desktop.document_colors |
int | 0 |
When the page's colours give way to the system's: 0, the Windows default, only under a high-contrast theme. |
desktop.select_styling |
bool | True |
A page may style a <select>'s popup, as on Windows. |
desktop.word_select_eats_space |
bool | True |
A double click selects the word and the space after it, as on Windows; a page reads it with getSelection() after a real double click. |
desktop.srgb_output |
bool | True |
Tagged images are converted to sRGB instead of the host monitor's colour profile, which a small canvas reads back. |
desktop.os_client_certs |
bool | False |
Whether the operating system's personal certificates answer a server that asks for one. Off: the persona has none. |
desktop.theme_accent |
bool | False |
Whether the page-visible AccentColor follows the desktop theme's accent; on Windows it does not. |
desktop.hour_cycle |
int | 0 |
The clock format, 0 meaning the locale decides, as on Windows; otherwise the host's 12/24-hour setting changes every toLocaleTimeString(). |
desktop.select_on_focus |
bool | True |
Tabbing into a pre-filled field selects all of it, as on Windows. |
desktop.palette |
str | (the Windows palette) | The system colours, light and dark, as ui.<name>|<light>|<dark> records, one per line, the dark part empty where the scheme does not move it. Every persona carries both schemes; dark_theme says which one it uses. |
| Key | Type | Example | Notes |
|---|---|---|---|
dark_theme |
bool | False |
prefers-color-scheme: dark. Real traffic is ~85% light, 15% dark. |
branding |
str |
"official", "unofficial", "C:/brand/branding.zip"
|
The branding a page can read at chrome://branding/content/ and resource://usercontext-content/branding/: the about dialog's stylesheet, the wordmarks' boxes, the logos' sizes. "official" (the default) is the retail Firefox's files, "unofficial" those of a build without the trademark, and an absolute path is a zip archive of your own holding exactly the same 16 file names at its root; anything else raises when the profile is built. An archive and not a folder because the engine serves it the way Firefox serves its own branding, from inside an archive: served from a folder, a page could tell the difference. The engine keeps no copy of its own. Needs firefox-48. |
dark_theme and branding are the ONLY top-level keys. Anything else raises
ValueError: pin key '...' is not valid.
fonts is not one of them, and no longer exists as an axis. This table used
to list a per-profile font allowlist ("the sampler usually picks 14-24 system
fonts"). Passing it raises. The engine stopped varying fonts per profile when it
moved to a bundled font list: the exposed set is now the same 68 families on
every install and every OS, built from files the browser carries rather than
enumerated from the host, and the release gate asserts they are identical across
all five build legs with zero host fonts leaking. Varying it per profile would
put back the entropy the bundle exists to remove - so the right pin for fonts is
no pin.
browsing_history is a profile field but is not pinnable either. It is
generated from the seed (18-26 entries of {name, category, cookie_profile}),
so a fixed seed already fixes it. Read it back off the profile; do not pass it.
Every sampled (or pinned) value lands in a zoom.stealth.* pref inside the browser. Open about:config in a launched invisible_playwright session and filter for zoom.stealth to see the exact values in effect.
Alternatively, inspect the instance before the with block exits:
sf = InvisiblePlaywright(seed=42)
with sf as browser:
# sf.seed is set; the full profile is in browser's prefs
...Pin the whole visible tuple - GPU, screen, concurrency, audio:
pin = {
"gpu.vendor": "Google Inc. (Intel)",
"gpu.renderer": "ANGLE (Intel, Intel(R) HD Graphics Direct3D11 vs_5_0 ps_5_0, D3D11)",
"gpu.class_tier": "mid_range",
"screen.width": 1920,
"screen.height": 1080,
"screen.dpr": 1.0,
"hardware.concurrency": 8,
"audio.sample_rate": 48000,
}pin = {"gpu.class_tier": "low_end"}
# screen, msaa, concurrency re-sample from the seed but conditioned
# correctly on the low-end tier.What can I pin? Fields of the generated fingerprint, so specific values stay fixed while everything else stays derived from the seed.
Why pin instead of just choosing a seed? A seed gives you one whole machine. Pinning lets you hold one attribute steady, a GPU model or a screen size for example, while the rest still varies.
Can I pin anything I like? No. Some fields are refused deliberately, because setting them independently would produce a combination that does not occur on real hardware.
Does pinning make me easier to identify? It can. Every value you fix is a value you share with every other session that fixed it the same way, so pin the minimum you actually need.
What happens when I upgrade? The rest of the profile can move with the engine while pinned fields stay put. Keep a note of what you pinned and why, or a future mismatch is hard to explain.
See also: giving an agent a reproducible browser identity via seed,
what the WebGL renderer strings mean, hardwareConcurrency,
deviceMemory and storage quota, and
why fonts are bundled rather than sampled per profile.
Documentation
- Installation
- Quickstart
- Configuration
- Pinning fingerprint fields
- CLI reference
- Differences from Playwright
Guides
-
Browser Identity
- navigator.webdriver is not the tell you think it is
- hardwareConcurrency, deviceMemory and storage quota
- Screen size and viewport tells in headless browsers
- Playwright headless vs headed: what detectors see
- Playwright User Agent: Why You Should Not Set It
- Client Hints and Sec-Fetch: headers that must agree
- Codec fingerprinting: canPlayType and MediaCapabilities
- Permissions API: the two answers that must agree
- CSS fingerprinting: what media queries reveal
- What privacy.resistFingerprinting actually does
- speechSynthesis.getVoices() returns an empty array
- Browser extensions are a fingerprint surface
- BFCache and pageshow.persisted under browser automation
- Service workers, storage partitioning and automation
- Web Workers: where page-level fingerprint patches fail
- fake-useragent is archived: what changes and what doesn't
- navigator.buildID and the stale build date tell
- navigator.maxTouchPoints and pointer consistency
- navigator.platform and oscpu on a spoofed OS
- navigator.vendor and productSub: the Firefox tells
- Accept-Language header vs navigator.languages
- window.devicePixelRatio: the pref that spoofs it
- Can you be fingerprinted in incognito mode?
- Is changing the user agent enough to avoid detection?
- Can a website tell you are running on a server?
- Can two devices share a browser fingerprint?
- Does clearing cookies stop fingerprint tracking?
- Color-gamut and HDR media queries as a fingerprint
- Battery API fingerprint: does Firefox expose it?
- Is navigator.connection a fingerprint in Firefox?
- Can the Gamepad API fingerprint or detect a bot?
- Do accelerometer and gyroscope APIs leak on desktop?
- prefers-reduced-motion and other OS-setting tells
- Does storage quota estimate reveal disk size?
- Can scrollbar width reveal my operating system?
-
Canvas, WebGL, Fonts and Audio
- Canvas fingerprint noise: why per-call randomising fails
- Firefox WebGL renderer strings: what ANGLE reports
- WebGL parameters: the numbers are the same on every GPU
- Your renderer string says NVIDIA. Your pixels say software.
- Why headless browsers render different fonts
- How to make Linux and macOS report real Windows fonts
- measureText and TextMetrics as a fingerprinting surface
- AudioContext fingerprinting, and why adding noise backfired
- Canvas and WebGL fingerprints, identical across OSes
- Emoji fingerprinting: why emoji look the same on any OS
- Detecting installed fonts in JavaScript by width
- WebGL shader precision as a fingerprint surface
- AudioContext sampleRate and latency as a fingerprint
- Is WebGPU a browser fingerprint?
- Why the same canvas draws differently on Windows and Linux
-
Network, Proxy and WebRTC
- WebRTC leak with a proxy in Playwright and Selenium
- WebRTC ICE candidate spoofing: the fields that give it away
- Playwright proxy in Python: per-context, and what leaks
- Playwright proxy not working? SOCKS5 auth in Python
- Playwright timezone does not match the proxy IP
- JA3 and JA4: why a TLS fingerprint cannot be patched
- Playwright in Docker: it runs, and still gets blocked
- Web scraping keeps getting blocked with good proxies
- Python web scraping blocked? The TLS fingerprint reason
- SOCKS5 vs HTTP proxy: what each does in the browser
- WebRTC IPv6 leak: why a proxy does not stop it
- HTTP/2 fingerprint: the layer above the TLS handshake
- TLS fingerprint vs User-Agent: the contradiction
- WebRTC has no ICE candidates behind a proxy
- WebRTC IP that matches the proxy exit, by design
- How to check if a proxy leaks your real IP
- about:webrtc: read your real ICE candidates
- Offline timezone resolution from a proxy exit IP
- Residential vs datacenter vs mobile proxies explained
- Sticky vs rotating proxy sessions: which to use
- Does a proxy leak DNS? DoH and DNS leaks explained
- HTTP/3 and QUIC fingerprint: what a site sees
- What is ASN and IP reputation in bot detection?
- What does a mobile carrier IP look like to a site?
- IPv6 vs IPv4: which does your proxy expose?
- Geolocation API vs IP location: keep them consistent
- Does chaining two proxies help avoid detection?
- ERR_HTTP2_PROTOCOL_ERROR in Playwright: causes and how to diagnose it
- ERR_TUNNEL_CONNECTION_FAILED in Playwright: what it means and how to fix it
- ERR_SOCKS_CONNECTION_FAILED in Playwright: what it means and how to fix it
- net::ERR_CONNECTION_RESET in Playwright
- net::ERR_PROXY_CONNECTION_FAILED in Playwright
- net::ERR_ABORTED in Playwright
- net::ERR_NAME_NOT_RESOLVED in Playwright
- net::ERR_CERT_AUTHORITY_INVALID in Playwright
- net::ERR_EMPTY_RESPONSE in Playwright
- net::ERR_CONNECTION_REFUSED in Playwright
- net::ERR_INVALID_AUTH_CREDENTIALS in Playwright
- JA4H: The HTTP-Header-Order Fingerprint, Explained
- How to check a proxy's status before you rely on it
-
The Automation Layer
- Function.prototype.toString and the [native code] check
- The ChromeDriver
cdc_variable, and why renaming it fails - Why an attached debugger makes automation detectable
- Execution context was destroyed, and when it means detection
- Human-like mouse movement: Bezier curves are the easy part
- Why a Playwright upgrade broke 97 of 133 tests overnight
- Playwright persistent profile: what it fixes and breaks
- Why humanized mouse movement can fail on hover()
- Why content_frame() returns None for a cross-origin iframe
- Orphaned Firefox processes on Windows: the killed-runner leak
- Firefox launches but Playwright can't drive it: packaging gap
- Why automating login is riskier than reusing a session
- Playwright new_page vs new_context: the viewport tell
- Playwright dialog and popup handling without a tell
- Playwright download files with Firefox and the tell
- Playwright connect_over_cdp does not work with Firefox
- Playwright mobile emulation on Firefox and isMobile
- Playwright isTrusted: are automated clicks real?
- Playwright set_input_files uploads and the tell
- Can websites detect Playwright? What is actually visible
- Does Playwright Set navigator.webdriver to True?
- Does Playwright Leave Traces a Website Can See?
- Does Playwright Change My Browser Fingerprint?
- Can I Use My Real Browser Profile With Playwright?
- Does Playwright Support Firefox Stealth?
- Is Playwright Firefox Harder to Detect Than Chromium?
- Does Playwright Get Detected on the First Request?
- Why Playwright's bundled Firefox is easy to detect
- ghost-cursor human mouse paths with Playwright
- Stock Playwright, patched Firefox: how they connect
- Intercept and mock network requests with page.route
- Record and replay HTTP traffic with HAR in Playwright
- Record a Playwright trace to debug a failed scrape
- Record a video of a Playwright browser session
- Save and reuse login with storage_state in Playwright
- Read and set cookies in a Playwright context
- Set geolocation and permissions per Playwright context
- Handle HTTP basic auth in Playwright (http_credentials)
- Isolate identities with a browser context per session
- Drag and drop elements in Playwright with drag_to
- When to use an HTTP client vs a real browser
- Migrating from requests + BeautifulSoup to a browser
- Playwright 1.61's WebAuthn Virtual Authenticator
- Playwright 1.62: Headless No Longer Shares the OS Clipboard
- Closed shadow roots: what Playwright cannot see
- Running Playwright Firefox on ARM64 Linux
- What is headless browser automation, and what differs
- Python browser automation without Selenium: the options
- Is Python good for automation? Yes, and here is why
-
AI Agents and Frameworks
- AI browser agents and stealth: what fits and what does not
- browser-use gets detected: what you can and cannot change
- crawl4ai stealth mode and custom browser engines
- Give a LangChain agent an invisible_playwright browser
- Feed invisible_playwright pages into a RAG index
- Computer-use agents and browser fingerprint detection
- Give an MCP browser server a stealth Firefox engine
- Give each AI agent a reproducible browser identity
- Run parallel browser agents with distinct fingerprints
- Why AI browser agents have their own timing signal
- Running an AI browser agent headless on a server
- Give a browser agent a persistent logged-in session
- smolagents: hand the agent an invisible_playwright tool
- Stagehand and stealth: why a Firefox engine won't drop in
- DOM-reading vs screenshot agents: which stealth helps
- Back a computer-use agent with a real browser engine
- AI agent retry loops trip rate limits, not fingerprints
- Playwright 1.62 Ships MCP In the Box
-
Detectors, Explained
- What bot.sannysoft.com actually checks, row by row
- How CreepJS decides you are lying
- What BotD actually detects, and what it does not
- Why a FingerprintJS visitor ID changes
- reCAPTCHA v3 score: why a fresh browser scores badly
- BrowserLeaks canvas and WebGL hash, explained
- What BrowserLeaks actually tests, surface by surface
- Browser trust scores explained: what the number means
- How do websites detect bots?
- What is a browser fingerprint?
- What data does a website collect about your browser?
- Does a VPN stop browser fingerprinting?
- Do websites know you are using a script?
- How accurate is browser fingerprinting?
- Can a website detect a virtual machine?
- Can websites detect a datacenter or proxy IP?
- getClientRects fingerprinting: subpixel geometry as ID
- Notification.permission as a bot-detection signal
- speechSynthesis voices as a cross-platform fingerprint
- Can a website detect typing by keystroke timing?
- Can a website detect Clipboard API access?
- What are mouse-dynamics behavioural biometrics?
- How Cloudflare Turnstile actually works
- How DataDome's bot detection actually works
- How Kasada's bot detection actually works
- PerimeterX (now HUMAN Bot Defender): what the sensor actually checks
- How Akamai Bot Manager actually works
- Imperva (Incapsula), Explained
- F5 Distributed Cloud Bot Defense (Shape), Explained
- Fastly Bot Management, Explained
- reCAPTCHA Enterprise vs reCAPTCHA v3
- Arkose Labs (FunCaptcha), Explained
- AWS WAF Bot Control, Explained
- Anubis: The Proof-of-Work Firewall, Explained
- Cloudflare's AI Labyrinth, Explained
- Beyond robots.txt: How Sites Actually Block AI Crawlers Now
- Vercel Bot Protection (BotID), Explained
- GeeTest v4 (Slide/Click Captcha), Explained
- Honeypot Fields and Hidden Links: How Sites Trap Scrapers
- Private Access Tokens (Privacy Pass), Explained
- hCaptcha, Explained
- hCaptcha Enterprise vs Standard
- Cloudflare Bot Management, Explained
- Queue-it virtual waiting rooms, explained for automation
-
Testing and Troubleshooting
- How to test bot detection without a false pass
- Playwright detected as a bot: the checklist to fix it
- Firefox preferences that silently do nothing
- Slow browser launch: a per-request timeout is not a budget
- Playwright screenshot returns noise: readback fix
- Canvas fingerprint changes every run: use a seed
- Playwright TargetClosedError: the causes and the fixes
- Why am I blocked with a clean fingerprint?
- Why Does My Playwright Script Get Blocked?
- Is Playwright headless detectable? What sites check
- Can You Run Playwright Without Being Detected?
- Why Playwright Works Locally but Fails in the Cloud
- Does Playwright Trigger reCAPTCHA More Often?
- net::ERR_SSL_PROTOCOL_ERROR in Playwright
- net::ERR_CONNECTION_TIMED_OUT in Playwright
- net::ERR_NETWORK_CHANGED in Playwright
- TimeoutError: Timeout 30000ms Exceeded
- 'Playwright "Frame Was Detached" Error'
- Playwright "Protocol Error (Page.navigate)"
- Playwright Strict Mode Violation: Resolved to N Elements
- Playwright "Element Is Not Attached to the DOM"
- Playwright "Subtree Intercepts Pointer Events"
- Content-Security-Policy Blocks Playwright's Injected Scripts
- Playwright "Executable Doesn't Exist" After Install
- 'Playwright "Page Crashed" Error'
- Does Playwright Trigger hCaptcha More Often?
- Keep Playwright Firefox memory flat on long runs
- Playwright Firefox: SEC_ERROR_UNKNOWN_ISSUER
- Playwright ERR_BLOCKED_BY_CLIENT via page.route
- Missing fonts in Docker break Playwright screenshots
- First Firefox launch fails on Windows, then works
- Selenium detected by Cloudflare: the defaults that fail
- Playwright blocked by CORS policy: not bot detection
-
Scraping with Playwright
- How to scrape without getting blocked
- How to scrape a site that blocks headless browsers
- How to scrape infinite scroll pages with Playwright
- How to rotate proxies when scraping with Playwright
- How to scrape data behind a login with Playwright
- How to run Playwright in Docker without getting detected
- How to use invisible_playwright in Docker
- Playwright bot detection: how to avoid it in Python
- How to scrape paginated pages with Playwright
- How to download files with Playwright
- How to upload files with Playwright, and verify it landed
- How to handle cookie consent banners in Playwright
- How to handle popups and modals in Playwright
- How to take full-page screenshots with Playwright
- How to generate a PDF with Playwright and Firefox
- How to wait for content to load in Playwright
- How to retry failed requests when scraping Playwright
- How to scrape pages in parallel with Playwright
- How to rate limit your own Playwright scraper
- How to scrape HTML tables with Playwright
- How to scrape iframe content with Playwright
- How to scrape shadow DOM content with Playwright
- How to capture XHR and API responses in Playwright
- How to scrape geotargeted content with Playwright
- How to scrape real estate listings with Playwright
- How to scrape job postings with Playwright
- How to scrape e-commerce product pages with Playwright
- How to track product prices with Playwright
- How to scrape hotel room prices with Playwright
- How to scrape flight prices with Playwright
- How to scrape classifieds listings with Playwright
- How to scrape vacation rental listings with Playwright
- How to scrape car listings with Playwright
- How to scrape apartment rentals with Playwright
- How to track product stock and restocks with Playwright
- How to scrape location-based store prices with Playwright
- How to scrape flexible-date fare calendars with Playwright
- How to scrape product reviews with Playwright
- How to scrape star ratings with Playwright
- How to scrape news article text with Playwright
- How to scrape business directory listings with Playwright
- How to scrape event and ticket listings with Playwright
- How to scrape restaurant menu data with Playwright
- How to scrape stock and financial data with Playwright
- How to scrape social media profiles with Playwright
- How to scrape forum and community threads with Playwright
- How to scrape image galleries with Playwright
- How to scrape video listings and metadata with Playwright
- Scrape local business results from a map with Playwright
- How to scrape sports stats and box scores with Playwright
- How to scrape cryptocurrency prices with Playwright
- How to scrape deals and coupon codes with Playwright
- How to scrape to CSV with Playwright
- How to scrape to JSON Lines with Playwright
- How to scrape into a SQLite database with Playwright
- How to export scraped data to Excel with Playwright
- How to extract JSON-LD structured data with Playwright
- How to extract Open Graph and meta tags with Playwright
- How to extract links and build a crawl frontier in Playwright
- How to scrape RSS and Atom feeds with Playwright
- How to download images in bulk with Playwright
- How to extract clean article text with Playwright
- How to scrape a sitemap.xml with Playwright
- How to scrape into a pandas DataFrame with Playwright
- How to clean scraped prices and dates with Playwright
- Scrape search results by driving a form in Playwright
- Scrape a map-based search with Playwright
- Scrape autocomplete and typeahead inputs with Playwright
- Scrape date-picker calendars with Playwright
- Crawl list pages to detail pages with Playwright
- Scrape lazy-loaded images with Playwright
- Extract data from canvas charts with Playwright
- Scrape a multi-step wizard flow with Playwright
- How to resume an interrupted scrape with Playwright
- Incremental scraping: only new items since last run
- Handle 403 and 429 backoff mid-scrape in Playwright
- Scrape load-more button pages with Playwright
- Scrape nested pagination with Playwright
- Scrape an SPA that changes URL via history API
- Use BeautifulSoup with invisible_playwright
- Run stealth Playwright tests with pytest fixtures
- Run invisible_playwright concurrently with asyncio
- Run invisible_playwright in GitHub Actions CI
- Can you run invisible_playwright serverless?
- Run invisible_playwright in Celery task workers
- Schedule invisible_playwright scrapes with cron
- Run invisible_playwright headful on a server with Xvfb
- Use invisible_playwright in an Airflow DAG
- Combine invisible_playwright with httpx for speed
- Wrap invisible_playwright in a FastAPI service
- Run invisible_playwright in a Jupyter notebook
- Block images to speed up scraping (and when not to)
- Wait for a specific API response in Playwright
- How to scrape course catalogs with Playwright
- How to scrape store locator pages with Playwright
- How to scrape stock levels with Playwright
- How to scrape accordion and tab content with Playwright
- How to scrape size charts with Playwright
- How to scrape delivery slots with Playwright
- How to scrape appointment availability with Playwright
- How to scrape auction listings with Playwright
- How to scrape public transport timetables with Playwright
- How to scrape GraphQL endpoints with Playwright
- How to scrape virtual scrolling tables with Playwright
- How to scrape shipping rates with Playwright
- How to scrape cursor-based pagination with Playwright
- How to scrape multi-select facet filters with Playwright
- How to scrape currency exchange rates with Playwright
- How to scrape WebSocket streams with Playwright
- How to scrape book metadata with Playwright
- How to scrape professional directories with Playwright
- How to scrape range slider filters with Playwright
- How to scrape currency and locale switchers with Playwright
- How to scrape software changelogs and release notes with Playwright
- How to scrape breadcrumb hierarchies with Playwright
- How to scrape microdata and RDFa markup with Playwright
- How to scrape server-sent events with Playwright
- How to scrape open data portals with Playwright
- How to scrape infinite carousels with Playwright
- How to scrape printer-friendly pages with Playwright
- How to handle A/B test variants when scraping with Playwright
- How to scrape recipe data with Playwright
- How to scrape vehicle recall notices with Playwright
- How to scrape public tender notices with Playwright
- How to scrape nutrition labels with Playwright
- How to scrape podcast episode listings with Playwright
- How to scrape weather station data with Playwright
- How to scrape newsletter archives with Playwright
- How to scrape wine and spirits catalogs with Playwright
- How to scrape insurance quotes with Playwright
- How to scrape fitness class schedules with Playwright
- How to scrape flight seat maps with Playwright
- How to scrape concert and tour dates with Playwright
- How to scrape museum and gallery exhibition dates with Playwright
- How to scrape warranty terms with Playwright
- How to scrape sortable data tables with Playwright
- How to scrape salary and pay scale data with Playwright
- How to scrape live sports scores with Playwright
- How to scrape video game prices with Playwright
- How to scrape domain WHOIS records with Playwright
- How to scrape podcast transcripts with Playwright
- How to scrape patent listings with Playwright
- How to scrape clinical trial listings with Playwright
- How to Handle a PDF That Opens in a New Tab with Playwright
- Does Playwright Support Firefox Extensions?
- Automating an Email OTP / Verification-Link Login with Playwright
- Automating TOTP-Based 2FA Login with Playwright
- How to Scrape a Sandboxed Iframe with Playwright
- Select from dropdowns with Playwright, native and custom
- Download and read PDFs linked from a page with Playwright
- How to scrape parking rates with Playwright
- How to scrape EV charging availability with Playwright
- How to scrape fuel prices with Playwright
- How to scrape ferry schedules with Playwright
- How to scrape library catalog availability with Playwright
- How to scrape package tracking status with Playwright
- How to scrape flight status boards with Playwright
- How to scrape snow reports with Playwright
- How to scrape pet adoption listings with Playwright
- How to scrape construction permit records with Playwright
- How to scrape court docket listings with Playwright
- How to scrape scholarship listings with Playwright
- How to scrape conference agendas with Playwright
- How to scrape package download statistics with Playwright
- How to scrape bank interest rates with Playwright
- How to scrape energy tariff comparisons with Playwright
- How to scrape school term calendars with Playwright
- How to scrape spare part compatibility with Playwright
- How to scrape numbers rendered as images with Playwright
- How to scrape CSS pseudo-element content with Playwright
- Puppeteer scraping examples, and what a real defense does
Comparisons
- Playwright stealth in Python: three levels that work
- Firefox or Chromium for anti-detect automation
- Chromium is not Chrome, and detectors know the difference
- Playwright stealth vs Camoufox: two patched Firefoxes
- Playwright stealth vs Patchright: driver vs engine
- Playwright stealth vs undetected-chromedriver and nodriver
- playwright-stealth vs a patched engine: page vs browser
- puppeteer-extra-plugin-stealth: unmaintained since 2023
- selenium-stealth hasn't been updated since November 2020
- pyppeteer's own maintainer says to switch to Playwright
- invisible_playwright vs rebrowser-patches: the same CDP fix
- invisible_playwright vs fingerprint-suite: injection vs engine
- invisible_playwright vs playwright-with-fingerprints
- invisible_playwright vs Scrapling
- invisible_playwright vs Ulixee Hero
- invisible_playwright vs SeleniumBase UC Mode
- Splash is unmaintained, and it was never a real browser
- invisible_playwright vs DrissionPage
- WebDriver BiDi vs CDP: does the new protocol hide you
- invisible_playwright vs hrequests
- zendriver vs invisible_playwright: Chrome CDP vs Firefox
- botasaurus vs invisible_playwright: framework vs library
- curl_cffi vs invisible_playwright: TLS client vs browser
- pydoll vs invisible_playwright: CDP without a driver
- selenium-driverless vs invisible_playwright stealth
- puppeteer-real-browser vs invisible_playwright
- Migrating from Selenium to Playwright for stealth
- Migrating from Puppeteer to Playwright for stealth
- undetected-chromedriver vs a patched Firefox browser
- scrapy-playwright vs a patched Firefox for stealth
- playwright-extra stealth plugins vs a patched browser
- tls-client vs a real browser: when TLS is enough
- Anti-detect browser or Playwright stealth: which you need
- undetected-playwright vs a patched Firefox binary
- How to Read a Stealth-Browser Benchmark Without Being Misled
- Web Scraping Proxy Costs: Build vs. Buy Your Stealth Stack
- Why Playwright Locators Never Throw StaleElementReferenceException
- invisible_playwright vs browser-use: different jobs
- Selenium vs Playwright: the differences that matter
- Alternative Chromium browsers for automation: what differs
- Browser automation testing tools: where each one fits
Integrations
- Using invisible_playwright with CodeceptJS
- Using invisible_playwright with Crawlee for Python
- Using invisible_playwright with Crawlee for JavaScript
- Using invisible_playwright with scrapy-playwright
- Using invisible_playwright with Robot Framework Browser
- Cypress, WebdriverIO, TestCafe and Nightwatch integration
- Using invisible_playwright with Microsoft's Playwright MCP
- Using the engine from Go, Java, C#, Ruby and Rust
docs/ source folder