I have used this successfully to login to other websites but for this one particular website I'm working on doesn't recognize that there is a username and password even though the code below gives the login information.
Code: Select all
wb.document.getElementByID("username100").Value := "username@gmail.com"
wb.document.getElementByID("password").Value := "password123"
wb.document.getElementsByTagName("button")[6].Click()
The other method that I also have tried only works sometimes due to some sort of lag? I have inputted sleep commands where I think it will help with the delay but I'm not to sure If i'm doing it correctly. Any help would be appreciated
Code: Select all
wb.document.getElementsByTagName("input")[4].Focus()
send, "username@gmail.com"
sleep, 500
wb.document.getElementsByTagName("input")[6].Focus()
send, "password123"
sleep, 500
wb.document.getElementsByTagName("button")[6].Click()