# Detecting headless browsers, Playwright, and Puppeteer without blocking legitimate users

> Canonical: https://www.isnotai.com/guides/detect-headless-browsers-playwright-puppeteer
> Summary: How Playwright, Puppeteer, and headless Chromium reveal themselves through browser execution timing, runtime properties, and interaction dynamics.

Technical Guide · Browser Automation

Stealth plugins patch single JavaScript properties like navigator.webdriver, yet automated Chromium runners still behave differently from real people across rendering timing, pointer kinematics, and typing composition.

Published December 3, 2026 · By NotAI

Core principle

Checking one browser flag in isolation is fragile because stealth patches spoof individual headers and navigator fields. Reliable detection correlates runtime environment traits with continuous behavioral dynamics across the full session.

## Why navigator.webdriver alone is never enough

Early automation checks tested a single boolean such as `navigator.webdriver === true` or a "HeadlessChrome" user-agent substring. Modern Playwright and Puppeteer wrappers strip those markers at launch and run full headed Chromium inside Linux cloud containers with virtual framebuffers (Xvfb).

At the same time, aggressive anti-bot scripts that hard-block users on a single missing browser API risk locking out privacy-hardened browsers, school-managed Chromebooks, or assistive technologies.

## Three signal families that expose automated Chromium sessions

1. **Execution and virtualized environment traits:** Headless and cloud-VM runners leave subtle inconsistencies across graphics pipeline timing, software-rendered canvas/WebGL behavior, window geometry transitions, and runtime execution cadence that differ from consumer laptops and managed Chromebooks.
2. **Pointer, focus, and navigation kinematics:** Playwright and Puppeteer actions such as `locator.click()` and `page.fill()` jump instantaneously to element centers, produce zero micro-jitter or deceleration curves, and advance across form controls faster than human reading latency.
3. **Writing composition timelines:** Even when an automation script loops over characters with artificial random delays, scripted typing lacks genuine human revision cycles: natural word-boundary bursts, thinking pauses before complex clauses, typo backspaces, and cursor edits.

## Why fixed rules and human review matter

NotAI evaluates behavioral signals with [fixed rules and weights](https://www.isnotai.com/methodology) rather than opaque black-box prose classifiers, and preserves the inspectable timeline for a human reviewer. In Canvas LMS and web assessment workflows, a reviewer can inspect both the automation signals and the keystroke replay before taking any action. You can test local browser-environment visibility right now in our [Local Browser Signal Inspector](https://www.isnotai.com/tools/browser-signal-inspector).

Keep reading

## Related guides

Automation Guide

### Detecting CDP Browser Automation

How Chrome DevTools Protocol synthetic input differs from real OS hardware events.

Field Guide

### Hosted Coursework Agents (Einstein-style)

How cloud-VM coursework services combine Playwright with stolen student logins.

Interactive Tool

### Local Browser Signal Inspector

Inspect read-only browser signals locally with zero cookies or network calls.

Documentation

### Behavioral Signals & Anomalies

Overview of the anomaly categories shown in the NotAI dashboard.
