My problem is the following. I am trying to automate a process in Internet Explorer. I managed to do lots of stuff when i am already in my account in the website. But I needed to scope this a bit, so i made the script to start IE and go in the website but when it is a newly started window of IE, I always get asked to login anew. I managed to put the username and the password in it with following lines of code
Code: Select all
pwb.document.GetElementByID(loginname).value:="TheUsername"
And similar for the password, but after few hours of trying different stuff i still did not manage to click the button for login. I am using iWB2 Learner, the button does not have neither Name nor ID.
I tried
Code: Select all
pwb.document.getElementsByClassName("bui-button bui-button--large bui-button--wide").Click
Code: Select all
Send, {enter}
Is there a way to do this
This is the outerHTML of the button:
Code: Select all
<button class="bui-button bui-button--large bui-button--wide" type="submit"><span class="bui-button__text">Next</span></button>