Hi,
I trying to login using a webbrowser in vb.net with the following:
However, I can't find the ID/Name of the Submit/Login button.
Website: [Only registered and activated users can see links. Click Here To Register...]
Somebody able to help me out?
Thanks in advance
I trying to login using a webbrowser in vb.net with the following:
Code:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WebBrowser1.Document.GetElementById("username").SetAttribute("value", TextBox1.Text)
WebBrowser1.Document.GetElementById("password").SetAttribute("value", TextBox2.Text)
WebBrowser1.Document.GetElementById("ID_HERE").InvokeMember("click")
End Sub
Website: [Only registered and activated users can see links. Click Here To Register...]
Somebody able to help me out?
Thanks in advance