You can try
HtmlAgilityPack[
^]. The HTML then becomes queryable through Linq Like:
HtmlDocument htmlDoc = webBrowser1.Document as HtmlDocument;
string innerText = htmlDoc.DocumentNode.Descendants("body").Single().InnerText;
You can also load the HTML as a string or stream through
LoadHtml
and
Load
respectively