How to handle know your location popup on Chrome with PHPUnit?

How to handle know your location popup on Chrome with PHPUnit?

Hi Brett!

You can disable the browser pop-ups on Chrome in PHPUnit by using the following code snippet in your test script.

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