惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
博客园_首页
Google DeepMind News
Google DeepMind News
博客园 - Franky
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
博客园 - 【当耐特】
博客园 - 三生石上(FineUI控件)
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
罗磊的独立博客
IT之家
IT之家
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
腾讯CDC
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com

Selenium - 标签 - cywhat's blog

暂无文章

selenium.common.exceptions.WebDriverException: Message: u...
cywhat · 2021-08-21 · via Selenium - 标签 - cywhat's blog

报错: selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

原因是: 运行脚本的环境中没有找到chrome浏览器

解决: windows/mac: 指定浏览器位置

1
2
$ chrome_path = r"/Library/Frameworks/Python.framework/Versions/3.6/bin/chromedriver"  #mac地址 win自己更换路径即可
  driver = webdriver.Chrome(chrome_path)

linux: 安装chrome浏览器

Linux安装chrome浏览器

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏