In Chrome, to save a complete web page I can click Ctrl+S > “Format: Web page, Single File” > save it as “.mhtml”.
How can I do the same thing but automatically, using JavaScript?
If I open the chrome devtools, is there a line of javascript I can enter that will accomplish that?