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

推荐订阅源

Y
Y Combinator Blog
腾讯CDC
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hugging Face - Blog
Hugging Face - Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
博客园_首页
D
DataBreaches.Net
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
月光博客
月光博客
Jina AI
Jina AI
Stack Overflow Blog
Stack Overflow Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Vercel News
Vercel News
WordPress大学
WordPress大学
J
Java Code Geeks
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42

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浏览器

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏