Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6225075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:46:47+00:00 2026-05-24T08:46:47+00:00

http://code.google.com/p/selenium/wiki/Grid2 i run selenium hub with java -jar ..\DLL\Selenium\selenium-server-2.1.0\selenium-server-standalone-2.1.0.jar -role hub but then i

  • 0
http://code.google.com/p/selenium/wiki/Grid2

i run selenium hub with

java -jar ..\DLL\Selenium\selenium-server-2.1.0\selenium-server-standalone-2.1.0.jar -role hub

but then i do not know how to run 3 selenium browsers.

i try like

DesiredCapabilities capability = DesiredCapabilities.Firefox();
capability.SetCapability(CapabilityType.Platform, "WINDOWS");
capability.SetCapability(CapabilityType.BrowserName, "firefox");
capability.SetCapability(CapabilityType.Version, "5.0");

IWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), capability);

ISelenium selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://localhost/");
selenium.Start();

but on driver object i get this error: cannot find : {platform=WINDOWS, browserName=firefox, version=5.0}

there is so bad docs on this how to run 3 selenium browser in paralell.

Thx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:46:48+00:00Added an answer on May 24, 2026 at 8:46 am

    You need to launch the RC node after launching the hub. You can use the command:

    java -jar selenium-server-jar -role rc (OR -role wd - depending upon whether you need webdriver or remotecontrol) -hub http://localhost:4444/grid/register
    

    This will launch the RC node with default capability of running 5 firefox browsers, 5 googlechrome and 1 IE browser.

    You can check the grid console to make sure your RC got registered. Grid console URL will be http://localhost:4444/grid/console. Hover your mouse on top of each of the browser icon to find the browsername which you should use inside the code and to find other properties of browser.

    If you are trying to run the existing selenium 1 tests in Grid 2.0 you don’t need the capability matcher. You just need to have

    ISelenium selenium = new DefaultSelenium("localhost", 4444, "firefox", "http://localhost/");
    selenium.Start();
    

    Note that there is no * with browsername.

    If you are planning to use webdriver to run the tests in grid, then you need to modify your code like:

    DesiredCapabilities capability = DesiredCapabilities.Firefox();
    capability.SetCapability(CapabilityType.Platform, "WINDOWS");
    capability.SetCapability(CapabilityType.BrowserName, "firefox");
    capability.SetCapability(CapabilityType.Version, "5.0");
    
    IWebDriver driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), capability);
    
    ISelenium selenium = new WebDriverBackedSelenium(driver,"baseURL");
    selenium.Start();
    

    Documentation on how to start the nodes can be found here and how to use remotewebdriver can be found here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to apply this bug fix http://code.google.com/p/selenium/source/detail?r=11856 to the selenium-server-standalone-2.0b3.jar. Does anyone
I downloaded the selenium-java-2.0a5.zip http://code.google.com/p/selenium/downloads/list and ran the following code: package org.openqa.selenium.example; import org.openqa.selenium.By;
follow the link: http://code.google.com/p/google-api-java-client/wiki/Authentication There are 4 methods there, which are: 1. OAuth 1.0a
Running the example source at http://code.google.com/p/selenium/wiki/GettingStarted It runs successfully, however Eclipse throws bunch of
Looking for feedback on : http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools
I've looked at http://code.google.com/appengine/docs/java/urlfetch/overview.html but the code does not show a pooling example, i
The Selenium setup.py can be found at http://code.google.com/p/selenium/source/browse/trunk/setup.py . When running python setup.py sdist
From http://code.google.com/p/unladen-swallow/wiki/ProjectPlan I quote: Using a JIT will also allow us to move Python
In looking at http://code.google.com/p/autofac/wiki/AspNetIntegration , I am confused as to what the lifetime of
http://code.google.com/p/dapper-dot-net/source/browse/PerformanceTests.cs Confused, PerformanceTest.Run initializes the list by adding test objects. How does it actually

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.