How to install protractor and start it?

Viewed 12105

I followed instructions in the document on how to install protractor and selenium and I am unable to 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 is going on?

3 Answers

First install globally npm i -g protractor

Secondly install locally npm i protractor

Related