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 – setting the environment when starting Selenium Remote Control

Now that we need to get Internet Explorer Selenium Remote Controls added to our grid, we have to add the –browser argument to our call with the target on the configured environments. Since we want to use Internet Explorer, we can use the IE on Windows target.

  1. Open a console or command prompt.
  2. Run the command:
    java -jar selenium-server-standalone.jar -role node  -hub http://localhost:4444/grid/register -browser browserName="internet explorer",maxInstances=1,platform=WINDOWS
    
  3. When it is running your hub page should look like this:
    Time for action – setting the environment when starting Selenium Remote Control

What just happened?

We have just seen how ...

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