Selenium_grid_logo_large Get Started!

Java

Need more detailed instructions? Check out our step-by-step installation instructions for Mac OS X.

If you are running Mac OS X you can safely skip this step -- the system comes with a ready-to-use Java runtime and development environment.

Install Java 5+ JDK and make sure it is in your PATH:

$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

Ant

If you are running Mac OS X 10.5 (Leopard) you can safely skip this step -- the system comes with Ant 1.7.0 pre-installed. If you are running an older version on Mac OS X you still need to install Ant 1.7: the pre-installed Ant version is too much behind.

Install Ant 1.7.x and make sure it is in your PATH:

  1. Download the binary distribution.
  2. Unpack the binary distribution in the directory of your choice.
  3. Add <where you unpacked the zip file>/apache-ant-1.7.0/bin to your PATH environment variable.
  4. Check that your Ant installation is OK:
    $ ant -version
    Apache Ant version 1.7.0 compiled on December 13 2006

If you feel adventurous, Selenium Grid also comes with alternative launchers, based on Rake.

Selenium Grid

Download Selenium Grid latest binary distribution and unpack it on your computer.

Check

Go at the root of selenium grid directory and validate your installation:
$ cd selenium-grid-1.0
$ ant sanity-check

Need more detailed instructions? Check out our step-by-step installation instructions for Mac OS X.

Demo

At this point the best way to get up to speed with Selenium Grid usage and concepts is to run the Demo.