Chrome 点击下载chrome的webdriver: http://chromedriver.storage.googleapis.com/index.html 不同的Chrome的版本对应的chromedriver.exe 版本也不一样,下载时不要搞错了.如果是最新的Chrome, 下载最新的chromedriver.exe 就可以了. 把chromedriver的路径也加到环境变量里. Firefox Firefox驱动下载地址为:https://github.com/mozilla/g…
地址:chromedriver官网下载地址: http://chromedriver.storage.googleapis.com/index.html(失效了) http://npm.taobao.org/mirrors/chromedriver/ IE浏览器驱动下载地址为:http://selenium-release.storage.googleapis.com/index.html Firefox驱动下载地址为:https://github.com/mozilla/geckodriver…
谷歌浏览器驱动下载http://chromedriver.storage.googleapis.com/index.html 火狐浏览器驱动下载http://ftp.mozilla.org/pub/firefox/releases/ IEDriverServer下载http://selenium-release.storage.googleapis.com/index.html…
一.安装selenium 命令安装selenium库 :pip  install -U selenium 查看selenium是否安装成功:pip list PS:有时会有异常,安装失败,可以尝试去selenium官网下载,selenium的资源包.下载地址:https://www.seleniumhq.org/download/,把包放到目录D:\python\Python36\Lib\site-packages下解压, 进入路径D:\python\Python36\Lib\site-pack…
Chrome http://chromedriver.storage.googleapis.com/index.html 不同的Chrome的版本对应的chromedriver.exe 版本也不一样,下载时不要搞错了.如果是最新的Chrome, 下载最新的chromedriver.exe 就可以了. 把chromedriver的路径也加到环境变量里.   Firefox https://github.com/mozilla/geckodriver/releases/ 根据自己的操作系统下载对应的…
今天把手头有的一些关于selenium测试的资源整理了一下,分享出来. 1. 所有版本chrome下载 是不是很难找到老版本的chrome?博主收集了几个下载chrome老版本的网站,其中哪个下载的是原版的就不得而知了. http://www.slimjet.com/chrome/google-chrome-old-version.php http://google_chrome.en.downloadastro.com/old_versions/ http://filehippo.com/zh…
1.下载selenium压缩包 http://pypi.python.org/pypi/selenium 下载后压缩在python文件下的lib>site-package文件夹下 2.进入selenium压缩后的文件夹setup.py所在的文件夹下shift+鼠标右键,在当前窗口运行命令 3.在dos命令窗口中输入 Python setup.py install 4.下载成功后,在python的IDE窗口输入命令导入selenium的webdriver模块就不会报错了 >>> fr…
Chrome 点击下载chrome的webdriver: http://chromedriver.storage.googleapis.com/index.html 不同的Chrome的版本对应的chromedriver.exe 版本也不一样,下载时不要搞错了.如果是最新的Chrome, 下载最新的chromedriver.exe 就可以了. 把chromedriver的路径也加到环境变量里.如:D:\Python27\Scripts   Firefox Firefox驱动下载地址为:https…
chrome的webdriver: http://chromedriver.storage.googleapis.com/index.html Firefox驱动下载地址为:https://github.com/mozilla/geckodriver/releases/ IE浏览器驱动下载地址为:http://selenium-release.storage.googleapis.com/index.html…
一.Firefox和驱动下载地址 selenium2.X最高支持的Firefox版本为46,使用selenium2.X的话不需要下载火狐驱动,只需要配置火狐的启动路径即可. Selenium3.0开始需下载geckodriver,想使用geckodriver ,Firefox浏览器必须是48或者更高版本.具体的浏览器和浏览器驱动之间的对应关系可在geckodriver下载网站中的版本说明中查看. 所有火狐浏览器版本下载地址:http://ftp.mozilla.org/pub/firefox/r…