9

I'm trying to figure out if it's possible to make Chrome save a site in MHTML from command line. I'm aware of --print-to-pdf, --dump-dom, and --screenshot but neither of them is what I'm after.

Anyone knows the answer to this?

Note: I know how to turn on MHTML option in Chrome.

1 Answers1

0

This is an old question and not an elegant solution, but you could probably do this using AutoHotkey to simulate saving manually at the headless machine by passing appropriate keystrokes.