Idan E Idan E - 1 year ago 168
Node.js Question

Can't start webdriver-manager after upgrading of jdk, node & webdriver

I've upgraded Node, Protractor, JDK & webdriver to the latest versions.
And now I can't start webdriver-manager anymore not by CMD and not by Node command line.

Any idea?

Your environment has been set up for using Node.js 0.12.2 (x64) and npm.

C:\Users\idan>cd c:\automation\tests\node_modules\protractor\bin

c:\automation\tests\node_modules\protractor\bin>webdriver-manager start 6484
'java' is not recognized as an internal or external command,
operable program or batch file.
Selenium Standalone has exited with code 1


Answer Source

You need to have jdk installed and JAVA_HOME environment variable set:

Also see:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download