I didn't find much information online about this...
I changed my conf.js to be like this:
Inside my exports.config i have this
framework: 'jasmine2',
capabilities: {
browserName: 'chrome',
shardTestFiles: true,
maxInstances: 2,
chromeOptions: {
args: [
'--start-maximized'
]
}
},
specs: ['./1_conf_summary.js', './2_conf_detail.js'],
I wanted to separate the specs, so I created more conf files with the scripts I want to execute, for example the 1_conf_summary.js contains:
suites: [
'./01_summary/summary_positive-spec.js'
],
*Also inside exports.config
but when I run the main conf.js, I get all the time this error:
[15:25:27] I/testLogger - [chrome #01-0] PID: 2348
[chrome #01-0] Specs: C:\Users\......\development_new_ui\1_conf_summary.js
[chrome #01-0]
[chrome #01-0] [15:25:25] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[chrome #01-0] Started
[chrome #01-0]
[chrome #01-0]
[chrome #01-0] No specs found
[chrome #01-0] Finished in 0.002 seconds
[chrome #01-0]
[15:25:27] I/testLogger -
[15:25:27] I/launcher - 1 instance(s) of WebDriver still running
[15:25:27] I/testLogger -
I tried also with specs... but nothing works... any ideas how to solve this?
Thank you very much!!!!
Edit
Folder structure is:
Project folder
|_01_summary
|_summary_positive-spec.js
|_summary_negative-spec.js
|_other_specs
|_lib
|_functions and elements
|Conf.js
|1_conf_summary.js
For the secondary conf files, I only have the suites (or the specs, tried with both), my main configuration is set in the main conf.js
Also tried directly with the specs to the main conf.js but then 1 script is executed twice instead of 2 different script executions
exports.config = {
suites: [
'./01_summary/summary_positive-spec.js'
],
};
Try using below code line in your configurations.
specs: ['./*.js'],
Related
While attempting to run protractor i get an error where it cant find chrome binary. Its a chromebook so the binary should already exist right?
why am i getting this error ?
Been looking around there doesnt seem to be any info.
[23:57:28] I/launcher - Running 1 instances of WebDriver
[23:57:28] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[23:57:29] E/launcher - unknown error: cannot find Chrome binary
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'penguin', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.44-04933-g0fb17cd4e23f', java.version: '11.0.4'
Driver info: driver.version: unknown
remote stacktrace: #0 0x5bad641316e9 <unknown>
[23:57:29] E/launcher - WebDriverError: unknown error: cannot find Chrome binary
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'penguin', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.44-04933-g0fb17cd4e23f', java.version: '11.0.4'
Driver info: driver.version: unknown
remote stacktrace: #0 0x5bad641316e9 <unknown>
at Object.checkLegacyResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)
at process._tickCallback (internal/process/next_tick.js:68:7)
From: Task: WebDriver.createSession()
at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:761:15)
at createDriver (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:170:33)
at Builder.build (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:626:16)
at Hosted.getNewDriver (/usr/lib/node_modules/protractor/built/driverProviders/driverProvider.js:53:33)
at Runner.createBrowser (/usr/lib/node_modules/protractor/built/runner.js:195:43)
at q.then.then (/usr/lib/node_modules/protractor/built/runner.js:339:29)
at _fulfilled (/usr/lib/node_modules/protractor/node_modules/q/q.js:834:54)
at /usr/lib/node_modules/protractor/node_modules/q/q.js:863:30
at Promise.promise.promiseDispatch (/usr/lib/node_modules/protractor/node_modules/q/q.js:796:13)
[23:57:29] E/launcher - Process exited with error code 199
It is looking for chrome browser to run the test. In windows and Mac , if you have chrome browser version, which you are passing in protractor capability, installed in your system, then test run on it by default.
But You can set the chrome binary path as desired also by adding below property in your protractor.conf.js file
"chromeOptions": {
binary: 'Path_to_Chrome_binaries',
args: [],
extensions: [],
}
Note, binary: 'Path_to_Chrome_binaries' , here 'Path_to_Chrome_binaries' should be the path to Chrome.exe
You also need to make sure the webdriver-manager version is compatible with the chrome browser you are using to tun your test upon.
If this does not solves your issue then please provide the protractor.conf.js file while will help in answering rh2 question/debughing the issue.
Protractor is unable to start test cases in chrome browser using webdriver-manager.
I followed the instructions given here https://www.protractortest.org/#/
and faced the below error.
debarnab#debarnab-Aspire-A515-51G:~/ProtractorConnectionTesting$ protractor conf.js
[19:33:57] I/launcher - Running 1 instances of WebDriver
[19:33:57] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
[19:33:57] E/launcher - unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.15.0-45-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 59 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'debarnab-Aspire-A515-51G', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-45-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
[19:33:57] E/launcher - WebDriverError: unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=2.46.628388 (4a34a70827ac54148e092aafb70504c4ea7ae926),platform=Linux 4.15.0-45-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 59 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'debarnab-Aspire-A515-51G', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-45-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
From: Task: WebDriver.createSession()
at Function.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
at Function.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:761:15)
at createDriver (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:170:33)
at Builder.build (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:626:16)
at Hosted.getNewDriver (/usr/local/lib/node_modules/protractor/built/driverProviders/driverProvider.js:53:33)
at Runner.createBrowser (/usr/local/lib/node_modules/protractor/built/runner.js:195:43)
at q.then.then (/usr/local/lib/node_modules/protractor/built/runner.js:339:29)
at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:796:13)
[19:33:57] E/launcher - Process exited with error code 199
conf.ts file
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['todo-spec.js']
};
spec file
describe('angularjs homepage todo list', function() {
it('should add a todo', function() {
browser.get('https://angularjs.org');
element(by.model('todoList.todoText')).sendKeys('write first protractor test');
element(by.css('[value="add"]')).click();
var todoList = element.all(by.repeater('todo in todoList.todos'));
expect(todoList.count()).toEqual(3);
expect(todoList.get(2).getText()).toEqual('write first protractor test');
// You wrote your first test, cross it off the list
todoList.get(2).element(by.css('input')).click();
var completedAmount = element.all(by.css('.done-true'));
expect(completedAmount.count()).toEqual(2);
});
});
I am using Ubutu machine and trying to run a basic scenario. Selenium Server seems to be up and running in http://localhost:4444/, as mentioned. Can any one please suggest ?
Make your config as below
exports.config = {
directConnect: true,
// Capabilities to be passed to the webdriver instance.
capabilities: {
'browserName': 'chrome'
},
// Framework to use. Jasmine is recommended.
framework: 'jasmine',
// Spec patterns are relative to the current working directory when
// protractor is called.
specs: ['example_spec.js'],
// Options to be passed to Jasmine.
jasmineNodeOpts: {
defaultTimeoutInterval: 30000
}
};
Run npm i webdriver-manager & webdriver-manager update from your project folder.
if you get No Update config found error when trying to run the test run node node_modules/protractor/bin/webdriver-manager update
Now run your test
Hope it helps you
From this answer it appears that you can add --disable-dev-shm-usage when running on Linux machines to resolve this issue.
conf.js
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['todo-spec.js'],
capabilities: [
{
browserName: 'chrome',
chromeOptions: { args: ["--disable-dev-shm-usage"] },
},
};
Can you give this a try and let me know if it works? Thanks
Try running your job using the following chrome arg:
--capabilities.chromeOptions.args="no-sandbox"
We are running angular e2e tests on a CI environment where tests are run at the same time on the same build slave (for example for different branches).
Since our recent upgrade to angular 7 (from angular 5) protractor uses the default port (4200).
CI jobs now occasionally are failing because port 4200 is in use.
I found the option to run with port 0:
ng e2e --port 0
This does seem to use a random port, but the tests fail, see below.
I tried on a clean new angular project created with angular cli, no changes.
ng e2e
works fine
How can I get the e2e tests to run without port number clashes?
Angular CLI: 7.1.0
node: v8.9.3
OS: Windows 10 Version 1607
Thanks in advance,
Rob
This output is from the failing run:
$ ng e2e --port 0
** Angular Live Development Server is listening on localhost:49152, open your browser on http://localhost:49152/ **
Date: 2018-12-03T15:16:48.890Z
Hash: 97006afaee956149f40f
Time: 7337ms
chunk {main} main.js, main.js.map (main) 9.77 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 223 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.3 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.43 MB [initial] [rendered]
i 「wdm」: Compiled successfully.
[16:16:49] I/update - chromedriver: file exists C:\Users\rob.gansevles\tmp\noot\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.44.zip
[16:16:49] I/update - chromedriver: unzipping chromedriver_2.44.zip
[16:16:49] I/update - chromedriver: chromedriver_2.44.exe up to date
[16:16:50] I/launcher - Running 1 instances of WebDriver
[16:16:50] I/direct - Using ChromeDriver directly...
DevTools listening on ws://127.0.0.1:50805/devtools/browser/7ee01341-be32-4d52-ae53-0794c11c8864
Jasmine started
[23540:12920:1203/161652.814:ERROR:tcp_socket_win.cc(861)] connect failed: 10049
[23540:12920:1203/161652.814:ERROR:tcp_socket_win.cc(861)] connect failed: 10049
[23540:12920:1203/161652.823:ERROR:tcp_socket_win.cc(861)] connect failed: 10049
[23540:12920:1203/161652.823:ERROR:tcp_socket_win.cc(861)] connect failed: 10049
[16:17:03] E/protractor - Could not find Angular on page http://localhost:0/ : retries looking for angular exceeded
workspace-project App
× should display welcome message
- Failed: Angular could not be found on the page http://localhost:0/. If this is not an Angular application, you may need to turn off waiting for Angular.
Please see
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load
Please see
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load
at executeAsyncScript_.then (C:\Users\rob.gansevles\tmp\noot\node_modules\protractor\built\browser.js:720:27)
at ManagedPromise.invokeCallback_ (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:1376:14)
at TaskQueue.execute_ (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:3084:14)
at TaskQueue.executeNext_ (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:3067:27)
at asyncRun (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:2927:27)
at C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:668:7
at
at process._tickCallback (internal/process/next_tick.js:188:7)
From: Task: Run it("should display welcome message") in control flow
at ControlFlow.emit (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\events.js:62:21)
at ControlFlow.shutdown_ (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:2674:10)
at shutdownTask_.MicroTask (C:\Users\rob.gansevles\tmp\noot\node_modules\selenium-webdriver\lib\promise.js:2599:53)
From asynchronous test:
Error
at Suite. (C:\Users\rob.gansevles\tmp\noot\e2e\src\app.e2e-spec.ts:10:3)
at Object. (C:\Users\rob.gansevles\tmp\noot\e2e\src\app.e2e-spec.ts:3:1)
at Module._compile (module.js:635:30)
at Module.m._compile (C:\Users\rob.gansevles\tmp\noot\node_modules\ts-node\src\index.ts:439:23)
at Module._extensions..js (module.js:646:10)
at Object.require.extensions.(anonymous function) [as .ts] (C:\Users\rob.gansevles\tmp\noot\node_modules\ts-node\src\index.ts:442:12)
Failures *
1) workspace-project App should display welcome message
- Failed: Angular could not be found on the page http://localhost:0/. If this is not an Angular application, you may need to turn off waiting for Angular.
Please see
https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular-on-page-load
Executed 1 of 1 spec (1 FAILED) in 10 secs.
[16:17:03] I/launcher - 0 instance(s) of WebDriver still running
[16:17:03] I/launcher - chrome #01 failed 1 test(s)
[16:17:03] I/launcher - overall: 1 failed spec(s)
[16:17:03] E/launcher - Process exited with error code 1
An unexpected error occurred: undefined
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command
I'm using node verison v6.14.1,protractor Version 5.3.1, on CentOS.
Full Message:
E/launcher - No System TLS [06:43:05] E/launcher - WebDriverError: No
System TLS
at WebDriverError (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:5)
at Object.checkLegacyResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)
at process._tickCallback (internal/process/next_tick.js:109:7) From: Task: WebDriver.createSession()
at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
at Function.createSession (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:761:15)
at createDriver (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:170:33)
at Builder.build (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/index.js:626:16)
at Local.getNewDriver (/usr/lib/node_modules/protractor/built/driverProviders/driverProvider.js:53:33)
at Runner.createBrowser (/usr/lib/node_modules/protractor/built/runner.js:195:43)
at q.then.then (/usr/lib/node_modules/protractor/built/runner.js:339:29)
at _fulfilled (/usr/lib/node_modules/protractor/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/usr/lib/node_modules/protractor/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/protractor/node_modules/q/q.js:796:13)
[06:43:05] E/launcher - Process exited with error code 199 sh-4.2# vi
config.js
My Configuration:
npm: 3.10.0
protractor: 4.10.3
Chrome: 55
chromedriver Version: chromedriver_2.25
Unable to execute any file in protractor.
Command prompt status:
C:\Users\rmomin\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriv
er-manager\selenium\report\report>protractor conf.js
Report destination: C:\Users\rmomin\report\report\screenshots\my-report.html
(node:3580) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() inste
ad.
[11:55:57] I/launcher - Running 3 instances of WebDriver
[11:56:01] I/testLogger -
------------------------------------
[11:56:01] I/testLogger - [chrome #01-2] PID: 8956
[chrome #01-2] Specs: C:\Users\rmomin\AppData\Roaming\npm\node_modules\protracto
r\node_modules\webdriver-manager\selenium\report\report\02-discussions.js
[chrome #01-2]
[chrome #01-2] (node:8956) DeprecationWarning: os.tmpDir() is deprecated. Use os
.tmpdir() instead.
[chrome #01-2] [11:55:57] I/local - Starting selenium standalone server...
[chrome #01-2] [11:55:59] I/local - Selenium standalone server started at http:/
/10.165.6.34:38852/wd/hub
[chrome #01-2]
[chrome #01-2] C:\Users\rmomin\AppData\Roaming\npm\node_modules\protractor\node_
modules\selenium-webdriver\lib\error.js:639
[chrome #01-2] throw new ctor(message);
[chrome #01-2] ^
[chrome #01-2] WebDriverError: unknown error: chrome failed to start
[chrome #01-2] (Driver info: chromedriver=2.25.426923 (0390b88869384d6eb0d5d09
729679f934aab9eed),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server
did not provide any stacktrace information)
[chrome #01-2] Command duration or timeout: 723 milliseconds
[chrome #01-2] Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-0
6-30 17:37:03'
[chrome #01-2] System info: host: 'rmomin-PC', ip: '192.168.56.1', os.name: 'Win
dows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65'
[chrome #01-2] Driver info: org.openqa.selenium.chrome.ChromeDriver
[chrome #01-2] at Object.checkLegacyResponse (C:\Users\rmomin\AppData\Roamin
g\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\error.js:639:1
5)
[chrome #01-2] at parseHttpResponse (C:\Users\rmomin\AppData\Roaming\npm\nod
e_modules\protractor\node_modules\selenium-webdriver\http\index.js:538:13)
[chrome #01-2] at client_.send.then.response (C:\Users\rmomin\AppData\Roamin
g\npm\node_modules\protractor\node_modules\selenium-webdriver\http\index.js:472:
11)
[chrome #01-2] at ManagedPromise.invokeCallback_ (C:\Users\rmomin\AppData\Ro
aming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js
:1379:14)
[chrome #01-2] at TaskQueue.execute_ (C:\Users\rmomin\AppData\Roaming\npm\no
de_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2913:14)
[chrome #01-2] at TaskQueue.executeNext_ (C:\Users\rmomin\AppData\Roaming\np
m\node_modules\protractor\node_modules\selenium-webdriver\lib\promise.js:2896:21
)
[chrome #01-2] at asyncRun (C:\Users\rmomin\AppData\Roaming\npm\node_modules
\protractor\node_modules\selenium-webdriver\lib\promise.js:2820:25)
[chrome #01-2] at C:\Users\rmomin\AppData\Roaming\npm\node_modules\protracto
r\node_modules\selenium-webdriver\lib\promise.js:639:7
[chrome #01-2] at process._tickCallback (internal/process/next_tick.js:103:7
)
[chrome #01-2] From: Task: WebDriver.createSession()
[chrome #01-2] at Function.createSession (C:\Users\rmomin\AppData\Roaming\np
m\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver.js:329:2
4)
[chrome #01-2] at Builder.build (C:\Users\rmomin\AppData\Roaming\npm\node_mo
dules\protractor\node_modules\selenium-webdriver\builder.js:458:24)
[chrome #01-2] at Local.DriverProvider.getNewDriver (C:\Users\rmomin\AppData
\Roaming\npm\node_modules\protractor\built\driverProviders\driverProvider.js:37:
33)
[chrome #01-2] at Runner.createBrowser (C:\Users\rmomin\AppData\Roaming\npm\
node_modules\protractor\built\runner.js:198:43)
[chrome #01-2] at C:\Users\rmomin\AppData\Roaming\npm\node_modules\protracto
r\built\runner.js:277:30
[chrome #01-2] at _fulfilled (C:\Users\rmomin\AppData\Roaming\npm\node_modul
es\protractor\node_modules\q\q.js:834:54)
[chrome #01-2] at self.promiseDispatch.done (C:\Users\rmomin\AppData\Roaming
\npm\node_modules\protractor\node_modules\q\q.js:863:30)
[chrome #01-2] at Promise.promise.promiseDispatch (C:\Users\rmomin\AppData\R
oaming\npm\node_modules\protractor\node_modules\q\q.js:796:13)
[chrome #01-2] at C:\Users\rmomin\AppData\Roaming\npm\node_modules\protracto
r\node_modules\q\q.js:604:44
[chrome #01-2] at runSingle (C:\Users\rmomin\AppData\Roaming\npm\node_module
s\protractor\node_modules\q\q.js:137:13)
[11:56:01] I/testLogger -
[11:56:01] E/launcher - Runner process exited unexpectedly with error code: 1
[11:56:01] I/launcher - 2 instance(s) of WebDriver still running
[11:56:01] I/testLogger -
[11:56:01] I/testLogger -
[11:56:01] E/launcher - Runner process exited unexpectedly with error code: 1
[11:56:01] I/launcher - 0 instance(s) of WebDriver still running
[11:56:01] I/launcher - chrome #01-2 failed with exit code: 1
[11:56:01] I/launcher - chrome #01-1 failed with exit code: 1
[11:56:01] I/launcher - chrome #01-0 failed with exit code: 1
[11:56:01] I/launcher - overall: 3 process(es) failed to complete
Closing report
[11:56:01] E/launcher - Process exited with error code 100
The issue is fixed for me now what I did:
download chrome.exe file and selenium jar file and keep the both files in C:..\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium
Now run in command prompt ..\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium> webdriver-manager update
then run webdriver-manager start
then run you configuration file