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  Tags: , , ,   Posted in: Programming, Testing, Tools

One Response

  1. Luke - March 25, 2010

    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.

Leave a Reply