← ClaudeAtlas

playwright-stealth-verifylisted

Check whether a Playwright, Puppeteer, Selenium or CDP-driven browser presents a coherent fingerprint, using liarjs as a library against a Page you already have - navigator.webdriver, HeadlessChrome tokens, worker versus main-thread identity, patched-API integrity, WebGL versus WebGPU GPU identity. Use when asked whether an automated browser looks like a normal one, when a headless setup or a stealth plugin's effect needs measuring rather than assuming, or when an assertion on fingerprint quality belongs in a test suite.
liarjsdev/liarjs-skills · ★ 8 · Testing & QA · score 73
Install: claude install-skill liarjsdev/liarjs-skills
# 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 Puppeteer `Page` 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. ```ts import { checkPage } from 'liarjs'; const result = await checkPage(page); expect(result.score).toBeGreaterThanOrEqual(85); // Or assert on specific ids rather than a single number: const critical = result.checks.filter((c) => c.status === 'bad'); expect(critical, JSON.stringify(critical, null, 2)).toHaveLength(0); ``` `ScanResult` is `{ score, label, checks[], client, server, meta }`: `client` is the raw fingerprint, `server` the raw edge view, `meta.schema` the payload version. Install as a dev dependency so the version is pinned in the lockfile: ```bash npm install --save-dev liarjs ``` ## Against a browser started outside the test process ```bash npx liarjs@0.3 --cdp http://127.0.0.1:9222 ``` Use this when the browser is already