WebDriver 支持的浏览器

WebDriver 支持主流的浏览器包括IE,Chrome,Firefox,Safari,Edge等等。

WebDriver浏览器驱动配置

WebDriver对应每个浏览器都有对应的一个Driver,通过以之对应的Driver来驱动浏览器,那我们在启动浏览器前,得先完成浏览器的配置,下载各个浏览器对应的Driver文件。

安装时一定要和浏览器版本相对应。下载之后,解压,放到Python的安装目录下。

下载地址:

谷歌浏览器(Chrome):http://chromedriver.storage.googleapis.com/index.html

火狐浏览器(FireFox):https://github.com/mozilla/geckodriver/releases/

IE浏览器:http://selenium-release.storage.googleapis.com/index.html

edge浏览器:https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

相关文章:

  • 2022-02-09
  • 2021-05-31
  • 2021-08-01
  • 2021-07-25
  • 2021-12-07
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-12-08
  • 2022-02-26
  • 2021-04-17
  • 2021-06-26
  • 2021-10-15
相关资源
相似解决方案