Hello! I am using ChromeDriver version 85.0.4183.8700. When I have chrome opened and there is a proxy authentication alert opened (screenshot attached), when I execute code
Driver.SwitchTo().Alert().SetAuthenticationCredentials("username", "password");
If I execute this code, I just get a timeout after 10 seconds (even if alert is there):
var wait = new WebDriverWait(acc.Wb.Driver, new TimeSpan(0, 0, 10));
IAlert alert = wait.Until(ExpectedConditions.AlertIsPresent());
This throws exception
{"no such alert\n (Session info: chrome=85.0.4183.102)"}
Is this a problem that chrome driver has or selenium? Am I doing something wrong?
Thanks!
To Reproduce
Any way of interacting with the Authentication Alert box will fail.
Expected behavior
Driver should set credentials.
Test script or set of commands reproducing this issue
Driver.SwitchTo().Alert().SetAuthenticationCredentials("username", "password");
If I execute this code, I just get a timeout after 10 seconds (even if alert is there):