[Webkit-unassigned] [Bug 253149] New: Notification Permission Denied Issue On Safari With Automation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 1 04:45:19 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=253149

            Bug ID: 253149
           Summary: Notification Permission Denied Issue On Safari With
                    Automation
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: firuzegunes at gmail.com
                CC: bburg at apple.com

Created attachment 465237

  --> https://bugs.webkit.org/attachment.cgi?id=465237&action=review

"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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230301/ead2fd7a/attachment.htm>


More information about the webkit-unassigned mailing list