You can query the browser's Document
property for IPersistStream
or IPersistFile
and then call its Save()
method. But when querying the browser for its HTML, you are likely to get the processed HTML, which may include DOM changes from scripts.
To get the original HTML, you should download it yourself directly from the source URL, or at least extract the file from the browser's local cache.