My below code for windows authentication was working well for over a year. But for the last few days it is longer working now. I am not able to identify exact reason for tha
Try AutoIT to create an exe for the windows authentication and call it where ever required, if nothing else is working. If you are mostly working with Pyton then try this
Sample code:-
WinWaitActive("Authentication Required","","120")
If WinExists("Authentication Required") Then
Send("username{TAB}")
Send("password{Enter}")
EndIf
You could try automating the keyboard directly?? It might work. You automate the keyboard.
Answered a similar question here - https://stackoverflow.com/a/49109132/6003362
Did you try
driver.switchTo().alert();
or
driver.switchTo().activeElement();
before typing credentials?
However, if this works I can't explain why it worked before.