Verify an automation harness against itself
A test browser that quietly looks wrong is a test suite that quietly gets challenged. liarjs
answers one question about a harness: does its JavaScript story agree with itself and with what the
network layer saw? It measures; it does not modify the browser and ships no evasions or profiles.
Node 22 or newer. Zero runtime dependencies, so it adds nothing to an existing Playwright or
Puppeteer install.
Against a Page you already have
checkPage works with any object exposing evaluate(expression: string). Playwright and PuppeteerPage objects both qualify, so the harness under test is the harness being measured, with its real
launch flags, real plugins and real proxy in place.
import { checkPage } from 'liarjs';
const result = await checkPage(page);
Installs: 141.2K | GitHub stars: 6 | First seen: Aug 5, 2026


