How to install the protractor and start it?

I followed the instructions in the document on how to install a protractor and selenium, and I can not start.

install -g protractor webdriver-manager update 

After that i tried

webdriver-manager start and i got an error

 events.jst:72 throw er; // Unhandeled 'error event Error: spawn ENOENT at errnoException (child_projcess.js:980:11) at Process.ChildProcess.handle.onexeit (childprocess.js:771:34) 

If I do webdriver-manager status , I get this

 selenium standalone is up to date chromedriver is up to date IEDriver is not present 

What's happening?

+6
source share
2 answers

It looks like you are running on a Mac platform.

Installing it globally, as you do, installs it in the system_ node_module folder. You should try to install it locally for the project as its dependency on the project.

so run: npm install protractor

+3
source

Kind of old, but for me it decided to install java:

On a Ubuntu system:

sudo apt-get install openjdk-7-jre

In Fedora:

sudo yum install java-1.8.0-openjdk

Keep hacking!

+3
source

All Articles