Hello Everyone,
I have looked across all posts I still cannot get this to work.
I have a GRID instance set up on one machine, and have a node
configured on another.
I have created a json config file for the node, and tried to pass the
location of the chromedriver in that, however its still complaining
that it cannot find it.
Here is the error:
Caused by: java.lang.IllegalStateException: The path to the
chromedriver executa
ble must be set by the webdriver.chrome.driver system property; for
more informa
tion, see
http://code.google.com/p/selenium/wiki/ChromeDriver. The
latest versio
n can be downloaded from
http://code.google.com/p/chromedriver/downloads/list
Here is my json config:
{
"capabilities": [
{
"browserName": "firefox",
"maxInstances": 5,
"version": "3.6",
"seleniumProtocol": "WebDriver",
"platform": "WINDOWS"
},
{
"browserName": "internet explorer",
"maxInstances": 5,
"version": "8",
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver",
"version": "16"
}
],
"configuration": {
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 10,
"port": 5555,
"host": "SG-W7-1",
"register": true,
"registerCycle": 5000,
"hubPort": 4444,
"hub": "
http://sg-server:4444/wd/hub",
"webdriver.chrome.driver": "C:\\Users\\selenium.user\\Desktop\
\chromedriver_win_19.0.1068.0\\chromedriver.exe"
}
}
And here is my driver creation code:
webDriver = new RemoteWebDriver(new Uri(remoteServer), capabilities);
Capabilities in this instance just exists of a browsername, version
and OS.
Hope one you can assist.
Regards