Safari 9.0.2 failing to respond for Executing: [get 'url']
Safari driver start to work and then hangs after some time.
I'm having the same issue but with Firefox
please provide an example (code and url) that can reproduce your issue
I was able to fix my problem by downgrading my Firefox.
I saw the same issue on our OS X machines and pulled down the latest Selenium source to take a peak at the Safari driver extension. I've updated our machines to Safari 9.0.x, with Safari extension 2.48.x, and Selenium server 2.52.x
I found that we would call:
wDriver.get("www.foobar.com");
Which would trigger a pageUnload event in Safari. However, the Safari driver extension was not receiving notification that the page is ready.
You can view the method here: https://github.com/SeleniumHQ/selenium/blob/009260c837f371e9b3650e46e6572fbb14fffbec/javascript/safari-driver/extension/tab.js#L98
I removed: this.notifyUnready(); and ran my test suite multiple times over the weekend without any ill effects and improved test stability.
No more socket timeouts or hanging GET requests when I drive the browser to a different page or cause elements to unload.
I'm still keeping a keen eye on the issue but will post back if things change.
Hope that helps.
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.