1. 安装Node.js
2.npm install -g protractor
3. webdriver-manager update
4. webdriver-manager start, 结果报错如下,发现自己的JDK是7.0的,于是更换 8.0
5. npm install -g cucumber
6. npm install --save-dev protractor-cucumber-framework
6.1. try to fix the ENOENT warning with following command:
6.2 Try to fix the require the peer :
7. webdriver-manager start