标签:style color os ar for sp on html ad
//不引用其他单元
foreach(HtmlElement ele in WB1.Document.All) { if(ele.InnerText=="下一页>") { bl_exist=true; ele.InvokeMember("Click"); break; } }
//引用mshtml; IHTMLDocument2 doc = WB1.Document.DomDocument as IHTMLDocument2; foreach (IHTMLElement ele in doc2.all) { if (ele.innerText == "下一页>") { bl_exist = true; ele.click(); break; } }
标签:style color os ar for sp on html ad
原文地址:http://blog.csdn.net/xtfnpgy/article/details/39968897