[Webkit-unassigned] [Bug 225050] New: Safari preferences for setting Pop-up Windows not working in Selenium tests with Webdriver

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 26 06:47:18 PDT 2021


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

            Bug ID: 225050
           Summary: Safari preferences for setting Pop-up Windows not
                    working in Selenium tests with Webdriver
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Other
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: harshit at browserstack.com
                CC: bburg at apple.com

Created attachment 427039

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

GIF showing the bug inside locally executed selenium through webdriver in which pop-up functionality is tested.

Browsers: Safari 12.1, 13.1 and 14

Safari provides pop-up windows preferences to be set to three modes. "Block", "Block and Notify" and "Allow". These preferences work when running in a normal Safari session. However, on running selenium tests with webdriver the settings are not honoured and the default behavior is set to always allow popups even when set to "Block" or "Block and Notify".
Note: when the running selenium session is stopped manually by interfering through mouse click, even after stopped session the same behavior is observed wherein pop-up preference is not being honored even on manually testing popup feature.

-- 
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/20210426/afda7a74/attachment.htm>


More information about the webkit-unassigned mailing list