Webbrowser clicking on checkbox and button?

Hi, I'm attempting to open up this http://ift.tt/1G28JZv in a webbrowser in C#, which fills in all the information, click yes on the checkbox and finally click on checkout. I gotten the fill information to work however I can't seem to get the checkbox or checkout button working. I tried the following code below and it doesn't work. Any ideas?

webBrowser1.Document.GetElementById("order_terms").InvokeMember("click"); webBrowser1.Document.All.GetElementsByName("commit")[0].InvokeMember("click"); 

by IbeatDatPussyUp via /r/csharp

Leave a Reply