Verify what AI-generated UI actually shows
Your DOM tests pass while users read the wrong text. RenderCheck reads the rendered pixels locally, in your test process or your browser, and fails the build when what users see is wrong.
Works with Playwright, Cypress and GitHub Actions
Rendered screen
Payment succesful
Order 48213 · confirmation sent
Assertion
await expect(page)
.toShowText('Payment successful');FAIL · text mismatch
- expected
- Payment successful
- read
- Payment succesful
Synthetic example. The DOM says the right string; the pixels do not.
- bytes uploaded
0
bytes uploaded
Images never leave the browser
- third-party scripts
0
third-party scripts
CSP allows only same-origin code
- OCR engine, self-hosted
1
OCR engine, self-hosted
Tesseract.js WASM, English model
- open source
MIT
open source
Read every line on GitHub
Local by construction
OCR runs in a WASM worker in your browser or test process
Strict CSP
default-src 'self' · connect-src 'self' · object-src 'none'
Tesseract.js WASM
Engine, worker and English data self-hosted
Play with it
Same DOM. Different reality.
The string in the page never changes. Drag the slider and see when a person, and a pixel-level check, stops being able to read it.
Payment successful
DOM text: "Payment successful" · always correct
Contrast ratio
13.2:1
AA needs 4.5:1 for body text
Illustration: the ratio is real WCAG arithmetic, computed live in your browser. It is not an OCR run. RenderCheck reads real screenshots in your tests and flags text a user cannot see.
Proof
Zero bytes leave your machine
Watch the ledger. The engine loads from this origin, and anything else is refused by the Content Security Policy.
Browser
screenshot.png
Read by a WASM worker inside this tab.
- GET/ocr/worker.min.js200 · same origin
- GET/ocr/tesseract-core-simd-lstm.wasm.js200 · same origin
- GET/ocr/eng.traineddata.gz200 · same origin
- POSThttps://upload.example/ingestBLOCKED · 0 B
- GEThttps://cdn.example/analytics.jsBLOCKED · 0 B
Simulated for illustration. The real check runs in CI: e2e/smoke.spec.ts fails on any off-origin or upload request during an OCR run.
What you get
Built like infrastructure, not a demo
Assert on pixels from Playwright or Cypress, read screenshots in the browser, and keep every byte on your machine.
Assert on what users see
Developer BetaA toShowText matcher for Playwright and Cypress. Failures show expected text, what was read, OCR confidence and a diff.
import { expect } from '@rendercheck/sdk/playwright';
test('order confirmation', async ({ page }) => {
await page.goto('/checkout/done');
await expect(page).toShowText('Order 48213');
});Local by construction
A strict CSP limits network calls to your own origin. The engine, worker and language data are self-hosted.
See the architecture →
Redact before you share
Find emails, card numbers and IBANs in a screenshot and black them out, all in your browser.
Open Redact →
Bugs DOM tests miss
Worked examples of wrong currency, truncated copy and invisible text, with the assertion that catches each.
Browse the gallery →
Verification Debt Score
A short self-assessment of how much AI-generated UI your team ships without checking what renders.
Take the score →
Workflow
Four lines from install to red build
- 01
Import expect
From '@rendercheck/sdk/playwright'
- 02
Assert what users see
await expect(page).toShowText("Total: $14.00")
- 03
OCR runs on your machine
The screenshot is read locally. Nothing is uploaded
- 04
Get a clear failure
Expected vs read text, OCR confidence and a diff
Try it now
Browser OCR, no signup
Drop a screenshot. It is read by a WASM engine in your browser and never uploaded.
Runs in the CI you already have
No service
No account, API key or upload. The check runs inside your test process.
No download at test time
The OCR engine and English data are installed with npm, so a run makes no network request for them.
Annotates the pull request
The GitHub Action marks the failing test line and attaches the screenshot with the text outlined.
.github/workflows/e2e.yml
steps:
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npx playwright test
- uses: ParthibanRajasekaran/text-from-image/packages/rendercheck/action@<ref>
if: always()
Built by Parthiban Rajasekaran
I designed and built RenderCheck. I am a Principal Dev Engineer working on reliability and AI-assisted delivery in regulated financial services, and I write and speak on the same: LeadDev, PlatformCon 2026. RenderCheck is an independent project, not affiliated with my employer.
The package is published with provenance on npm and listed in the MCP Registry, and the benchmark can be re-run. The evidence is listed on the About page.
About the author and track recordDeveloper beta
The npm package is published and the browser tool is live. The next milestone is the first public write-up from a team running it in CI. This site claims only what the repository can prove.
Using it in a project? Get in touch about a case study.