OS: Windows 10
Selenium Version: 2.53.0
Browser: Edge 15 / 16 / 17
Currently there is no predefined capability to disable '_Save your password_' message for Edge browser.
Browser Version:
There should a some capability which when used would disable 'Save your password' pop up
There is no such capability
You can use the script from this gist to reproduce the issue
While the Selenium project, via the language bindings, could provide an arbitrary capability name that you could pass to the Edge driver, unless and until the driver itself understood the capability, it would have no effect. Unfortunately, the Selenium project does not produce or maintain the Edge driver executable; Microsoft does. You鈥檒l need to get them to support such a capability before the language bindings should be expected to add it.
Nope, that's the only way to handle this. Let's wait now.
Is there another way to handle this situation?
@ckzgraphics as a workaround, disable the prompt via Group Policy or registry.
@p0deje - I have not received any update on Microsoft page! Nobody has commented on it yet!
@cgoldberg - Thank you for the update, I have tried that on my LOCAL SYSTEM. However, this time I was aiming to perform execution on BrowserStack. Since on the remote machines, I do not have any access to the system setting this workaround would not work.
Another workaround is to open the Edge browser in InPrivate mode. It won't display the Save Password prompt in InPrivate mode.
DesiredCapabilities dc = new DesiredCapabilities();
dc = new DesiredCapabilities.edge();
dc.setCapability("InPrivate", true);
The issue link in the MS page does not exist anymore, and also a workaround has been provided. In addition, the flavor of Edge menioned in this issue is not under development anymore.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Another workaround is to open the Edge browser in InPrivate mode. It won't display the Save Password prompt in InPrivate mode.
DesiredCapabilities dc = new DesiredCapabilities();
dc = new DesiredCapabilities.edge();
dc.setCapability("InPrivate", true);