Monday, January 11, 2010

Selenium 1.0.1 with Firefox 3.5.3 on Mac OS X 10.6.2

How to get Selenium Server running on MAC



  1. Enable Web sharing on your mac: System Preferences->Sharing->Web Sharing

  2. Go through this article. Part 1 and Part 2 should be good right now. Don't worry about enabling SSI too.

  3. Download Selenium RC.

  4. Unzip the download and copy contents to /Library/WebServer/Documents/selenium

  5. Install Perl module WWW::Selenium

  6. Start Selenium server: java -jar selenium-server.jar

  7. Check supported browsers.

  8. Stop your server

  9. Perform changes as specified in this document

  10. Start Selenium server: java -jar selenium-server.jar

  11. Run these 2 commands:
    mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib /Applications/Firefox.app/Conten
    ts/MacOS/libsqlite3.dylib.orig
    cp /usr/lib/libsqlite3.dylib /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib
    Thanks to this forum.

  12. I can now run the example on WWW::Selenium for browser values '*firefox' and '*chrome'. These both
    start a new Firefox instance.

No comments: