Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Disable popup blocker for MS Edge thru Desired Capability of Edge Webdriver

It would be simpler if there was an option to disable the popup blocker for MS Edge browsers through the Desired Capability of Edge Webdriver while running tests on saucelabs vm using Selenium 3.4.


Looks like the only way to programmatically do it now is to set the registry setting using an autoIT pre-run executable.

  • Guest
  • Sep 6 2017
  • Will not implement
  • Attach files
  • Annie Thornton commented
    13 Sep, 2019 06:49pm

    To have a more generalized solution to this, we plan to have centralized documentation that outlines how-to's that cover different scenarios in cross browser testing.

  • Maksym Z commented
    28 Feb, 2018 07:47pm

    You can use powershell script with registry change inside - reg add "HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\New Windows" /v PopupMgr /t REG_SZ /d no /f.