Selenium Grid: Unalbe to create new service

3,063 views
Skip to first unread message

Ivan Tadin

unread,
Oct 10, 2017, 10:12:30 AM10/10/17
to Selenium Users
Today I tried to run a Selenium Grid test to a remote computer, and was running into the following error in attempt to do so:
"org.openqa.selenium.SessionNotCreatedException: Unable to create new service: ChromeDriverService" (for Chrome)
or:
"org.openqa.selenium.SessionNotCreatedException: Unable to create new service: GeckoDriverService" (for FireFox)

My chromedriver+geckodriver and browsers are up to date. When I set my hub and node on the same machine, the tests run fine. And this is my first attempt to run tests on a different machine other than my own.
Any help would be much appreciated!

Cheers

experimental qa

unread,
Nov 18, 2017, 12:22:39 PM11/18/17
to Selenium Users
specify chrome driver path while starting node 
e.g. java -Dwebdriver.chrome.driver="C:\driver\chromedriver.exe" -jar selenium-server-standalone-3.6.0.jar -role node -hub http://192.168.0.8:4444/grid/register

or simply keep all drivers(geckodriver.exe, chromedriver.exe, IEdriver.exe) and selenium standalone jar in same folder and start node.

you can find update selenium documentation here

Thanks,

nikhil rao

unread,
Jan 15, 2019, 4:46:39 PM1/15/19
to Selenium Users
I have tried below where my hub and node are on same machine but still it is throwing error saying unable to launch the service.
Reply all
Reply to author
Forward
0 new messages