Hacker News new | ask | show | jobs
by jordwalke 2491 days ago
I'm not aware of a way to save as MHTML from Chrome in headless mode (from the command line). Are you?
1 comments

You can either use the flag --save-page-as-mhtml from CLI [1] or a library such as puppeteer.

[1] https://techdows.com/2019/06/google-removes-save-page-as-mht...

[2] https://github.com/GoogleChrome/puppeteer