You have to load the document as url or string. The cast won't work:
var document = webBrowser1.Document;
var documentAsIHtmlDocument3 = (mshtml.IHTMLDocument3)document.DomDocument;
var htmlString= documentAsIHtmlDocument3.documentElement.innerHTML;
HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(htmlString);
string texts = doc.DocumentNode.SelectSingleNode("//div[@class='text-conent']/p]").InnerText;
richTextBox1.Text = texts;