Selenium RC, Safari and Blocking Browser Pop-Ups
Just a quick note here:
If you are using selenium rc to remote control a Safari on a Mac, remember to turn off pop-up blocking, or else your tests will hang in “selenium.start()” somewhere deep down in HttpURLConnection.getResponseCode() because the selenium-rc server never returns with any content.
In Safari menu, de-select “Block Pop-Up Windows”.
Let’s just say this wasted some time on me, so hope this will help someone out there in the same starter problems
February 13, 2010
В·
polesen В·
5 Comments
Tags: mac, OSX, safari, selenium В· Posted in: Programming, Testing, Tools

5 Responses
Hi
Thanks for your solution.
It did solve my safari start problem.
But i meet a new problem now.
When running a test suit with bromine, it can’t open two or more safari window for multiple test cases.
Any help is very grateful.
Thanks, that solved my safari issue.
now, safari often pop up some windows:
[Flash Player(Safari Internet plug-in)quit unexpectedly ]
with selenium how to resolve the problem.
thank you
I have no idea
Hi Friend, I turn off pop-up blocking of safari, but the problem “tests will hang in “selenium.start()” somewhere deep down in HttpURLConnection.getResponseCode() because the selenium-rc server never returns with any content.” still exist. Can you give me some suggestions? Thanks
Leave a Reply