HTTPS Authentication window on Sites
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.
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.