Emulate "Save as html"

167 views
Skip to first unread message

Ivan Korjavin

unread,
Nov 8, 2021, 6:40:58 PM11/8/21
to chrome-debugging-protocol
Can I reach the same functionality with cdp as browser provides with "Save as html page"?

It makes some kind of export, changing the page, preparing it to be open from local disk.

Niranjan Rao

unread,
Nov 8, 2021, 7:00:56 PM11/8/21
to chrome-debug...@googlegroups.com
On 11/8/21 3:40 PM, Ivan Korjavin wrote:
Can I reach the same functionality with cdp as browser provides with "Save as html page"?

It makes some kind of export, changing the page, preparing it to be open from local disk.
--
You received this message because you are subscribed to the Google Groups "chrome-debugging-protocol" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-debugging-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chrome-debugging-protocol/4de83889-3f95-4d75-9ea4-edffe518a991n%40googlegroups.com.

Are you looking for mhtml saving, also called as complete save? If so, https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-captureSnapshot



Reply all
Reply to author
Forward
0 new messages