-
Notifications
You must be signed in to change notification settings - Fork 230
how to scrape range slider filters playwright
To scrape range slider filters with Playwright, do not move the handle: read the widget's
aria-valuemin, aria-valuemax and aria-valuenow to learn the scale, push the range in
through the URL parameter when the site has one and through the underlying input's native
value setter when it does not, wait for the debounced response instead of a timeout, and
sweep the field in explicitly half-open buckets whose edges are spaced logarithmically when
the values have a tail.
Almost none of that is what the widget invites you to do. A price track with two handles looks like something you drag, and dragging it is the one approach that cannot be made reliable, because the value the page records is derived from a pixel and then rounded to a step you did not choose. The reliable paths go around the handle entirely.
This page is the crawl that goes around it: what the control is under the styling, why the numbers at the ends of the track move when you touch an unrelated filter, and the two arithmetic mistakes that make a range sweep produce totals nobody can reconcile.
A checkbox facet hands you a list. The values exist, the site names them, and crawling that group is a walk across a set somebody else defined, which is the job in multi-select facet filters.
A slider hands you two numbers and the space between them. There is no vocabulary to enumerate, so the buckets are not discovered, they are invented by you. Every boundary in your output is an artifact of your crawl rather than a property of the site.
So a range row carries five things, not two: the lower bound, the upper bound, whether each end is open or closed, the count, and the state URL that produced it.
Drop the open and closed flags and two runs with different bucket sizes cannot be summed. Drop the URL and no number in the table can be re-checked. Keep the value you asked for beside the value the widget snapped to, because those are routinely different.
The word slider describes the appearance, not the element. A native input[type=range] is
rare on a commercial filter panel, because it cannot be styled into a two-handle track with a
coloured segment between the handles. What you get instead is a div carrying role="slider"
and the ARIA value attributes, often with a hidden input behind it holding the real form value.
That distinction decides which calls can possibly work. fill() on the div raises an error
saying the element is not an input, a textarea or a contenteditable element, which is the good
outcome: it fails loudly.
On a real input[type=range] the same call succeeds, because Playwright special-cases that
input type, sets the value directly and fires input and change. So fill() is either the
entire answer or instantly fatal, and one probe tells you which.
def describe_slider(page, selector):
"""Read what the control actually is, before deciding how to move it."""
return page.locator(selector).evaluate("""
el => {
const input = el.matches("input") ? el : el.querySelector("input");
const track = el.closest("[class*=track], [class*=slider]");
return {
tag: el.tagName.toLowerCase(),
role: el.getAttribute("role"),
valuemin: el.getAttribute("aria-valuemin"),
valuemax: el.getAttribute("aria-valuemax"),
valuenow: el.getAttribute("aria-valuenow"),
valuetext: el.getAttribute("aria-valuetext"),
inputType: input ? input.type : null,
inputStep: input ? input.step : null,
inputValue: input ? input.value : null,
trackWidth: track ? track.getBoundingClientRect().width : null,
};
}
""")Two fields there carry the weight. inputStep is the quantum every value gets rounded to, and
its default for a range input is 1, so a slider over money in cents that never declares a step
rounds silently to whole units.
valuetext is the human string, and on a non-linear scale it is the only place the real value
appears: plenty of price sliders keep aria-valuenow as a position between 0 and 100 and put
the currency amount in aria-valuetext. Read valuenow there and you store track positions
labelled as prices.
Most filter panels write their state into the query string, and a range is usually two
scalars, price_min=100&price_max=500, or one packed value, price=100-500. Where that
parameter exists it is the better interface: one goto, no debounce, no pointer events, no
step rounding, and a row somebody else can reproduce without replaying your clicks.
Test it once, at the start, and let the answer decide the shape of the whole scraper.
from urllib.parse import urlencode
def same_number(attr, wanted):
try:
return float(attr) == float(wanted)
except (TypeError, ValueError):
return False
def url_range_round_trips(page, base_url, params, lo_sel, hi_sel, lo, hi, total):
"""One request decides whether you ever need to touch a handle."""
page.goto(f"{base_url}?{urlencode(params)}", wait_until="domcontentloaded")
low = describe_slider(page, lo_sel)
high = describe_slider(page, hi_sel)
return {
"handles_moved": same_number(low["valuenow"], lo) and same_number(high["valuenow"], hi),
"result_count": total(page), # the handles are not the evidence, this is
"bounds": (low["valuemin"], high["valuemax"]),
}Three outcomes follow. The handles land and the count moves: use the URL and never touch the widget again. The handles land and the count does not: the page paints the parameter but filters client-side after hydration, so you still have to fire the component. Nothing lands: the state is in a POST body or in storage.
A fourth case resembles the first. Some panels paint the handles from the parameter, then derive the result set from somewhere else, which is an SPA rewriting its URL through the history API rather than reading it. That is why the check above returns the count.
Dragging is the obvious approach and the one that produces numbers you cannot defend, because the widget turns a horizontal pixel into a value.
The mapping is roughly min + (x - trackLeft) / trackWidth * (max - min), then snapped to the
step. A 300 pixel track spanning 0 to 1,000,000 makes one pixel worth more than three thousand
units, so no drag can address a value finer than that however carefully the mouse moves. Most
implementations also subtract the handle's own width from the usable track, which biases every
position in one direction.
Dragging manually covers the gesture for the components that genuinely need it, and some do: a slider using pointer capture ignores a value set behind its back.
Two better routes exist. When there is an input behind the div, write to it through the
prototype's native value setter, which gets past the component's own value tracker, then
dispatch input and change.
When there is no input, use the keyboard. The ARIA slider pattern requires Arrow keys to move
by exactly one step and Home and End to reach the bounds, so Home plus a counted run of
presses lands on an exact step with no geometry at all.
NATIVE_SET = """
(el, value) => {
const input = el.matches("input") ? el : el.querySelector("input");
if (!input) return null;
const setter = Object.getOwnPropertyDescriptor(
Object.getPrototypeOf(input), "value").set;
setter.call(input, String(value)); // gets past the component's value tracker
input.dispatchEvent(new Event("input", {bubbles: true}));
input.dispatchEvent(new Event("change", {bubbles: true}));
return input.value; // what the element rounded it to
}
"""
def set_by_input(page, selector, value):
return page.locator(selector).evaluate(NATIVE_SET, value)
def set_by_keyboard(page, selector, value, step):
"""For a div[role=slider] with nothing behind it. One arrow press is one step."""
handle = page.locator(selector)
handle.focus()
handle.press("Home") # a known endpoint, no pixels involved
start = float(handle.get_attribute("aria-valuenow"))
for _ in range(max(0, round((value - start) / step))):
handle.press("ArrowRight")
return handle.get_attribute("aria-valuenow")Whichever route you take, read the value back. Assigning to .value on a range input runs the
HTML value sanitization algorithm, which clamps to the bounds and rounds to the nearest step,
so the element can hold a different number from the one you gave it and never says so.
The number that belongs in your row is the one you read back. If aria-valuenow does not move
after a single arrow press, the widget has no keyboard handling and the drag is all that is
left.
Here is the property with no equivalent on a checkbox facet. aria-valuemin and
aria-valuemax are almost never the catalogue's minimum and maximum. They are the minimum and
maximum of whatever the current filter state returns, recomputed every time any other filter
changes.
Select a brand and the top of the price track drops to that brand's most expensive item. Compute buckets from bounds read on the unfiltered page, apply them under that brand, and most come back empty while the first holds everything. Every count is correct and the sweep is worthless.
So re-read the bounds after every change to any other filter, never cache them across states, and store them beside the counts so a later reader can see which scale the buckets were cut from.
When min equals max the field has one distinct value in the current set, which is an answer rather than an error. When the slider comes back disabled the result set is empty, and a disabled slider is not a zero, it is the absence of a scale.
Displayed bounds are also rounded for a tidy label, outward or inward. That is why the sweep below gives the first bucket no lower bound and the last no upper bound: an unbounded outer edge costs nothing and catches whatever sits outside a rounded display.
A slider emits continuously while it moves, so every implementation debounces. The request goes out a few hundred milliseconds after the last change, and every number on the page is stale until it lands.
wait_for_timeout is wrong in both directions. Too short and you read the previous state's
total, too long and a sweep of sixty buckets spends a minute waiting. Worse, a timeout cannot
tell "the debounce has not fired yet" from "this range returned no items", and those two
produce an identical empty page.
Wait on the response instead, and match it against the values you asked for. A component that fired several times during a drag will answer for an intermediate position first.
from urllib.parse import urlparse, parse_qs
from playwright.sync_api import TimeoutError as PlaywrightTimeout
def apply_range(page, lo, hi, set_value, key_lo="min", key_hi="max", timeout=10000):
"""Catch the response carrying OUR bounds, not an intermediate one."""
def is_our_query(response):
if response.request.resource_type not in ("xhr", "fetch"):
return False
query = parse_qs(urlparse(response.url).query)
return query.get(key_lo) == [str(lo)] and query.get(key_hi) == [str(hi)]
try:
with page.expect_response(is_our_query, timeout=timeout) as caught:
set_value(page, lo, hi) # dispatches input AND change
return caught.value.json()
except PlaywrightTimeout:
# Not "no results". The component never saw the event.
raise RuntimeError(f"slider did not fire for [{lo}, {hi})")Read the payload while you are there. It usually carries the new total and the new bounds together, which removes the repaint race, and capturing XHR and API responses covers the hooks. The debounce is the mechanism behind a typeahead, with one difference: a typeahead fires on every keystroke you send, a slider only if the component recognised your event.
That is why the timeout branch above raises rather than returning an empty result. Silence
there almost always means the component listens for input and you dispatched only change,
or it listens on a pointer event that a value assignment never produces. Treat it as "no items
in this bucket" and you write zeros for buckets that were never queried, and nothing downstream
can tell those zeros from real ones.
Two adjacent buckets written as 0 to 100 and 100 to 200 double count every item priced at
exactly 100, because a site's range filter is nearly always inclusive at both ends: value >= lo AND value <= hi. The output shows no symptom. Every bucket looks reasonable alone, and the
only trace is that the counts sum to more than the unfiltered total.
Measure the inclusivity rather than assuming it. Ask for a window whose lower and upper bounds are the same number, using a value you know exists. A non-zero count means both ends are inclusive.
Then keep half-open intervals in your own bookkeeping, [lo, hi), and shrink the upper bound
by one unit of the field's precision when you build the query. Precision belongs to the data,
not to the widget: a slider stepping in tens over money that resolves in cents needs 0.01
subtracted, not 10.
def snap(value, precision):
"""One rounding rule for every edge, so adjacent buckets share an exact number."""
return round(round(value / precision) * precision, 10)
def buckets_from_edges(edges, precision):
"""Half-open by construction, with both outer edges left unbounded."""
last = len(edges) - 2
for i, (left, right) in enumerate(zip(edges, edges[1:])):
yield {
"label": f"[{left}, {right})",
"lower_closed": True,
"upper_closed": False,
# the site's filter includes its upper bound, so step back one unit
"query_lo": None if i == 0 else left,
"query_hi": None if i == last else snap(right - precision, precision),
}Reconcile at the end. Sum the bucket counts and compare them against the unfiltered total. Above it, something is still double counting. Below it is the part no care repairs: some items have no value in that field at all.
A listing that says "call for price", a record where the column is null. Neither is reachable by a range query in either direction, because a null is neither inside nor outside an interval. The gap between your sum and the base total is the size of that unreachable set.
Linear buckets assume a flat distribution, and price data rarely is one. Cut 0 to 1,000,000 into twenty buckets of 50,000 and every item under 50,000 falls into the first, while the top fifteen return nothing. Twenty requests, and the crawl has resolved almost nothing.
Geometric edges put the resolution where the items are. Ten to 100,000 in five steps gives 10, 63, 398, 2512, 15849, 100000: narrow buckets at the low end, wide ones in the tail, which follows the shape of the data instead of the shape of the axis.
Round every edge exactly once, through one function, and take both sides of a boundary from the same rounded list. Round an upper edge down to 63 and the next lower edge up to 64 and you open a gap that swallows everything between them.
Geometry is still a guess. The version that does not guess reads the count and splits: query the range, and when the total is larger than pagination can serve, split at the geometric midpoint and recurse into both halves. That adapts to any shape without knowing it first.
from invisible_playwright import InvisiblePlaywright
def log_edges(lo, hi, steps, precision):
"""Geometric spacing. A geometric scale cannot start at zero."""
lo = max(lo, precision)
ratio = (hi / lo) ** (1.0 / steps)
edges = [snap(lo * ratio ** i, precision) for i in range(steps + 1)]
edges[-1] = hi
return sorted(set(edges))
def split_until_under_cap(page, lo, hi, cap, precision, out):
total = apply_range(page, lo, hi, set_value)["total"]
if total <= cap or hi - lo <= precision:
out.append({"lo": lo, "hi": hi, "total": total, "capped": total > cap})
return
mid = min(max(snap((lo * hi) ** 0.5, precision), lo + precision), hi - precision)
split_until_under_cap(page, lo, mid, cap, precision, out)
split_until_under_cap(page, mid, hi, cap, precision, out)
with InvisiblePlaywright(seed=42) as browser: # one identity for the whole sweep
page = browser.new_page()
page.goto(BASE_URL, wait_until="domcontentloaded")
scale = describe_slider(page, LO_SELECTOR)
buckets = []
split_until_under_cap(page, float(scale["valuemin"]), float(scale["valuemax"]),
cap=1000, precision=0.01, out=buckets)The recursion stops in two ways and they mean different things. A bucket whose count fits under
the cap is finished. A bucket one unit of precision wide and still over the cap is a dead end:
more items share that single exact value than
pagination can reach, and no range filter can
divide them. The capped flag carries that distinction out, because the fix is to split that
branch on a different filter entirely.
A range filter fails quietly, in arithmetic, which is what makes it worth this much care. The
control is usually a div wearing role="slider", so read its ARIA attributes before deciding
which call can move it. Prefer the URL parameter, set the value through the native setter or
the arrow keys when there is none, and do not trust a drag, because the pixel is the real step.
Re-read the bounds after every other filter, since they describe the current result set rather
than the catalogue. Wait for the debounced response and match it to the values you sent, because
silence there is a component that never fired, not an empty bucket. Then sweep in half-open
intervals and reconcile the sum, because the difference between your buckets and the base total
is the set of items no slider can reach.
Why does fill() do nothing on the price slider? Because the element is not an input. Most
sliders are a div with role="slider" driven by pointer events, and fill() raises an error
saying the element is not an input, a textarea or contenteditable. On a genuine
input[type=range] it does work, since Playwright sets that input type's value directly and
fires input and change.
Should I drag the handle with mouse.move? Only as a last resort. The widget converts a
pixel to a value, so on a 300 pixel track spanning a million units one pixel is worth over three
thousand, and the handle width biases the mapping on top of that. Set the value through the
input or the arrow keys instead.
Why does the value I set come back as a different number? Step quantisation. Assigning to a range input's value runs the HTML sanitization algorithm, which clamps to the bounds and rounds to the nearest step, and the default step is 1. Store the value you read back, not the one you requested.
Why did the maximum on the slider change when I ticked a brand? Because the bounds describe the current result set, not the catalogue. They are recomputed on every filter change, so buckets cut from the unfiltered scale are wrong under any other state. Re-read the bounds after each change.
How long should I wait after moving a slider? Do not wait a fixed time. The request is debounced a few hundred milliseconds after the last change, so wait on the response and match it against the bounds you asked for. A timeout usually means the component never saw your event, not that the range is empty.
My bucket counts add up to more than the total. Why? The site's filter includes both ends, so items sitting exactly on a boundary are counted in the bucket below and again in the bucket above. Use half-open intervals and shrink each upper bound by one unit of the field's precision.
- Playwright's
Locator.fill,Locator.evaluate,expect_responseandKeyboard.press, used exactly as documented upstream, retrieved 2026-08-28. The browser returned here is a real PlaywrightBrowser. - Playwright's input and manual dragging notes, retrieved 2026-08-28, for the pointer sequence a component using pointer capture requires.
- The HTML specification's range state, retrieved 2026-08-28, for the value sanitization algorithm that clamps to the bounds and rounds to the step, and for the default step of 1.
- The WAI-ARIA Authoring Practices slider pattern,
retrieved 2026-08-28, for the
aria-valuenowandaria-valuetextcontract and the keyboard behaviour the arrow-key path depends on.
See also: scraping multi-select facet filters for the discrete sibling of this problem, where the values are a vocabulary rather than a scale, capturing XHR and API responses for reading the debounced payload instead of the repainted DOM, dragging manually for the components that really do need the pointer sequence, and scraping paginated pages for the per-bucket limit that decides how far a range has to be split.
Written while maintaining invisible_playwright, a Firefox patched at the C++ level driven by stock Playwright. Sweeping a range in fixed steps with both ends inclusive is the mistake this page corrects: the bucket counts summed to more than the unfiltered total, and the surplus was exactly the items sitting on a boundary, counted once in the bucket below and once in the bucket above.
Documentation
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?
-
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?
-
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
-
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
-
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?
-
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?
-
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 reviews and 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
- How to scrape map-based local results with Playwright
- How to scrape sports scores and stats 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
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
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