title: Unable to launch chrome, ie on node using Selenium grid
body: <p>I've hub and node running and I'm trying to run test on node for chrome browser, but it's failing with error: <code>The path to the driver executable must be set by the webdriver.chrome.driver system property;</code></p>
  
  <p>But I've set it. Following is the code which I'm using:</p>
  
  <pre><code>package seleniumgridpackage;
  
  import java.io.File;
  import java.net.MalformedURLException;
  import java.net.URL;
  
  import org.openqa.selenium.Platform;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.chrome.ChromeDriver;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.ie.InternetExplorerDriver;
  import org.openqa.selenium.remote.DesiredCapabilities;
  import org.testng.Assert;
  import org.testng.annotations.AfterTest;
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.Test;
  import org.openqa.selenium.remote.RemoteWebDriver;
  
  
  public class SeleniumGridTest {
      WebDriver driver;
      String baseUrl = "http://www.google.com";
      String expectedTitle = "Google";
  
      @BeforeTest
      public void setUp() throws MalformedURLException {
          File file = new File("C://Drivers//chromedriver.exe");
          //File file = new File("C://Drivers//IEDriverServer.exe");
          System.setProperty("webdriver.chrome.driver", file.getAbsolutePath());
  
          DesiredCapabilities cap = DesiredCapabilities.chrome();
          cap.setBrowserName("chrome");
          cap.setPlatform(Platform.VISTA);
          driver  = new RemoteWebDriver(new URL("http://x.x.x.x:5566/wd/hub"), cap);
  
      }
  
      @Test
      public void test(){
          driver.get(baseUrl);
          Assert.assertEquals(driver.getTitle(), expectedTitle);
      }
  
      @AfterTest
      public void tearDown(){
          driver.quit();
      }
  }
  </code></pre>
  
  <p><em>Note:</em> I've put <code>chromedriver.exe</code> in <code>C://Drivers</code> folder of both node and hub. Sams happens when I try with IE</p>
  
  <p>Please help me understand what I'm doing wrong.</p>