HTML按钮元素:
C# 执行代码
HtmlDocument doc = webBrowser1.Document; HtmlElementCollection coll = doc.GetElementsByTagName("input"); foreach (HtmlElement item in coll) { if (item.GetAttribute("value") == "确定") { item.InvokeMember("click"); } }