O'Reilly logo

Selenium 2 Testing Tools Beginner's Guide by David Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – launching the hub

Now that we are ready to start working with Selenium Grid, we need to set up the grid. This is a simple command that we run in the console or command prompt.

  1. Open a command prompt or console.
  2. Run the command:
    java -jar selenium-server-standalone-x.xx.xx.jar -role hub
    
  3. When that command executes, you should see something like the following screenshot:
    Time for action – launching the hub
  4. We can see that this is running in the command prompt or console. We can also see the hub running from within a browser.
  5. We can enter http://nameofmachine:4444/grid/console where nameofmachine is the name of the machine with the hub. If it is on your machine, then you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required