I have ran into a complex issue. I have a site that I’m trying to automate a process that is horrible to do manually. I wrote the script to log in, then select a navigation page but, after the webdriver select the page after already logged in. It prompts to login again. Ive tried to have it open a new tab but it still just fires a new window. Could this be causing the issue.

testernick79 Default Asked on October 30, 2014 in Selenium WebDriver.


Can you post your code?


on November 4, 2014.
on November 4, 2014.
Add Comment
1 Answers


I am just guessing here. I hope that you are on test environment and the first login is for the website username and password but when it ask to login again it may be to authenticate that someone is trying to access the test environment and he/she isĀ  a part of organisation. So it must be the your organisation user/password for second window.

If it is appering always at the same page, you may be easily able to handle it, go through this topic on our website:

On the above topic, we have covered different types of login window, see if any one of them fit for your solution.

Lakshay Sharma

Professor Answered on November 4, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.