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

本文档详细介绍了如何使用Node.js进行自动化测试的配置过程,包括安装必要的软件包如Protractor和Cucumber,并解决了在配置过程中遇到的问题如JDK版本不匹配等。
238

被折叠的 条评论
为什么被折叠?



