码迷,mamicode.com
首页 > Web开发 > 详细

WebDriverException:Message:'geckodriver'executable needs to be in Path

时间:2018-01-08 21:16:07      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:log   http   sel   ble   webdriver   except   3.x   tps   div   

geckodriver是一原生态的第三方浏览器,对于selenium3.x版本都会使用geckodriver来驱动firefox,所以需要下载geckodriver.exe,下载地址:https://github.com/mozilla/geckodriver/releases

解决办法:

1、解压;

2、将可执行文件放在可执行文件路径PATH里面;

WebDriverException:Message:'geckodriver'executable needs to be in Path

标签:log   http   sel   ble   webdriver   except   3.x   tps   div   

原文地址:https://www.cnblogs.com/noxy/p/8244722.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!