playwright-stealth-verify

Solid

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.

Testing & QA 410 stars 0 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
87
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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

Details

Author
liarjsdev
Repository
liarjsdev/liarjs-skills
Created
1 months ago
Last Updated
1 months ago
Language
N/A
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category