Chrome 59 has cross-platform headless support
chromestatus.com
Chrome 59 has cross-platform headless support
1–10 of 161 posts
Re: Chrome 59 has cross-platform headless support
#2Re: Chrome 59 has cross-platform headless support
#3Please let this be capable of generating PDFs from HTML from the command line.
Re: Chrome 59 has cross-platform headless support
#4Please let this be capable of generating PDFs from HTML from the command line.
FWIW, you can do that now, using phantomjs (which is chrome) http://phantomjs.org/screen-capture.html
It's based on webkit.
Re: Chrome 59 has cross-platform headless support
#5Re: Chrome 59 has cross-platform headless support
#6Re: Chrome 59 has cross-platform headless support
#7Please let this be capable of generating PDFs from HTML from the command line.
FWIW, you can do that now, using phantomjs (which is chrome) http://phantomjs.org/screen-capture.html
Re: Chrome 59 has cross-platform headless support
#8Any way of scripting this to automate button clicks etc? I use PhantomJS for this now but found it to be incredibly unstable for complex pages.
Re: Chrome 59 has cross-platform headless support
#9Please let this be capable of generating PDFs from HTML from the command line.
Re: Chrome 59 has cross-platform headless support
#10Chrome deals pretty well with garbage collection, so long as I'm careful to de-reference closed windows properly¹, and only uses a maximum of 150mbs. PhantomJS eats up almost 6GB of memory before it's done, which makes it almost unusable on machines with less memory or CI boxes. Travis is a no-go.
I'm hoping running Chrome in headless mode should give a nice speedup for our tests.
-----
¹ Turns out even a closed popup window or iframe keeps a huge amount of memory hanging around. Who knew.