Via that code i have extracted all desired text out of a html document
private void RunThroughSearch(string url) { private IWebDriver driver; driver = n
This seemed to work for me, and is less code:
var element = driver.FindElement(By.ClassName("sa_wr")); var innerHtml = element.GetAttribute("innerHTML");