I have been looking for an answer for this all morning and last night.
I use WebKit.NET as an internal browser to mock the reality of the browser, and I followed the tutorial here .
Therefore, when creating a form, I declare:
this.webKitBrowser1.Navigated += new WebBrowserNavigatedEventHandler(webKitBrowser1_Navigated);
Where in the webKitBrowser1_Navigated event I am trying to get the text of a document using:
string content = webKitBrowser1.DocumentText;
But the content is empty .
In addition, I use webkitBrowser because I need a webkit mechanism to get web content.
Any idea on how I can get text content from WebKit Engine? Thanks.
source share