Hello. I am making a WoW automatic trial account creator and so far i have it so that on this link:
https://us.battle.net/account/creation/wow/signup/
it will fill out all of the information.
The only problem I am having is that when I try to make it automatically submit it isnt working because I can't find the id of the button. When I inspect it on the website it is a javascript button and I am not sure how to make it click.Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click WebBrowser1.Document.All("firstName").InnerText = txtFirstName.Text WebBrowser1.Document.All("lastName").InnerText = txtLastName.Text WebBrowser1.Document.All("emailAddress").InnerText = txtEmail.Text WebBrowser1.Document.All("emailAddressConfirmation").InnerText = txtEmail.Text WebBrowser1.Document.All("password").InnerText = txtPass.Text WebBrowser1.Document.All("passwordConfirmation").InnerText = txtPass.Text WebBrowser1.Document.All("touAgree").SetAttribute("checked", "true") End Sub
I tried
But it still didn't work. Any help would be much appreciated! ThanksCode:'WebBrowser1.Document.All("Submit").InvokeMember("click")![]()




Reply With Quote