browser - C# Webbrowser navigation question -


hello im trying log site using webbrowser control working @ logging in, when go different page of site programmaticly using navigate or making webbrowser click on link im not logged in more? im guessing has cookies or haven't been able find on google of how work.

   htmlelement content = this.wb.document.getelementbyid("content");    htmlelement username = content.document.all["username"];    username.setattribute("value", "username");    htmlelement pass = content.document.all["password"];    pass.setattribute("value", "password");    htmlelement gobutton = content.document.all["submit"];    gobutton.focus();    sendkeys.send("{enter}"); 

is have. ah hell tried use didn't work correctly anyway button text has in , not style also?

as comparison, work if record sequence imacros internet explorer?


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -