I installed several versions of node.js and protractor, and then followed the instructions for updating webdriver, but none of the combinations that I came up with starts webdriver.
Some useful details:
- On a 64-bit version of Ubuntu
- Tried node.js v0.10.15 and v0.10.26
- Test protractor 0.18.1 and 0.19.0
Here are the commands that I executed and the corresponding error (after installing the protractor):
$ webdriver-manager update
Updating selenium standalone
downloading https://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar...
Updating chromedriver
downloading https://chromedriver.storage.googleapis.com/2.8/chromedriver_linux64.zip...
chromedriver_2.8.zip downloaded to /home/<user>/.nvm/v0.10.26/lib/node_modules/protractor/selenium/chromedriver_2.8.zip
selenium-server-standalone-2.39.0.jar downloaded to /home/<user>/.nvm/v0.10.26/lib/node_modules/protractor/selenium/selenium-server-standalone-2.39.0.jar
$ webdriver-manager start
execvp(): No such file or directory
seleniumProcess.pid: 4567
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
source
share