Live data from Hacker News

Chrome 59 has cross-platform headless support

chromestatus.com

11–20 of 161 posts

Re: Chrome 59 has cross-platform headless support

#11
post #6

Any 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.

Yes: https://github.com/cyrus-and/chrome-remote-interface/wiki/Tr...

But ultimately selenium and webdriver.io will do a better job at this

Re: Chrome 59 has cross-platform headless support

#13
post #3

Please 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

Also with https://wkhtmltopdf.org/ and http://pandoc.org/

Re: Chrome 59 has cross-platform headless support

#17
post #3

Earlier quoted context omitted.

FWIW, you can do that now, using phantomjs (which is chrome) http://phantomjs.org/screen-capture.html

> FWIW, you can do that now, using phantomjs (which is chrome) http://phantomjs.org/screen-capture.html It's based on webkit.

Once upon a time, but not anymore.

https://www.chromium.org/blink

Re: Chrome 59 has cross-platform headless support

#18
The feature I was most interested in when they announced this last year was virtual time. The Developer Resources link has it listed (https://chromium.googlesource.com/chromium/src/+/lkgr/headle...) but it's a broken link, unfortunately.

Mostly, I'd like to know how the control of the virtual time system would be exposed. Would it be through the C++ API, or could it be made available through the debugging protocol?

Post reply on HN