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.

  • Aishwarya Venkat
  • Sep 6 2017
  • Will not implement
  • Attach files
  • Maksym Zaselian commented
    February 28, 2018 19:47

    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.

  • Annie Thornton commented
    13 Sep 18:49

    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.