http://freeprog.tistory.com/214 //HtmlDocument doc = webBrowser1.Document; mshtml.HTMLDocument doc2 = (mshtml.HTMLDocument)_currentWeb.Document; // as HtmlDocument;//webBrowser2.Document; if (doc2 == null) return; mshtml.IHTMLElementCollection elems = doc2.getElementsByTagName("div"); foreach (mshtml.IHTMLElement item in elems) //foreach (HtmlElement item in doc2.GetElementsBy..