That would be so awesome. The current alternatives:<p>1. Use PhantomJS: It easy to script, but it lags over real browser by few years and development is stagnant. Many real website doesn't work in PhantomJS.<p>2. Use Chrome/Firefox xvfb. You have real browser, but scripting is hard. E.g. even hello world examples like make a thumbnail of a website takes a lot of time to get right.<p>According to some rumors, headless Chrome existed before even Chrome was released to the public. Google use it to do web scraping. However, though headless browsers are great for developers, they are also great for spammers and ad fraud. So the main developer likely has conflict of interests whether to invest resources into making headless Chrome public.
If this would benefit you - please star this issue: <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=546953" rel="nofollow">https://bugs.chromium.org/p/chromium/issues/detail?id=546953</a>
From the bug comments:<p><pre><code> headless: Implement screenshot capturing
(based on patch from skyostil@, also sets default window
size to 800x600 to enable basic snapshot support)
With the --screenshot option, headless shell will save a
PNG screenshot of the loaded page.</code></pre>
This is great news. In general I'm hoping this makes it easier to do browser testing in more CI services, rather than isolating this type of testing to services that have to specialize in it just to get it to to work.<p>One (minor?) benefit over Phantom is having working file uploads, though it would be awesome to have that in Phantom too.
Another way to solve this problem is to have Chrome in a docker container that you can start up: <a href="https://github.com/SeleniumHQ/docker-selenium" rel="nofollow">https://github.com/SeleniumHQ/docker-selenium</a>
Great news! I hope this will allow to change the hard-coded limit of the maximum number of connection per server in Chrome [1].<p>[1] <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=85323" rel="nofollow">https://bugs.chromium.org/p/chromium/issues/detail?id=85323</a>