How to disable the "Fill your password for site" prompt on Edge browser

Comments

1 comment

  • Official comment
    Avatar
    Michael Sermersheim

    Hi Dharna,

    I'm not sure that there is a specific capability that can be set to disable this prompt for Edge browsers.  I took a look at this site where it shows that Edge has the "unhandledPromptBehavior" capability, but is partially supported: https://docs.microsoft.com/en-us/microsoft-edge/webdriver per the W3C WebDriver Specification.

    There is also a way that you could work around this prompt with Selenium code, something like this might work:

    Alert alert = driver.switchTo().alert();
    alert.accept();

    If you are still having trouble dismissing the alert, please send in a support ticket at help@saucelabs.com and we can help you further from there.

    Thank you,

    Michael

    Comment actions Permalink

Please sign in to leave a comment.