Donate

OpenWebKitSharp Document Text Similar To .NET WebBrowser In C#

Here's how you get the page source of a WebKitBrowser similar to DocumentText property of a .NET WebBrowser Control.
JSValue val = webkitBrowser.GetScriptManager.EvaluateScript("document.getElementsByTagName(\"html\")[0].outerHTML;");  
 if (val != null)  
 {  
    PageSource = val.ToString();  
 }  

Greg

Comments

Donate

Popular Posts From This Blog

WPF CRUD Application Using DataGrid, MVVM Pattern, Entity Framework, And C#.NET

Remove Cookies From CookieContainer Class

How To Test Or Check Dead Pixels And Backlight Bleed On Your Monitor Using Dead Pixel Checker In Windows 11