admin管理员组

文章数量:1531473

selenium是thoughtworks公司开发的一款开源的测试工具,主要用来做web端的自动化测试。

Python安装selenium,直接使用执行pip install selenium(python)命令安装即可,默认安装的是最新的,也就是selenium的3.x版本,以前selenium2.x版本的时候,是自带了Firefox的驱动,直接可以打开火狐浏览器的,现在3.x版本,打开火狐也需要指定驱动

所有chromedriver均可在下面链接中下载到:
http://chromedriver.storage.googleapis/index.html
最好不仅要用最新的版本,回退两三个版本

selenium之 chromedriver与chrome版本映射表
http://blog.csdn/huilan_same/article/details/51896672

将chromedriver.exe放到python的script目录下,Chrome的安装路径添加到PATH

下面参考链接包括所有浏览器版本下载:
参考链接:https://blog.csdn/huilan_same/article/details/52615123
推荐的博主专栏:https://blog.csdn/column/details/12694.html

本文标签: 浏览器版本