在使用python+selenium时调用各种浏览器的dirver配置
来源:互联网 发布:sqlserver 行合计 编辑:程序博客网 时间:2024/06/05 07:01
在使用selenium的时候。
调用浏览器firefox是不需要进行额外配置的。
但是调用chrome和ie等浏览器。都需要下载对应的driver,不然会提示我们
WebDriverException: Message: 'IEDriver executable needs to be available in the path.
或者是
WebDriverException: Message: 'ChromeDriver executable needs to be available in the path.
IEDriver下载地址:http://selenium-release.storage.googleapis.com/index.html
chromeDriver下载地址:http://chromedriver.storage.googleapis.com/index.html
选择最新版本下载就可以了。
下载完成之后,解压。
把driver放在对应的地方。可以建一个文件夹专门用于放置driver,例如:d:\drivers
再把对应的路径(d:\drivers)配置到系统环境变量path里。
搞定收工。
0 2
- 在使用python+selenium时调用各种浏览器的dirver配置
- selenium使用IE浏览器的配置方法
- 各种数据库的dirver和url
- 解决默认是火狐浏览器却在打开qq空间时调用IE的方案
- loadrunner11录制脚本时调用浏览器遇到的问题
- python使用selenium调用edge浏览器webdriver
- coocs2d-html5在使用cocoseditor时调用设备的accelerometer来使用重力感应
- 使用vs调用DLL在运行时调用的方法,使用delph调用dll
- Selenium在python的操作
- selenium下各浏览器的driver配置
- python selenium调用浏览器
- 自学selenium第五节-selenium各种类的使用
- python+selenium 自动化之启动浏览器加载浏览器的插件
- JSP在页面加载时调用servlet的方法
- Python selenium的简单使用
- Python+Selenium--XPath的使用
- 【Python + selenium】在浏览器打开新页签,打开方式
- Python selenium库使用phantomJs配置
- VS2010编译变慢的原因
- Spring组件扫描<context:component-scan/>使用详解
- AlertDialog传递application context报错原因分析
- 正确配置浏览器,解决Cognos附件无法导出
- Oracle 由易到难源代码四 子查询 深度查询 简单分页
- 在使用python+selenium时调用各种浏览器的dirver配置
- 二分查找
- 智能功放 ACS 保护
- android ProgressDialog 提示窗口 代码
- xcode插件
- 常见的图像特征即特征匹配方法
- Visual studio 2010
- 在Mac OS X中配置Apache + PHP + MySQL + Wordpress
- 核心Javascript教程(一)