关于selenium+python的googledirver和iedirver的配置

  关于selenium + python的webdirver谷哥浏览器和IE驱动配置,当使用这俩浏览器时,需要配置将驱动添加到path,此外还有一种就是将路径添加即可,不需再配置path环境变量

以下为添加事例,请根据路径位置添加:

browser=webdriver.Chrome('C:/Users/wuzhiyi/AppData/Local/Google/Chrome/Application/chromedriver.exe')

browser=webdriver.Ie('F:/BaiduYunDownload/IEDriverServer.exe')

原文地址:https://www.cnblogs.com/wuzhiyi/p/4734671.html