selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Safari Webdriver Hangs On Post URL When Alert Pops Up

Open smythey21 opened this issue 10 years ago • 3 comments

I have a selenium navigates to a specific url which causes an alert to popup. On safari, the Post URL command hangs because of the popup and does not return.

Expected Behavior

After Post URL, I expect a popup to show and for the post URL command to return

Actual Behavior

The popup alert triggers, but the post URL command hangs so its impossible to close the popup

Steps to reproduce

Navigate to page with Safari Webdriver that throws an alert like alert("alert!")

smythey21 avatar Feb 29 '16 19:02 smythey21

Safari Driver does not support alerts very well. I'm not sure what, if any, of the things discussed in this thread apply, but I believe it is as fixed as we can make it.

titusfortner avatar Feb 29 '16 20:02 titusfortner

With the release of Safari 10, Apple now offers official support WebDriver. Because of this, the Selenium project no supports the legacy implementation from 2.x.

Users are advised to switch to Apple's driver and file bugs at https://bugreport.apple.com/

We are no longer tracking issues for Selenium's SafariDriver and thus closing this issue.

lukeis avatar Sep 23 '16 20:09 lukeis

Hi There,

I have the same issue with safari on alert box

Safari: 10 Mac: Sierra

tathanhphu avatar Feb 27 '17 10:02 tathanhphu