How to disable all browser pop ups on Chrome with Python - Behave?

Is there a way to disable all browser pop ups on Chrome with Python - Behave?

Hi Brett,

To achieve this, you can add the commands:

desired_cap["chromeOptions"] = {}
desired_cap["chromeOptions"]["excludeSwitches"] = ["disable-popup-blocking"]