We want to test Notifications (send with Firebase) in Chrome with Testcafé and Chrome Native Automation (cdp). When a user starts the browser the question comes to enable notifications for this site. Is there a way to automate this setting, or can we start Chrome with this enabled by default?
How to test Notifications in Chrome with Testcafé and Chrome Native Automation (cdp)?
112 views Asked by EdwinR At
2
You should be able to use Browser.grantPermissions to configure the notification permissions for specific origin.