编程语言
首页 > 编程语言> > 自动化测试环境搭建之Python3.6+selenium44+firefox

自动化测试环境搭建之Python3.6+selenium44+firefox

作者:互联网

推荐使用:

 Python3.6+selenium2.53.6+Firefox46以下

+【Chrome任意版本+对应版本webdriver】

 --------------------------------------------------------------------------

安装前准备工作

一、Python3.6+Firefox44下载

链接:https://pan.baidu.com/s/17-V_Zgi7CPAYN9FaacGoOQ 

提取码:s269

 二、Chrome对应版本webdriver下载地址

1. 谷歌版本查看,在地址栏输入:chrome://version/  

 

 

 

2. 在下列地址中找到对应版本webdriver并下载:

http://chromedriver.storage.googleapis.com/index.html 

(webdriver不区分32,64位)

下载好,等Python安装好后放入Python 文件夹路径

 

 

 

安装步骤: 

 

 

 

安装之后验证是否安装成功:

一、cmd查看Python命令

二、Python自带的pip是否可用


一、通过pip安装selenium

二、安装完,简单调用火狐,谷歌

至此,Python+selenium搭建完成

下一篇:Pycharm安装

 

标签:webdriver,firefox,python,selenium,Python3.6,Python,selenium44,安装,输入
来源: https://www.cnblogs.com/pingzi66-ww/p/15706248.html