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
Enabled by default (tracking bug) in:
- Chrome for desktop release 59
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- No signal
- No signal
- Positive
Owner
Search tags
headless, devtools, testing, automation,Last updated on 2020-11-09
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/