Headless mode allows running Chromium in a headless/server environment. Expected use cases include loading web pages, extracting metadata (e.g., the DOM) and generating bitmaps from page contents -- using all the modern web platform features provided by Chromium and Blink. To use headless, start Chrome with a command line flag: $ chrome --headless --remote-debugging-port=9222 https://chromium.org

Demo

Documentation

Status in Chromium

Internals>Headless


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

Available for Linux, Mac and Windows. Allow Window support landed in M59, M60 fixed several bugs. Puppeteer is a Node library that works with headless: https://developers.google.com/web/tools/puppeteer/

Search tags

headless, devtools, testing, automation,

Last updated on 2020-11-09