The Webdriver specification defines a `navigator.webdriver` property to indicate if UA is controlled by automation. This property is defined and returns `true` when running Chrome with the `--headless` flag.
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 63
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- No signal
- No signal
- No signal
- No signals
Owner
Search tags
headless,Last updated on 2021-02-09
Comments
https://groups.google.com/a/chromium.org/g/blink-dev/c/6GysDZCWwB8/m/rXbGoRohBgAJ https://github.com/w3c/webdriver/pull/1219