解决selenium配置Firefox 和Chrome环境变量的问题

下载火狐浏览器驱动地址

https://github.com/mozilla/geckodriver/releases/

对应火狐浏览器版本相应下载

http://ftp.mozilla.org/pub/firefox/releases/

下载goog浏览器地址,网上很多

http://www.slimjet.com/chrome/google-chrome-old-version.php

http://google_chrome.en.downloadastro.com/old_versions/

http://filehippo.com/zh/download_google_chrome/

http://www.chromedownloads.net/

下载goog浏览器驱动地址


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


对应goog浏览器版本相应下载


iedriver下载

http://selenium-release.storage.googleapis.com/index.html



环境配置建议直接放在anconda 目录下,重启pycharm 或者刷新即可


其他配置path 路径基本费力不讨好,本人亲试各种path 配置看图



Supported Browsers and Platforms

In Selenium 2.0, the supported browsers vary depending on whether you are using Selenium-WebDriver or Selenium-RC.

Selenium-WebDriver

Selenium-WebDriver supports the following browsers along with the operating systems these browsers are compatible with.

  • Google Chrome
  • Internet Explorer 7, 8, 9, 10, and 11 on appropriate combinations of Vista, Windows 7, Windows 8, and Windows 8.1. As of April 15 2014, IE 6 is no longer supported. The driver supports running 32-bit and 64-bit versions of the browser where applicable
  • Firefox: latest ESR, previous ESR, current release, one previous release
  • Safari
  • Opera
  • HtmlUnit
  • phantomjs
  • Android (with Selendroid or appium)
  • iOS (with ios-driver or appium)






猜你喜欢

转载自blog.csdn.net/qq_37928340/article/details/80826436
今日推荐