Hello im a bit new with vb programming
i was wondering how i can login to a webpage with a button that has no id just a name
heres what i have so far it adds my email and name to the webpage just need to make it click the login button on the pageCode:<button name="loginBtn" type="submit" class="glue primary">Login</button></p> <div id="SMSVerifyObj"></div> </fieldset> </form> <iframe id="loginIframe" name="loginIframe"></iframe>
Code:Form1.WebBrowser1.Document.All("emailSplash").Value = "myemail" Form1.WebBrowser1.Document.All("passwordSplash").Value = "mypassword" this the name of the button not working any ideas? Form1.WebBrowser1.Document.All("loginBtn").submit




Reply With Quote