Ask HN: Headles Firefox on Windows?
I am trying to use firefox to save a website as image and, most importantly, as PDF but the headless mode does not seem to be working on Windows 10. I tried everything I could find on the internet but still no luck.
Chrome ditto. I am baffled by this.
2 comments
[ 2.9 ms ] story [ 11.5 ms ] threadchrome.exe --headless --dissable-gpu --window-size=1920x5400 --screenshot="C:\\Users\Foo\\Desktop\\img.png" "https://somesite.com"
chrome.exe --headless --dissable-gpu --save-to-pdf="C:\\Users\Foo\\Desktop\\doc.pdf" "https://somesite.com"