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

Can I disable all browser pop ups on Chrome with Unittest?

Hi Brett,

To achieve this, you can add the commands:

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