admin管理员组

文章数量:1565349

目录

三大浏览器驱动driver下载地址

注意:

启动谷歌浏览器

启动火狐浏览器

启动IE浏览器


三大浏览器驱动driver下载地址

     1.chromedriver 下载地址:https://code.google/p/chromedriver/downloads/list

     2.Firefox的驱动geckodriver 下载地址:https://github/mozilla/geckodriver/releases/

     3.IE的驱动IEdriver 下载地址:http://www.nuget/packages/Selenium.WebDriver.IEDriver/

 

注意:

下载解压后,将chromedriver.exe , geckodriver.exe , Iedriver.exe

发到Python的安装目录或者python3.6.5/scripts文件夹下,例如 D:\python 。
确保: Python的安装目录和scripts目录在环境变量path里

然后打开Python IDLE分别输入以下代码来启动不同的浏览器

 

本文标签: 下载地址浏览器方法seleniumPython