-
Notifications
You must be signed in to change notification settings - Fork 230
how to scrape microdata markup playwright
To scrape microdata and RDFa markup with Playwright, walk the DOM yourself: select
every element carrying itemscope that does not also carry itemprop, gather its
properties including the ones itemref pulls in from elsewhere in the document, and
read each property through the nine-case value table instead of textContent, because
seven of those nine cases put the value in an attribute. RDFa needs the same traversal
against a completely different set of five attributes: vocab, typeof, property,
resource and prefix.
There is no shortcut call, and that is the whole difficulty. JSON-LD is one
querySelectorAll and a json.loads. Microdata looks like it should be comparable,
because the HTML specification once defined a DOM API for this exact job. That API is
gone from every engine while the markup it read is still supported and still published.
So the work splits in two: know what the five attributes mean, then implement the value rules by hand. Get the second half wrong and nothing throws, you just collect empty strings where the prices were.
Google's own documentation still lists all three formats. The introduction to structured data on developers.google.com (updated 2025-12-10, retrieved 2026-08-28) names JSON-LD, Microdata and RDFa as supported and says all three are equally fine for Google, with JSON-LD merely recommended. The structured data policies page, updated 2026-07-10, carries the same list. Neither page deprecates the markup.
What died is a different object with a similar name. Mozilla bug 909633, "Remove HTML
Microdata API", is RESOLVED FIXED, and the removal shipped in Firefox 49. Chrome never
shipped that API at all. The section defining it is gone from the WHATWG
specification. document.getItems() therefore does not exist in any browser Playwright
drives, and the per-element helpers went with it.
That is the confusion in one sentence: the markup is alive and the JavaScript for reading it is gone. Conflating the two is the error in circulation. The one thing Google does call obsolete is neither of them, it is data-vocabulary.org markup.
Five attributes, one job each.
| attribute | what it does |
|---|---|
itemscope |
starts a new item on this element |
itemtype |
the item's type, given as one or more URLs |
itemid |
a global identifier for the item |
itemprop |
marks the element as a property, and the name can be a space-separated list |
itemref |
space-separated element IDs whose subtrees also supply properties to this item |
itemref is the one that changes your architecture. It lets an item claim properties
from elements that are not its descendants, so card.query_selector_all('[itemprop]')
is not a parse of that card. It is a parse of a document that happens not to use
itemref. The crawl starts at the item element, adds the referenced elements by ID,
and runs against the document rather than a detached subtree.
Two more details cost a re-run each. An element carrying both itemscope and
itemprop is a nested item, and its descendants belong to that inner item, so the walk
stops descending there. That rule is why a
breadcrumb trail in microdata
comes out as a chain instead of a soup. And itemprop="name alternateName" declares
two properties with one value, so a name maps to a list.
The value of a property is decided by the first case that matches the element. This is
the table, identical in the WHATWG microdata section and on MDN's itemprop page, both
retrieved 2026-08-28.
| condition | value read from |
|---|---|
element has itemscope
|
the nested item itself |
meta |
content attribute |
audio, embed, iframe, img, source, track, video
|
src, parsed as URL |
a, area, link
|
href, parsed as URL |
object |
data attribute |
data |
value attribute |
meter |
value attribute |
time |
datetime value |
| anything else | descendant text content |
Seven of those nine rows take the value out of an attribute. textContent sees none of
them, and it fails quietly.
<meta itemprop="price" content="42"> holds no text at all, so naive extraction hands
you an empty string where the price was. <time itemprop="datePublished" datetime="2026-01-01">Jan 1st</time> hands you Jan 1st, the string written for a
human, instead of the ISO date the markup exists to publish. Every img returns
nothing and every a returns its link text where a URL belongs. On a
product page that is the price,
the image and the canonical link, all wrong, none of them raising.
The value function is small and it is the part worth getting exactly right.
# Both JS chunks are raw strings. \s is not a Python escape, so a plain string
# makes the interpreter complain long before the regex reaches the browser.
VALUE_FN = r"""
const URL_SRC = new Set(['AUDIO', 'EMBED', 'IFRAME', 'IMG', 'SOURCE', 'TRACK', 'VIDEO']);
const URL_HREF = new Set(['A', 'AREA', 'LINK']);
function propValue(el, seen) {
if (el.hasAttribute('itemscope')) return readItem(el, seen); // a nested item
const tag = el.tagName;
if (tag === 'META') return el.getAttribute('content') || '';
if (URL_SRC.has(tag)) return el.src || ''; // IDL src, already absolute
if (URL_HREF.has(tag)) return el.href || ''; // IDL href, already absolute
if (tag === 'OBJECT') return el.data || '';
if (tag === 'DATA' || tag === 'METER') return el.getAttribute('value') || '';
if (tag === 'TIME') return el.dateTime || el.textContent.trim();
return el.textContent.trim();
}
"""Three lines are less obvious than they look. The IDL properties src, href and
data already return absolute URLs, which is what "parsed as URL" asks for, so you
want el.src and not el.getAttribute('src'). <meter> is the reverse: its value
IDL property is a number, so getAttribute('value') returns the string the table
names. A <time> with no datetime attribute takes its value from its own text, so
that fallback is correct rather than lazy.
The seen set is threaded through because a nested item is itself a value, and two
items can point at each other through itemref. The walker below owns it.
from invisible_playwright import InvisiblePlaywright
WALK_FN = r"""
function properties(root, seen) {
const results = [];
const memory = new Set([root]);
const pending = Array.from(root.children);
const refs = (root.getAttribute('itemref') || '').split(/\s+/).filter(Boolean);
for (const id of refs) {
const target = root.ownerDocument.getElementById(id);
if (target) pending.push(target); // properties from outside the subtree
}
while (pending.length) {
const el = pending.shift();
if (memory.has(el)) continue; // an itemref can point back at us
memory.add(el);
if (!el.hasAttribute('itemscope')) pending.push(...el.children);
if ((el.getAttribute('itemprop') || '').trim()) results.push(el);
}
return results.sort((a, b) =>
a.compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1);
}
function readItem(el, seen) {
if (seen.has(el)) return null; // two items referencing each other
seen.add(el);
const item = {
type: (el.getAttribute('itemtype') || '').split(/\s+/).filter(Boolean),
id: el.getAttribute('itemid') || null,
properties: {},
};
for (const prop of properties(el, seen)) {
const value = propValue(prop, seen);
const names = prop.getAttribute('itemprop').split(/\s+/).filter(Boolean);
for (const name of names) { // one element, several property names
if (!item.properties[name]) item.properties[name] = [];
item.properties[name].push(value);
}
}
return item;
}
"""
MICRODATA_JS = "() => {" + VALUE_FN + WALK_FN + r"""
return Array.from(document.querySelectorAll('[itemscope]'))
.filter(el => !el.hasAttribute('itemprop')) // nested items are properties
.map(el => readItem(el, new Set()));
}"""
with InvisiblePlaywright(seed=42) as browser:
page = browser.new_page()
page.goto("https://example.com/product/some-item")
items = page.evaluate(MICRODATA_JS)The property crawl is the specification's algorithm with shorter names. Start from the
item element's children, add every element itemref names, walk breadth-first, refuse
to descend into a nested itemscope, and remember what you visited so a reference
pointing back terminates instead of looping. The sort restores tree order, which the
itemref additions destroy.
The top-level filter is the other half of the shape. An [itemscope] element that also
carries itemprop is somebody else's property, so mapping over every [itemscope]
without that filter reports nested items twice: once inside their parent, once as
roots. The chunks are separate strings only for readability; page.evaluate takes one
expression, so they are concatenated.
RDFa Lite, a W3C Recommendation retrieved 2026-08-28, covers the same ground with an
entirely different set of attributes. vocab sets the default vocabulary for a subtree,
so a bare property="name" resolves against it. typeof starts a subject. property
marks a property. resource names the thing being described. prefix declares the
short names that make property="og:title" mean something, which is why
Open Graph metadata turns up inside
RDFa markup as well as in plain <meta> tags.
None of the microdata rules carry over, so a parser written for one reads nothing from the other. What a scraper usually wants is flat name and value pairs, and that is a short walk.
RDFA_JS = r"""
() => {
function value(el) {
if (el.hasAttribute('content')) return el.getAttribute('content');
if (el.hasAttribute('resource')) return el.getAttribute('resource');
if (el.hasAttribute('href')) return el.href;
if (el.hasAttribute('src')) return el.src;
return el.textContent.trim();
}
function subjectOf(el) { // the nearest enclosing typeof
return el.parentElement ? el.parentElement.closest('[typeof]') : null;
}
return Array.from(document.querySelectorAll('[typeof]')).map(subject => {
const vocabHolder = subject.closest('[vocab]');
const out = {
typeof: subject.getAttribute('typeof'),
vocab: vocabHolder ? vocabHolder.getAttribute('vocab') : null,
resource: subject.getAttribute('resource') || null,
properties: {},
};
for (const el of subject.querySelectorAll('[property]')) {
if (subjectOf(el) !== subject) continue; // belongs to a nested typeof
const names = el.getAttribute('property').split(/\s+/).filter(Boolean);
for (const name of names) {
if (!out.properties[name]) out.properties[name] = [];
out.properties[name].push(value(el));
}
}
return out;
});
}
"""
rdfa = page.evaluate(RDFA_JS)Say where that stops. It collects pairs. It does not resolve prefix or vocab into
full IRIs and it does not emit triples, so og:title comes back as the literal string
with the vocabulary reported beside it. If you need real RDF out of the document, run a
conformant RDFa processor over the HTML rather than growing the function above.
This argument survives whatever any search engine prefers. JSON-LD is one
querySelectorAll('script[type="application/ld+json"]') and a parse. The block is
self-contained, so its position in the document is irrelevant and you can read it out of
raw HTML with no DOM at all. Microdata and RDFa are attributes scattered across a
rendered tree, and reading them correctly costs a traversal, a per-element value rule,
and an itemref resolution that is document-scoped by definition. Same information,
two very different extraction costs. So when a page ships both, take
the JSON-LD and keep the
traversal as the fallback.
What happens when a page carries two formats describing the same entity is not settled by any primary source. Google's structured data policies page does not address combining formats, and the widely repeated claim that Google will not merge attributes across formats has no primary source behind it. Do not build on it. Keep the three extractions apart, label which format each field came from, and make the merge a decision in your own code.
def collect(page):
"""Keep the three formats apart and label where every field came from."""
return {
"json_ld": page.locator(
'script[type="application/ld+json"]').all_text_contents(),
"microdata": page.evaluate(MICRODATA_JS),
"rdfa": page.evaluate(RDFA_JS),
}
def pick(sources, order=("json_ld", "microdata", "rdfa")):
"""First populated source wins, and the caller learns which one it was."""
for name in order:
if sources.get(name):
return name, sources[name]
return None, NoneThree limits, and the first one eats an afternoon.
The elements holding microdata values are frequently invisible. <meta itemprop> and
<link itemprop> never render, so any Playwright call that waits for visibility waits
forever on markup that is perfectly present. Wait for attachment instead, and read
values with get_attribute() and text_content(), neither of which runs a visibility
check.
page.goto(url, wait_until="domcontentloaded")
# state="attached", not the default "visible": <meta itemprop> never renders, so a
# visibility wait on structured markup times out on a completely healthy page.
page.wait_for_selector(
"[itemscope], [typeof], script[type='application/ld+json']",
state="attached",
timeout=10000,
)Second, this reads the rendered DOM, so the attributes have to exist when you read. A
page that builds its markup client-side has no [itemscope] in the initial HTML, and
the wait above is what makes that deterministic. That is a different failure from markup
absent because the page you received was never the real one, which
scraping without getting blocked deals with.
Third, the table tells you what the markup means according to the specification, not what a consumer extracted from it. Google documents which formats it accepts and does not publish its extraction algorithm, so whether its parser applies the WHATWG value table exactly is not something anyone outside can assert. Extract to the spec, and treat what a search engine ingested as a separate question.
The sentence worth retiring is "microdata is deprecated". The markup is supported and
still published; the DOM API that read it is gone from every engine; only one of those
two facts is what people mean. What follows is concrete. There is no shortcut call, so
you walk [itemscope] yourself, you resolve itemref at document scope instead of
inside a card, and you read every property through the value table because seven of its
nine rows sit in an attribute where textContent finds nothing. RDFa gets the same
treatment against five different attributes. And when the page ships JSON-LD too, take
it: one selector beats a traversal.
Is microdata deprecated? No. Google's structured data documentation still lists JSON-LD, Microdata and RDFa as supported and calls all three equally fine, with JSON-LD recommended. What was removed is the Microdata DOM API, and the two get conflated.
Why is document.getItems() undefined? Because that API was removed. Mozilla bug 909633 took it out at Firefox 49, Chrome never shipped it, and the section is gone from the WHATWG specification. The markup stayed; the reader disappeared.
Can I read textContent from every [itemprop]? No. Seven of the nine value cases read
an attribute, so a meta price comes back empty and a time gives you the human label
instead of the ISO date, with nothing raising.
Why does my per-card parse miss properties? Most likely itemref. It lets an item
take properties from elements that are not its descendants, so a crawl scoped to one
card's subtree is incomplete on any document that uses it.
Does RDFa work the same way? No. It is a separate specification with five different
attributes: vocab, typeof, property, resource and prefix. A microdata parser
reads nothing from RDFa markup, and the value rules do not transfer.
A page has JSON-LD and microdata for the same entity. Which wins? Read the JSON-LD, because it costs one selector rather than a traversal. Whether any consumer merges the two has no primary source, so keep the extractions separate and decide in your own code.
- Google, Introduction to structured data markup, updated 2025-12-10, retrieved 2026-08-28: JSON-LD, Microdata and RDFa are all supported, with JSON-LD recommended.
- Google, structured data general policies, updated 2026-07-10, retrieved 2026-08-28, which names data-vocabulary.org markup as the format no longer supported.
- WHATWG HTML, the microdata section,
retrieved 2026-08-28: the five attributes, the property crawl including
itemref, and the value table above. - MDN, the
itempropglobal attribute, retrieved 2026-08-28, whose value rules match the WHATWG table case for case. - Mozilla, bug 909633 "Remove HTML Microdata API", RESOLVED FIXED, shipped in Firefox 49, retrieved 2026-08-28.
- W3C, RDFa Lite 1.1, Recommendation, retrieved
2026-08-28:
vocab,typeof,property,resourceandprefix. - Playwright's
page.evaluate,page.wait_for_selectorandall_text_contents, retrieved 2026-08-28 and used as documented upstream, because the browser this library returns is a real PlaywrightBrowser.
See also: extracting JSON-LD structured data
for the cheap path, extracting Open Graph metadata
for the meta tags beside this markup, scraping breadcrumb hierarchies
for nested items in practice, and scraping e-commerce product pages
where the price and image cases bite hardest.
Written while maintaining invisible_playwright,
a Firefox patched at the C++ level driven by stock Playwright. An early version of this
extractor read textContent off every [itemprop] and produced rows where each price
was an empty string and each date was a human label. Nothing errored and the row count
was right, which is why it survived as long as it did.
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