Any way to start Google Chrome in headless mode?
I carefully revised the list of switches at http://peter.sh/experiments/chromium-command-line-switches/#chrome-frame and I couldn't find anything that would launch Chrome in a hidden background process. The closest I was able to is --keep-alive-for-test + custom packaged app, but the app fails to execute any passed code because (the way it reports) "no window - ChromeHidden". TL;DR google-chrome --headless --remote-debugging-port=9222 http://example.com You'd also need --disable-gpu temporarily. Tutorial : https://developers.google.com/web/updates/2017/04/headless-chrome There's a work in