How to save the webpage as .mht in puppeteer.
There is an option of taking screenshot, also save as pdf but there is no option to save as HTML or other extensions
How to save the webpage as .mht in puppeteer.
There is an option of taking screenshot, also save as pdf but there is no option to save as HTML or other extensions
It seems like you could set the browser flags to enable the saving as mhtml. But there is no way to access the browsers context menu to do the save_as.
The easiest option would be to save as PDF and then convert the PDF to MHTML