TAdvWebBrowser - html source code

How can I get the complete html source code from a website in AdvWebBrowser?

You can get the body with:

AdvWebBrowser1.ExecuteJavascript('function GetHTML(){return document.documentElement.innerHTML;} GetHTML();',
   procedure(const AValue: string)
   begin
     memo1.Lines.Text:= AValue;
   end
   );

Super Service - danke :+1:

Welcome!