Skip to content

Implement text extraction from raw HTML + client-side rendering (CSR) detection in QA#992

Draft
emma-sg wants to merge 22 commits into
mainfrom
qa-csr-clues-and-text-compare
Draft

Implement text extraction from raw HTML + client-side rendering (CSR) detection in QA#992
emma-sg wants to merge 22 commits into
mainfrom
qa-csr-clues-and-text-compare

Conversation

@emma-sg

@emma-sg emma-sg commented Mar 11, 2026

Copy link
Copy Markdown
Member

Adds option (--qaDetectClientSideRendering) to analyze replayed html content to detect CSR clues such as framework indicators, hydration data, web components, and DOM manipulation patterns to identify client-side rendered pages. Output is written to the info warcs along with the rest of the page info (pages, comparison info, etc).

Will follow up with extracted text analysis using & not using additional page resources.

@emma-sg
emma-sg force-pushed the qa-csr-clues-and-text-compare branch from ba2edf1 to e40d96f Compare March 11, 2026 20:41
@socket-security

socket-security Bot commented Mar 18, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​types/​jsdom@​28.0.01001007486100
Addedjsdom@​29.0.07510010096100

View full report

@emma-sg emma-sg changed the title Implement client-side rendering (CSR) detection in QA Implement text extraction from raw HTML + client-side rendering (CSR) detection in QA Mar 23, 2026
@emma-sg
emma-sg force-pushed the qa-csr-clues-and-text-compare branch from 4d5e40d to dd299af Compare March 23, 2026 18:13
@emma-sg
emma-sg force-pushed the qa-csr-clues-and-text-compare branch from ecb9577 to 80fd48e Compare March 31, 2026 18:21
Comment thread src/replaycrawler.ts Outdated
@emma-sg
emma-sg force-pushed the qa-csr-clues-and-text-compare branch from 9d7e1e6 to 41775c9 Compare March 31, 2026 19:34
emma-sg and others added 19 commits April 1, 2026 17:03
adds option to analyze replayed html content to detect csr clues
such as framework indicators, hydration data, web components, and
dom manipulation patterns to identify client-side rendered pages

will follow with text analysis using & not using additional page
resources
text

removes replay issues from the comparison
also removes checking for previously extracted raw text, since the
archived
items we're looking at currently were crawled before this branch was
developed
- add self-closing empty div variant for modern frameworks
- update Nuxt hydration pattern to catch __NUXT_DATA__ variant
- improve web components patterns with clearer descriptions
- add new DOM manipulation patterns: output/template elements
- add iframe/object/embed elements for frames detection
@emma-sg
emma-sg force-pushed the qa-csr-clues-and-text-compare branch from 7a77443 to f8bd4e5 Compare April 1, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants