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.
Greg
JSValue val = webkitBrowser.GetScriptManager.EvaluateScript("document.getElementsByTagName(\"html\")[0].outerHTML;"); if (val != null) { PageSource = val.ToString(); }
Greg
Comments
Post a Comment