News for hackers. Stuff that matters.
Re:Firefox 56 supports headless mode on Windows by boredpudding on Thursday June 22, 2017 @07:08AM (#14611359)
Maybe it's possible with the print option Chrome offers. Regular Chrome can print to PDF files. Maybe headless Chrome supports that.

Edit: It's possible. It's on the introduction page of Chrome Headless

https://developers.google.com/web/updates/2017/04/headless-c...

Look at 'Create a PDF'

Re:Firefox 56 supports headless mode on Windows by robk on Thursday June 22, 2017 @08:46AM (#14611841)
Here's a simple library to do that: https://github.com/LucianoGanga/simple-headless-chrome