Running Selenium RC with Firefox 3

Joakim Back

After running into proxy errors attempting to run Selenium tests with Opera 9.62 and being unable to install Firefox 2 on Ubuntu 8.10 (unsatisfied package dependencies..) I finally ran into this gem:

Hi,

On windows I succeeded to run Selenium RC and Firefox 3 using the following steps

1. run firefox in profilemanager mode ("path\to\firefox.exe" -profilemanager)
2. create new profile (e.g. selenese) with a specific path (e.g.a directory in your workspace)
3. open this new profile from within the profile manager and change the proxy settings within firefox (localhost:4444 or change accordingly in case your selenium RC server runs on a different port)
4. use the following browser string within Selenium RC: *custom path\to\firefox.exe -no-remote -profile path\to\profile\selenese

I had to enable popups for the profile, but other than that.. the solution seems to work fine on ubuntu as well!

Edit: Here's a different work-around. I haven't tried it, but it does have the benefit of a generic browser path.

Joakim Back
Consultant at Jayway

Tags: , , , ,

3 comments ↓

#1 Sandi on 09.24.09 at 8:20

Hey,
tried to impliment ur concept ,but failed…
i am already sorrounded by a proxy which is laid down by where i work..so if i create a profile with the selenium proxy…throws me a error ..cannot open the browser.

Any other ideas..

#2 Joakim Back on 09.24.09 at 8:35

Hello Sandi,

I have no experience with your particular problem.
Perhaps if you are more specific someone else can help you.. but no promises.

#3 Abhijit on 01.14.10 at 18:09

Your posting looks promising … I am facing a similar issue … can you please elaborate the last step ?

Leave a Comment