1. pip install selenium
2. 驱动下载
2.1 去下载谷歌浏览器驱动,以下三个网址都可以,第一个是谷歌浏览器驱动的官网,找到和自己电脑中谷歌浏览器版本对应的驱动进行下载
http://chromedriver.storage.googleapis.com/index.html
https://www.seleniumhq.org/download/
http://npm.taobao.org/mirrors/chromedriver/
2.2 把下载好的驱动放在Python的根目录
3. 测试一下
from selenium import webdriver
browser = webdriver.Chrome()
browser.get('http://www.baidu.com')
print browser.title
browser.quit()
4. Autolt3 下载安装
4.1. 下载
https://www.autoitscript.com/site/autoit/downloads
4.2. 安装
next-I Agree-选择32还是64-next-next-选择安装位置-对勾去掉安装完成
5. HTMLTestRunner修改成Python3版本
http://www.cnblogs.com/feiquan/p/8525903.html
https://www.cnblogs.com/sgtb/p/4169732.html
6. Robot Framework用法总结
https://www.cnblogs.com/yufeihlf/p/5949984.html
自动化测试:https://www.cnblogs.com/yufeihlf/p/5752146.html
参考:https://blog.csdn.net/GitChat/article/details/79081187