kamranayub / cypress-browser-permissions

A Cypress plugin to set launched browser preferences including permissions like Geolocation, Notifications, Microphone, etc.
https://kamranicus.com/cypress-browser-permissions
MIT License
64 stars 4 forks source link

Remove console logging #57

Open bruceborrett opened 7 months ago

bruceborrett commented 7 months ago

Every time a new cypress spec is run, the following gets printed to the console:

[browserPermissions] permission 'notifications' => 'allow'
[browserPermissions] permission 'geolocation' => 'allow'
[browserPermissions] permission 'camera' => 'block'
[browserPermissions] permission 'microphone' => 'allow'
[browserPermissions] permission 'images' => 'allow'
[browserPermissions] permission 'javascript' => 'allow'
[browserPermissions] permission 'popups' => 'ask'
[browserPermissions] permission 'plugins' => 'ask'
[browserPermissions] permission 'cookies' => 'allow'

It would be nice if this could be silenced via config option or even just removed altogether, or possibly only printed once at the beginning of a test run.