Linux下Python使用谷歌无头浏览器问题

我不是忘尘 2020-07-09 10:51:04
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

在CentOS 7 中chromedriver应该放哪啊,错误提示说PATH也要加,搜了好多文章都没说清楚
...全文
354 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
我不是忘尘 2020-07-10
  • 打赏
  • 举报
回复
谷歌太坑了,我换了火狐的无头浏览器一下子就好了
我不是忘尘 2020-07-09
  • 打赏
  • 举报
回复
现在是这个问题了: (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

37,722

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧