browsersays

What is running underneath

A desktop application, a native program with a browser inside it, and an ordinary tab all say they are Chrome. These are the properties that separate them.

Most of the leaflet is about what your browser says. This section is about what is holding the page, which is a different question and one you might not know the answer to. A great many desktop applications are web pages in a frame: chat clients, editors, music players, installers, game launchers, point-of-sale terminals. If you are reading this inside one of those, the page can see globals that no browser tab has ever exposed.

All eight checks are documented here whether or not they found anything on your machine. A list that only described what fired would be a verdict, and this site does not produce verdicts. Each entry below names the exact paths that decide it, so the reasoning is checkable rather than asserted.

Two of the eight are honest about their own limits. Puppeteer and Playwright can both be configured to leave no named global behind at all, which makes that check corroborating and never conclusive. Saying so here is the point: a check whose limits are not published is not a check.

Electron

Electron is a way of building a desktop application out of web pages. The application ships its own copy of Chromium, so what looks like a native program is a web page in a frame with the browser hidden.

A great many ordinary desktop applications are built this way — chat clients, editors, music players, note-taking tools. Reading this leaflet inside one is not unusual and is not a problem; it simply means the page can see Node.js globals that no browser tab exposes.

Electron exposes Node.js globals inside the page. A site seeing these knows it is talking to a desktop application rather than a browser tab.

Decided by 4 paths

  • window.process
  • window.require
  • window.module
  • process.versions

Chromium Embedded Framework

The Chromium Embedded Framework does the same job from the other direction: a native application embeds a Chromium view inside itself, usually to show one screen of web content within an otherwise native program.

Installers, game launchers, streaming clients and point-of-sale software use this constantly. It leaves behind a message-passing bridge that any script on the page can see, which is what separates it from an ordinary tab.

CEF embeds Chromium inside a native application and injects its own message-passing bridge, which is visible to any script on the page.

Decided by 2 paths

  • window.cefQuery
  • window.cefQueryCancel

Node.js globals

Node.js is the server-side JavaScript runtime. Its globals — the buffer type, the module system, the immediate scheduler — are things no web browser has ever exposed to a page.

Finding them means script here is running in a hybrid runtime rather than a browser sandbox, which is the normal condition inside a desktop application built on web technology and is not the normal condition in a tab.

Server-side globals that no browser exposes. Their presence means script is running in a hybrid runtime.

Decided by 4 paths

  • window.Buffer
  • window.global
  • window.__dirname
  • window.setImmediate

PhantomJS

PhantomJS was a headless browser: a browser with no window, driven entirely by a script, used for testing and for scraping. It was retired years ago after headless Chrome made it unnecessary.

Nobody visits a website in PhantomJS by accident in 2026. It is on the list because old automation stacks are remarkably durable and because a check that only looks for current tools ages badly.

A long-retired headless browser that still appears in old automation stacks.

Decided by 3 paths

  • window.callPhantom
  • window._phantom
  • window.__phantomas

NightmareJS

NightmareJS is a browser-automation library built on Electron. It drives a real browser window through a scripted interface rather than through the standard automation protocol.

Like PhantomJS it belongs to an earlier generation of tooling. It leaves a single named global behind, which is a one-line check, which is why it is still worth making.

An Electron-based automation library that leaves a named global behind.

Decided by 1 path

  • window.__nightmare

Selenium / WebDriver

Selenium is the oldest and most widely deployed browser-automation framework. It drives a real browser through the standard WebDriver protocol, which is also how a great deal of legitimate automated testing is done.

Its implementations inject evaluation hooks into the page under a family of named globals. Patched drivers remove some of them; removing all of them, across every driver and every version, is difficult, which is why there are ten paths on this check rather than one.

WebDriver implementations inject evaluation hooks into the page. Patched drivers remove some of these; removing all of them is difficult.

Decided by 10 paths

  • window._selenium
  • window.callSelenium
  • window.__selenium_evaluate
  • window.__selenium_unwrapped
  • window.__webdriver_evaluate
  • window.__driver_evaluate
  • window.__fxdriver_evaluate
  • window.__webdriver_script_fn
  • document.__selenium_unwrapped
  • document.__webdriver_evaluate

Puppeteer / Playwright

Puppeteer and Playwright are the two dominant modern automation libraries. Both drive Chromium — and Playwright also drives Firefox and WebKit — through the DevTools Protocol rather than through WebDriver.

Both can be configured to leave no named global at all, so what this check finds is corroborating rather than conclusive. That is stated here rather than implied, because a check whose limits are not published is not a check.

Named globals left by the two dominant DevTools-Protocol drivers. Both can be patched to remove them, which is why they are corroborating rather than conclusive.

Decided by 4 paths

  • window.__playwright
  • window.__puppeteer
  • window.__pw_mangle
  • window.__pwInitScripts

Chrome automation controller

A Chromium test hook, exposed when the browser has been launched with automation command-line flags. It exists so that Chromium's own test suite can talk to a page.

It is not something a person turns on. Its presence means the browser was started with flags that an ordinary launch does not use, which is a statement about how the browser was started rather than about who is using it.

A Chromium test hook exposed when the browser is launched with automation flags.

Decided by 2 paths

  • window.domAutomation
  • window.domAutomationController

What this section cannot see

One thing, and it is worth naming. Attachment by the DevTools Protocol — the mechanism behind the two modern automation libraries above — is a runtime behaviour rather than a property, so no property walk can find it. A collector for it was written, measured and removed, on the grounds that a check returning "clear" under every condition anyone could test would be worse than no check at all. There is deliberately no reader for it.

Read my browser · Whether its story holds together · How each line is produced