Skip to main content
Developer Beta

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.

$ npm i -D @rendercheck/sdk

Works with Playwright, Cypress and GitHub Actions

checkout.spec.ts · rendercheck

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

PASS · readable by people and OCR

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.

Network (simulated)5 requests
  • 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
Off-origin requests: 0 · bytes uploaded: 0

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.

Workflow

Four lines from install to red build

  1. 01

    Import expect

    From '@rendercheck/sdk/playwright'

  2. 02

    Assert what users see

    await expect(page).toShowText("Total: $14.00")

  3. 03

    OCR runs on your machine

    The screenshot is read locally. Nothing is uploaded

  4. 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()
Parthiban Rajasekaran, author of RenderCheck

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 record

Developer 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.

Ready for image upload