Headless Chromium 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.
There are two ways to use Headless Chromium:
Usage via the DevTools remote debugging protocol
$ chrome --headless --remote-debugging-port=9222 https://chromium.org
Currently you'll also need to use
--disable-gpu to avoid an error from a missing Mesa library.
Usage from Node.js
For example, the chrome-remote-interface Node.js package can be used to extract a page's DOM like this:
... read the whole story at chromium.googlesource.com.