org.openqa.selenium.WebDriverException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
This is due to missing the chrome driver path with the node.
So in machine A Run hub java -jar lib/selenium-server-standalone-2.44.0.jar -role hub
In machine B register node with parameter -Dwebdriver.chrome.driver
so the command should be something like this.
C:\Users\Admin\Downloads>java -jar selenium-server-standalone-2.44.0.jar -role w
ebdriver -hub http://A-MachineIP:StandaloneRunningPort/grid/register -Dwebdriver.chrome.driver=Path of downloaded binary in B machine.
C:\Users\Admin\Downloads>java -jar selenium-server-standalone-2.44.0.jar -role w
ebdriver -hub http://10.1.1.241:4444/grid/register -Dwebdriver.chrome.driver=C:
\Users\Admin\Downloads\chromedriver_win32\chromedriver.exe -port 5566
-Dwebdriver.chrome.driver=C:
\Users\Admin\Downloads\chromedriver_win32\chromedriver.exe
And in my code i have initialized driver through
DesiredCapabilities capability = DesiredCapabilities.chrome();
capability.setBrowserName("chrome");
capability.setPlatform(Platform.VISTA); //B machines platform
driver = new RemoteWebDriver(new URL("http://10.1.1.83:5565/wd/hub"), capability); //B machines IP and the available port
No images available.