How to handle show notifications pop up on Chrome in Codeception?

How to handle show notifications pop up on Chrome in Codeception ?

Hi Brett!

You can disable the browser pop-ups on Chrome in Codeception using the following code snippet in your automation script.

$options = (new ChromeOptions)->addArguments([
'--disable-notifications'
]);