Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
  2. doc.LoadHtml(webBrowser1.Document.Body.InnerHtml);
  3. var pars = doc.DocumentNode.SelectNodes("//p");
  4. foreach (HtmlNode item in pars)
  5. {
  6. HtmlElement element = ElementFromWebBrowserControlWhichMatches(item);
  7. // ElementFromWebBrowserControlWhichMatches is what I am searching for
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement