Selenium server error: Unable to create new service chromedriverservice
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/directory/selenium-server-standalone-3.5.3.jar
to start the server and that comes out with this output
13:06:19.471 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b'
13:06:19.472 INFO - Launching a standalone Selenium Server
2018-02-16 13:06:19.503:INFO::main: Logging initialized @301ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:06:19.564 INFO - Driver class not found: com.opera.core.systems.OperaDriver
13:06:19.600 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10
13:06:19.640 INFO - Using the passthrough mode handler
2018-02-16 13:06:19.673:INFO:osjs.Server:main: jetty-9.4.5.v20170502
2018-02-16 13:06:19.697:WARN:osjs.SecurityHandler:main: ServletContext@o.s.j.s.ServletContextHandler@3e9b1010{/,null,STARTING} has uncovered http methods for path: /
2018-02-16 13:06:19.703:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@3e9b1010{/,null,AVAILABLE}
2018-02-16 13:06:19.807:INFO:osjs.AbstractConnector:main: Started ServerConnector@4e7dc304{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2018-02-16 13:06:19.808:INFO:osjs.Server:main: Started @605ms
13:06:19.808 INFO - Selenium Server is up and running
So after that I opened up a new command line prompt and ran my test.js file that looks like this
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'chrome'
}
};
webdriverio
.remote(options)
.init()
.url('http://www.google.com')
.getTitle().then(function(title) {
console.log('Title was: ' + title);
})
.end()
.catch(function(err) {
console.log(err);
});
And this is the error I get
{ Error: A new session could not be created.
at end() - C:UsersKenyaThompsonDesktoptest.js:16:6
details: undefined,
message: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown',
type: 'RuntimeError',
seleniumStack:
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' } }
Could someone please explain to me what I am doing wrong here? Also yes I already installed chromedriver via npm as well as wdio-chromedriver-service.
javascript node.js selenium webdriver-io
add a comment |
I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/directory/selenium-server-standalone-3.5.3.jar
to start the server and that comes out with this output
13:06:19.471 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b'
13:06:19.472 INFO - Launching a standalone Selenium Server
2018-02-16 13:06:19.503:INFO::main: Logging initialized @301ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:06:19.564 INFO - Driver class not found: com.opera.core.systems.OperaDriver
13:06:19.600 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10
13:06:19.640 INFO - Using the passthrough mode handler
2018-02-16 13:06:19.673:INFO:osjs.Server:main: jetty-9.4.5.v20170502
2018-02-16 13:06:19.697:WARN:osjs.SecurityHandler:main: ServletContext@o.s.j.s.ServletContextHandler@3e9b1010{/,null,STARTING} has uncovered http methods for path: /
2018-02-16 13:06:19.703:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@3e9b1010{/,null,AVAILABLE}
2018-02-16 13:06:19.807:INFO:osjs.AbstractConnector:main: Started ServerConnector@4e7dc304{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2018-02-16 13:06:19.808:INFO:osjs.Server:main: Started @605ms
13:06:19.808 INFO - Selenium Server is up and running
So after that I opened up a new command line prompt and ran my test.js file that looks like this
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'chrome'
}
};
webdriverio
.remote(options)
.init()
.url('http://www.google.com')
.getTitle().then(function(title) {
console.log('Title was: ' + title);
})
.end()
.catch(function(err) {
console.log(err);
});
And this is the error I get
{ Error: A new session could not be created.
at end() - C:UsersKenyaThompsonDesktoptest.js:16:6
details: undefined,
message: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown',
type: 'RuntimeError',
seleniumStack:
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' } }
Could someone please explain to me what I am doing wrong here? Also yes I already installed chromedriver via npm as well as wdio-chromedriver-service.
javascript node.js selenium webdriver-io
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58
add a comment |
I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/directory/selenium-server-standalone-3.5.3.jar
to start the server and that comes out with this output
13:06:19.471 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b'
13:06:19.472 INFO - Launching a standalone Selenium Server
2018-02-16 13:06:19.503:INFO::main: Logging initialized @301ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:06:19.564 INFO - Driver class not found: com.opera.core.systems.OperaDriver
13:06:19.600 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10
13:06:19.640 INFO - Using the passthrough mode handler
2018-02-16 13:06:19.673:INFO:osjs.Server:main: jetty-9.4.5.v20170502
2018-02-16 13:06:19.697:WARN:osjs.SecurityHandler:main: ServletContext@o.s.j.s.ServletContextHandler@3e9b1010{/,null,STARTING} has uncovered http methods for path: /
2018-02-16 13:06:19.703:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@3e9b1010{/,null,AVAILABLE}
2018-02-16 13:06:19.807:INFO:osjs.AbstractConnector:main: Started ServerConnector@4e7dc304{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2018-02-16 13:06:19.808:INFO:osjs.Server:main: Started @605ms
13:06:19.808 INFO - Selenium Server is up and running
So after that I opened up a new command line prompt and ran my test.js file that looks like this
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'chrome'
}
};
webdriverio
.remote(options)
.init()
.url('http://www.google.com')
.getTitle().then(function(title) {
console.log('Title was: ' + title);
})
.end()
.catch(function(err) {
console.log(err);
});
And this is the error I get
{ Error: A new session could not be created.
at end() - C:UsersKenyaThompsonDesktoptest.js:16:6
details: undefined,
message: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown',
type: 'RuntimeError',
seleniumStack:
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' } }
Could someone please explain to me what I am doing wrong here? Also yes I already installed chromedriver via npm as well as wdio-chromedriver-service.
javascript node.js selenium webdriver-io
I am trying to run webdriverio on my windows 10 computer and keep running into the same issue when trying to run my test js file. So I run this -jar /your/download/directory/selenium-server-standalone-3.5.3.jar
to start the server and that comes out with this output
13:06:19.471 INFO - Selenium build info: version: '3.5.3', revision: 'a88d25fe6b'
13:06:19.472 INFO - Launching a standalone Selenium Server
2018-02-16 13:06:19.503:INFO::main: Logging initialized @301ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:06:19.564 INFO - Driver class not found: com.opera.core.systems.OperaDriver
13:06:19.600 INFO - Driver provider class org.openqa.selenium.safari.SafariDriver registration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform=MAC}] does not match the current platform WIN10
13:06:19.640 INFO - Using the passthrough mode handler
2018-02-16 13:06:19.673:INFO:osjs.Server:main: jetty-9.4.5.v20170502
2018-02-16 13:06:19.697:WARN:osjs.SecurityHandler:main: ServletContext@o.s.j.s.ServletContextHandler@3e9b1010{/,null,STARTING} has uncovered http methods for path: /
2018-02-16 13:06:19.703:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletContextHandler@3e9b1010{/,null,AVAILABLE}
2018-02-16 13:06:19.807:INFO:osjs.AbstractConnector:main: Started ServerConnector@4e7dc304{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2018-02-16 13:06:19.808:INFO:osjs.Server:main: Started @605ms
13:06:19.808 INFO - Selenium Server is up and running
So after that I opened up a new command line prompt and ran my test.js file that looks like this
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'chrome'
}
};
webdriverio
.remote(options)
.init()
.url('http://www.google.com')
.getTitle().then(function(title) {
console.log('Title was: ' + title);
})
.end()
.catch(function(err) {
console.log(err);
});
And this is the error I get
{ Error: A new session could not be created.
at end() - C:UsersKenyaThompsonDesktoptest.js:16:6
details: undefined,
message: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown',
type: 'RuntimeError',
seleniumStack:
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' } }
Could someone please explain to me what I am doing wrong here? Also yes I already installed chromedriver via npm as well as wdio-chromedriver-service.
javascript node.js selenium webdriver-io
javascript node.js selenium webdriver-io
asked Feb 16 '18 at 21:15
Planet_ManPlanet_Man
26113
26113
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58
add a comment |
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58
add a comment |
3 Answers
3
active
oldest
votes
The error you are seeing does gives us some hint about whats going wrong as follows :
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' }
It is clear from the error message that the ChromeDriver is not getting detected as you see the log message as Driver info: driver.version: unknown
. The main reason of this error can be the incompatibility between the binaries you are using.
- Your Selenium Client version is 3.5.3 released 2017-08-29T12:54:15.039Z
- Your ChromeDriver version is unknown to us.
- Your Chrome Browser version is unknown to us.
Solution
A quick solution would be to :
- Update Selenium Client version to recent levels i.e. Selenium 3.9.1
- Update ChromeDriver version to recent levels i.e. ChromeDriver 2.35
- As per the Release Notes of ChromeDriver v2.35 update the Chrome Browser version to v62-64
- Run CCleaner tool to wipe off the OS chores before and after executing your Test Suite
- If your base version of Chrome Browser is olden uninstall Chrome Browser through Revo Uninstaller and install a recent GA released version of Chrome Browser
- Execute your Test.
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
add a comment |
Update your ChromeDriver version via webdriver-manager, as follows:
webdriver-manager clean
webdriver-manager update
webdriver-manager start
This will remove the older version, update with the latest stated in your built config, and restart the server. Hope this helps.
add a comment |
Selenium Standalone Server is currently on Build 3.9.1.
It looks like you're running an older version of the standalone server. Perhaps the ChromeDriver version you're running might function better with an update to your Selenium Standalone Server?
http://www.seleniumhq.org/download/
Also, just to be sure... You have the latest version of the Windows Chrome Driver version? They're on 2.35 for the latest.
https://chromedriver.storage.googleapis.com/index.html?path=2.35/
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48834963%2fselenium-server-error-unable-to-create-new-service-chromedriverservice%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The error you are seeing does gives us some hint about whats going wrong as follows :
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' }
It is clear from the error message that the ChromeDriver is not getting detected as you see the log message as Driver info: driver.version: unknown
. The main reason of this error can be the incompatibility between the binaries you are using.
- Your Selenium Client version is 3.5.3 released 2017-08-29T12:54:15.039Z
- Your ChromeDriver version is unknown to us.
- Your Chrome Browser version is unknown to us.
Solution
A quick solution would be to :
- Update Selenium Client version to recent levels i.e. Selenium 3.9.1
- Update ChromeDriver version to recent levels i.e. ChromeDriver 2.35
- As per the Release Notes of ChromeDriver v2.35 update the Chrome Browser version to v62-64
- Run CCleaner tool to wipe off the OS chores before and after executing your Test Suite
- If your base version of Chrome Browser is olden uninstall Chrome Browser through Revo Uninstaller and install a recent GA released version of Chrome Browser
- Execute your Test.
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
add a comment |
The error you are seeing does gives us some hint about whats going wrong as follows :
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' }
It is clear from the error message that the ChromeDriver is not getting detected as you see the log message as Driver info: driver.version: unknown
. The main reason of this error can be the incompatibility between the binaries you are using.
- Your Selenium Client version is 3.5.3 released 2017-08-29T12:54:15.039Z
- Your ChromeDriver version is unknown to us.
- Your Chrome Browser version is unknown to us.
Solution
A quick solution would be to :
- Update Selenium Client version to recent levels i.e. Selenium 3.9.1
- Update ChromeDriver version to recent levels i.e. ChromeDriver 2.35
- As per the Release Notes of ChromeDriver v2.35 update the Chrome Browser version to v62-64
- Run CCleaner tool to wipe off the OS chores before and after executing your Test Suite
- If your base version of Chrome Browser is olden uninstall Chrome Browser through Revo Uninstaller and install a recent GA released version of Chrome Browser
- Execute your Test.
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
add a comment |
The error you are seeing does gives us some hint about whats going wrong as follows :
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' }
It is clear from the error message that the ChromeDriver is not getting detected as you see the log message as Driver info: driver.version: unknown
. The main reason of this error can be the incompatibility between the binaries you are using.
- Your Selenium Client version is 3.5.3 released 2017-08-29T12:54:15.039Z
- Your ChromeDriver version is unknown to us.
- Your Chrome Browser version is unknown to us.
Solution
A quick solution would be to :
- Update Selenium Client version to recent levels i.e. Selenium 3.9.1
- Update ChromeDriver version to recent levels i.e. ChromeDriver 2.35
- As per the Release Notes of ChromeDriver v2.35 update the Chrome Browser version to v62-64
- Run CCleaner tool to wipe off the OS chores before and after executing your Test Suite
- If your base version of Chrome Browser is olden uninstall Chrome Browser through Revo Uninstaller and install a recent GA released version of Chrome Browser
- Execute your Test.
The error you are seeing does gives us some hint about whats going wrong as follows :
{ type: 'SessionNotCreatedException',
message: 'A new session could not be created.',
orgStatusMessage: 'Unable to create new service: ChromeDriverServicenBuild info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:54:15.039Z'nSystem info: host: 'LAPTOP-9GIHGJ9I', ip: '10.0.0.243', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_161'nDriver info: driver.version: unknown' }
It is clear from the error message that the ChromeDriver is not getting detected as you see the log message as Driver info: driver.version: unknown
. The main reason of this error can be the incompatibility between the binaries you are using.
- Your Selenium Client version is 3.5.3 released 2017-08-29T12:54:15.039Z
- Your ChromeDriver version is unknown to us.
- Your Chrome Browser version is unknown to us.
Solution
A quick solution would be to :
- Update Selenium Client version to recent levels i.e. Selenium 3.9.1
- Update ChromeDriver version to recent levels i.e. ChromeDriver 2.35
- As per the Release Notes of ChromeDriver v2.35 update the Chrome Browser version to v62-64
- Run CCleaner tool to wipe off the OS chores before and after executing your Test Suite
- If your base version of Chrome Browser is olden uninstall Chrome Browser through Revo Uninstaller and install a recent GA released version of Chrome Browser
- Execute your Test.
answered Feb 17 '18 at 7:04
DebanjanBDebanjanB
47k134790
47k134790
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
add a comment |
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
Same problem.. did you solve?
– ayasha
Feb 27 '18 at 13:08
add a comment |
Update your ChromeDriver version via webdriver-manager, as follows:
webdriver-manager clean
webdriver-manager update
webdriver-manager start
This will remove the older version, update with the latest stated in your built config, and restart the server. Hope this helps.
add a comment |
Update your ChromeDriver version via webdriver-manager, as follows:
webdriver-manager clean
webdriver-manager update
webdriver-manager start
This will remove the older version, update with the latest stated in your built config, and restart the server. Hope this helps.
add a comment |
Update your ChromeDriver version via webdriver-manager, as follows:
webdriver-manager clean
webdriver-manager update
webdriver-manager start
This will remove the older version, update with the latest stated in your built config, and restart the server. Hope this helps.
Update your ChromeDriver version via webdriver-manager, as follows:
webdriver-manager clean
webdriver-manager update
webdriver-manager start
This will remove the older version, update with the latest stated in your built config, and restart the server. Hope this helps.
edited Dec 10 '18 at 13:53
Rui Jarimba
7,28273461
7,28273461
answered Oct 23 '18 at 13:11
Kyle KohlerKyle Kohler
311
311
add a comment |
add a comment |
Selenium Standalone Server is currently on Build 3.9.1.
It looks like you're running an older version of the standalone server. Perhaps the ChromeDriver version you're running might function better with an update to your Selenium Standalone Server?
http://www.seleniumhq.org/download/
Also, just to be sure... You have the latest version of the Windows Chrome Driver version? They're on 2.35 for the latest.
https://chromedriver.storage.googleapis.com/index.html?path=2.35/
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
add a comment |
Selenium Standalone Server is currently on Build 3.9.1.
It looks like you're running an older version of the standalone server. Perhaps the ChromeDriver version you're running might function better with an update to your Selenium Standalone Server?
http://www.seleniumhq.org/download/
Also, just to be sure... You have the latest version of the Windows Chrome Driver version? They're on 2.35 for the latest.
https://chromedriver.storage.googleapis.com/index.html?path=2.35/
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
add a comment |
Selenium Standalone Server is currently on Build 3.9.1.
It looks like you're running an older version of the standalone server. Perhaps the ChromeDriver version you're running might function better with an update to your Selenium Standalone Server?
http://www.seleniumhq.org/download/
Also, just to be sure... You have the latest version of the Windows Chrome Driver version? They're on 2.35 for the latest.
https://chromedriver.storage.googleapis.com/index.html?path=2.35/
Selenium Standalone Server is currently on Build 3.9.1.
It looks like you're running an older version of the standalone server. Perhaps the ChromeDriver version you're running might function better with an update to your Selenium Standalone Server?
http://www.seleniumhq.org/download/
Also, just to be sure... You have the latest version of the Windows Chrome Driver version? They're on 2.35 for the latest.
https://chromedriver.storage.googleapis.com/index.html?path=2.35/
edited Feb 16 '18 at 22:14
answered Feb 16 '18 at 21:55
DenzikDenzik
25117
25117
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
add a comment |
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
So I updated the selenium server and I still receive the same error. I checked and my chrome driver version is indeed 2.35.0
– Planet_Man
Feb 17 '18 at 1:47
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
Just curious have you tried to use another browser driver like Firefox with your test? Have you had any successful test runs or just have you only tried ChromeDriver? Also - What is your current version of Chrome Installed on the Machine?
– Denzik
Feb 17 '18 at 2:12
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48834963%2fselenium-server-error-unable-to-create-new-service-chromedriverservice%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of Error running Selenium automatically from Nightwatch.js with Firefox
– DebanjanB
Feb 17 '18 at 6:41
Did you solve this?
– Vishnu Sankaran
Feb 15 at 5:58