WIN: Successfully forced Selenium Java to login with Microsoft Online!
The problem was that the dialog box is reused for the password. However, the original button goes away and the Selenium web driver loses track. This is called a "staleness" error and Selenium will report it as such. The button xpath is identical. What you have to do is loop, causing the driver to keep looking at that spot. It then notices the change and tracks it. This is a rather poor explanation, but explains the concepts involved.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
WIN: Successfully forced Selenium Java to login with Microsoft Online!
The problem was that the dialog box is reused for the password. However, the original button goes away and the Selenium web driver loses track. This is called a "staleness" error and Selenium will report it as such. The button xpath is identical. What you have to do is loop, causing the driver to keep looking at that spot. It then notices the change and tracks it. This is a rather poor explanation, but explains the concepts involved.