E/launcher - SessionNotCreatedError: Unable to create new service: GeckoDriverService Build info: version: '3.6.0'
OS: Windows 10 Home Selenium Version: selenium-server-standalone-3.6.0 Browser: FF 56.0 (32 bity Geckodriver :geckodriver-v0.19.0 on chrome everything works ok
config.capabilities = {
browserName: "firefox",
}
Running "protractor:dev-firefox" (protractor) task
[15:07:27] I/launcher - Running 1 instances of WebDriver
[15:07:27] I/local - Starting selenium standalone server...
[15:07:28] I/local - Selenium standalone server started at http://192.168.1.9:61806/wd/hub
[15:07:28] E/launcher - Unable to create new service: GeckoDriverService
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z'
System info: host: 'DL', ip: '192.168.1.9', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_141'
Driver info: driver.version: unknown
[15:07:28] E/launcher - SessionNotCreatedError: Unable to create new service: GeckoDriverService
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T16:15:40.131Z'
System info: host: 'DL', ip: '192.168.1.9', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_141'
Driver info: driver.version: unknown
at WebDriverError (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:27:5)
at SessionNotCreatedError (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:214:5)
at Object.checkLegacyResponse (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:505:15)
at parseHttpResponse (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:509:13)
at doSend.then.response (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\http.js:440:13)
at process._tickCallback (internal/process/next_tick.js:103:7)
From: Task: WebDriver.createSession()
at Function.createSession (C:\local\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver.js:777:24)
at Function.createSession (C:\local\node_modules\protractor\node_modules\selenium-webdriver\firefox\index.js:640:55)
at createDriver (C:\local\node_modules\protractor\node_modules\selenium-webdriver\index.js:167:33)
at Builder.build (C:\local\node_modules\protractor\node_modules\selenium-webdriver\index.js:629:16)
at Local.getNewDriver (C:\local\node_modules\protractor\lib\driverProviders\driverProvider.ts:60:29)
at Runner.createBrowser (C:\local\node_modules\protractor\lib\runner.ts:225:39)
at q.then.then (C:\local\node_modules\protractor\lib\runner.ts:391:27)
at _fulfilled (C:\local\node_modules\q\q.js:834:54)
at self.promiseDispatch.done (C:\local\node_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch (C:\local\node_modules\q\q.js:796:13)
at C:\local\node_modules\q\q.js:604:44
at runSingle (C:\local\node_modules\q\q.js:137:13)
at flush (C:\local\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
[15:07:28] E/launcher - Process exited with error code 199
@piotro83
Is this with directConnect or with seleniumAddress defined? With the current version of Protractor you still can't start Firefox with DdirectConnect
@wswebcreation i added/changed https://github.com/CJSCommonPlatform/protractor/commit/a88252b08675f550bae8cbf4c4884b9b4b2fbeaa and FF has started.
"protractor": "~5.1.1",
Going to close it for now because there is a PR for this. Will be fixed in one of the next releases of Protractor
@wswebcreation ok thx for info in Protractor 5.2. problem still occurs.
@wswebcreation Why was this issue closed? The problem is still there with protractor 5.2.0. If seleniumAddress is used instead of seleniumServerJar then we don't see this error.
Firefox with direct connect still does not work. This fixes the issue:
https://github.com/CJSCommonPlatform/protractor/commit/c9bc257db60222047efdf3de0c4d31097a85839c
Why was this issue closed?
I faced the same issue. Just install or update the protractor. If you still installed the protractor also Do the following steps, run the following in cmd prompt or PowerShell
npm install protractor -g
npm install webdriver-manager -g If you got the error as running in the background, check the running processor and close all the running processor and try.
After the above steps run the following
webdriver-manager update webdriver-manager start OR check below https://stackoverflow.com/a/59194801/12485492