title: WebDriverException: Error forwarding the new session cannot find : {platform=WINDOWS, browserName=FIREFOX, version=3.6}
body: <p>I am new to Selenium Web driver as well as Grid 2.</p>
  
  <p>I am trying to run a test case but it gives me an exception </p>
  
  <blockquote>
    <p>Exception in thread "main" org.openqa.selenium.WebDriverException: Error forwarding the new session cannot find : {platform=WINDOWS, browserName=FIREFOX, version=3.6}</p>
  </blockquote>
  
  <p>I have started a node and hub using command </p>
  
  <pre><code>java -jar selenium-server-standalone-2.29.0.jar -role hub
  
  java -jar selenium-server-standalone-2.29.0.jar -role node  -hub %grid register%
  </code></pre>
  
  <p>Both the command works fine.</p>
  
  <p>I am not sure when and where I need to use the command line
   -browser browserName=firefox,version=3.6,maxInstances=5,platform=WINDOWS</p>
  
  <p>(Tried to configure the node from Grid 2 official page</p>
  
  <p>Is it because of this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>package test;
  
  import java.net.URL;
  import java.net.MalformedURLException;
  import org.openqa.selenium.By;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.htmlunit.HtmlUnitDriver;
  import org.openqa.selenium.WebDriverBackedSelenium;
  import org.openqa.selenium.remote.DesiredCapabilities;
  import org.openqa.selenium.remote.RemoteWebDriver;
  
  public class Test { 
      public static void main(String[] args) throws MalformedURLException {
          DesiredCapabilities capability = DesiredCapabilities.firefox();
              capability.setBrowserName("FIREFOX");
              capability.setPlatform(org.openqa.selenium.Platform.WINDOWS);
              capability.setVersion("3.6");
      //  capability.setCapability("");
          WebDriver driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), capability);
          //WebDriver driver = new FirefoxDriver();
          driver.get("http://www.google.com"); 
  
  }
  }
  </code></pre>