1. java -version
  2. node -v

  3. npm install -g cnpm --registry=https://registry.npm.taobao.org

  4. cnpm install uirecorder mocha -g

  5. uirecorder init

  6. cnpm install --save-dev selenium-server-standalone-jar

  7. cnpm install mochawesome

  8. uirecorder start

  9. java -jar selenium-server-standalone-3.4.0.jar

  10. source run.sh sample/test.spec.js

  11. source run.sh

12.open report/index.html


↙↙↙阅读原文可查看相关链接,并与作者交流