i am actually trying to grap the text from a tag which has some child tags
For example:
<p><span>Child Text </span><span class="price">Child Text</span><br />
I need this text</p>
This is what i am trying
HtmlElement menuElement = browser.Document.GetElementsByTagName("p");
String mytext = menuElement.InnerHtml; //also tried innerText,OuterHtml,OuterText
UPDATE: I think i have to use Htmlagilitypack, so now my question is how to do this using htmlagilitypack lib, I'm new to it.
Thanks