public void clickSubmit() { try { foreach (HtmlElement hem in WebBrowser1.document.all) { if (hem.GetAttribute("id").Contains("login")) { hem.InvokeMember("Click"); } } } catch (NullReferenceException) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)