GeckoElementCollection tagsCollection = geckoWebBrowser1.Document.GetElementsByTagName("input"); foreach (GeckoElement currentTag in tagsCollection) { if (currentTag.GetAttribute("class").Equals("button")) { ((GeckoElement)currentTag).Equals("click"); } //delay some seconds to click next button... }
foreach (HtmlElement btn in webBrowser1.Document.GetElementsByTagName("button")) { if (btn.GetAttribute("ClassName") == "btn primary-btn js-submit") { btn.InvokeMember("click"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)