Closed VandJ closed 2 years ago
WVBrowser1..ExecuteScript('encodeURI(document.documentElement.innerHTML)'); and in the ExecuteScriptCompleted event : SourceCode := TNetEncoding.URL.Decode(UTF8ToString(AResultObjectAsJson));
Thanks, it worked.
Really a great job, thank you very much. You can consider including a GetHTMLSource-like function from the AMEdgeBrowser library https://github.com/amancini/AMEdgeBrowser/blob/main/Src/AMEdgeBrowser.pas
Hi. How to get html source code?