How to disable all browser pop ups on Chrome with C#-NUnit?
Hey Rebecca,
To achieve this, you can pass the disable-popup-blocking argument under the excludeSwitches of a chromeOptions capability, as shown below:
using OpenQA. Selenium. Chrome;
ChromeOptions options = new ChromeOptions ();
options. AddExcludedArgument (“disable-popup-blocking”);