Hi Guys,
I can't seem to figure out what the problem is here, i'm using the most basic code to login to a website:
The browser control navigates to the login page fine but doesn't attempt to enter the fields, but i did have it working an hour or so ago, nothings changed code wise i can't figure it out.
any help would be appreciated :)
cheers guys
Graham
I can't seem to figure out what the problem is here, i'm using the most basic code to login to a website:
Code:
WebBrowser1.Navigate("http://site.com/auth/login")
If (WebBrowser1.ReadyState = WebBrowserReadyState.Complete) Then
WebBrowser1.Document.GetElementById("login").SetAttribute("value", txtBoxMozUser.Text)
WebBrowser1.Document.GetElementById("password").SetAttribute("value", txtBoxMozPass.Text)
WebBrowser1.Document.GetElementById("submit").InvokeMember("click")
End If
any help would be appreciated :)
cheers guys
Graham