WebDriver
1. 参考资料
- 官方API文档:http://seleniumhq.github.io/selenium/docs/api/javascript/index.html
- 阮一峰的文章:https://github.com/ruanyf/jstutorial/blob/63812f4c73e33916406cea2d19b01066960c46f5/tool/testing.md
2. 课程视频
- https://www.youtube.com/watch?v=X3pTXG9a1oQ
- https://www.youtube.com/playlist?list=PLDcL8dhuVQJzgNMCXtlEe8QeDIEByxBFX
3. Selenium webdriver 环境搭建
# 安装 node.js 略
# 验证 node.js 和 npm 安装成功
node -v
npm -v
# 安装 Selenium webdriver
node install selenium-webdriver
# 安装火狐浏览器驱动略
# https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver
# 下载地址:
# https://github.com/mozilla/geckodriver/releases
# IDE 环境用 webstorm,安装略