Home > Selenium Grid Updates > How to run selenium tests using Selenium Grid in FF4

How to run selenium tests using Selenium Grid in FF4

February 16, 2011 Leave a comment Go to comments

So you have all your tests in selenium 1.x code and you want to run the tests in Firefox 4. Thanks to Selenium 2.0 (which supports FF4 and IE9), this can be achieved easily. Here is what you have to do

1. Download Selenium 2.0 standalone server from here

2. Copy this jar file to /seleniumgridfolder/vendor

3. Delete the existing jar file which starts with selenium-server*.jar

4. Open the grid_configuration.yaml file under the seleniumgrid installation folder

5. Add a new browser under environments as given below

– name:    “*firefox4”

browser: “*firefox C:\Program Files\Mozilla Firefox 4.0 Beta 11\firefox.exe (Or whatever is the path to Firefox.exe”

6. Launch your Hub.

7. Launch RC with environment as *firefox4

That’s it! Your tests will now run in Firefox 4.

Advertisements
  1. jbikincho
    June 9, 2011 at 1:20 pm

    Yeaaahh. Big thanks. I spent for about 3 hours tryin’ to find out how to start selenium GRID with Firefox 4. It’s work !!

  2. Amey
    July 12, 2011 at 5:26 pm

    wow!!! i can only imagine the amount of hair i would have pulled…. if i had not come across your blog…. life saver! thnxx

    • AJ
      July 24, 2011 at 1:22 am

      Glad that I could help

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: