RESOLVED DUPLICATE of bug 192978253149
Notification Permission Denied Issue On Safari With Automation
https://bugs.webkit.org/show_bug.cgi?id=253149
Summary Notification Permission Denied Issue On Safari With Automation
Firuze Aysen Gunes
Reported 2023-03-01 04:45:19 PST
Created attachment 465237 [details] "Notification.permission" denied There should be user gesture for being able to see Safari’s own native prompt. We can provide this by showing opt-in box on our side and after that Safari’s native prompt can be seen. But it doesn’t work on automation side because “Notification.permission” value is “denied” as default every time and we can’t change this value manually. We need to see this opt-in prompt for registering users. We tried several options with selenium 3 and 4. According to our research, there is no option for setting desired value for “Notification.permission”. Do you know any workaround for this issue?
Attachments
"Notification.permission" denied (61.86 KB, image/png)
2023-03-01 04:45 PST, Firuze Aysen Gunes
no flags
Patrick Angle
Comment 1 2023-03-02 16:12:45 PST
WebKit nor safaridriver yet support the `Permissions` commands from WebDriver, but that would be the solution to this problem. Implementing that is tracked by bug 192978. *** This bug has been marked as a duplicate of bug 192978 ***
Note You need to log in before you can comment on or make changes to this bug.