How to disable all browser pop ups on Chrome in JS Nighwatch?

Can I disable all browser pop ups on Chrome in Nighwatch?

Hi Emma,

You can disable all browser pop ups on Chrome in Nightwatch JS by adding the below command:

ChromeOptions options = new ChromeOptions();
options.AddExcludedArgument("disable-popup-blocking");