

Note that we did not install the protractor as " global", calling it from the command line will result in a "command not found" error. There should be a folder called selenium with the chromedriver in it. node_modules/protractor and it sub-folders to verify it. Step 3: Alright, once you've calling this command have a look at. node_modules/protractor/bin/webdriver-manager update Step 2: Run the following command to Install selenium and the webdrivers with the webdriver-manager Step 1: Install protractor using the following command So I downloaded the chromedriver manually and copied it to this location, producing a new error:Ĭ:\Users\****\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:1549Īt ChildProcess.onServerExit (C:\Users\****\AppData\Roaming\npm\node_modules\protractor\node_modules\selenium-webdriver\remote\index.js:193:11)Īt (events.js:98:17)Īt Process.ChildProcess._handle.onexit (child_process.js:797:12)

\node_modules\protractor\selenium\chromedriver but there only was an empty zip file called chromedriver_2.9. I checked the local.dp.js and saw that it tried to load the chromedriver from. Runner Process Exited With Error Code: 8

Throw new Error('Could not find chromedriver at ' +Įrror: Could not find chromedriver at C:\Users\****\AppData\Roaming\npm\node_modules\protractor\selenium\chromedriver.exeĪt LocalDriverProvider.addDefaultBinaryLocs_ (C:\Users\****\AppData\Roaming\npm\node_modules\protractor\lib\driverProviders\local.dp.js:42:15)Īt tupEnv (C:\Users\****\AppData\Roaming\npm\node_modules\protractor\lib\driverProviders\local.dp.js:59:8)Īt n (C:\Users\****\AppData\Roaming\npm\node_modules\protractor\lib\runner.js:308:31)Īt process. Thou when I try to run the protractor tests, it says:Ĭ:\Users\****\AppData\Roaming\npm\node_modules\protractor\lib\driverProviders\local.dp.js:42 I installed protractor but when I use webdriver-manager update it says:
