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

推荐订阅源

P
Proofpoint News Feed
V
V2EX
WordPress大学
WordPress大学
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
The Cloudflare Blog
T
Tailwind CSS Blog
H
Help Net Security
腾讯CDC
爱范儿
爱范儿
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
D
DataBreaches.Net
C
Check Point Blog
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
让小产品的独立变现更简单 - 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浏览器

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏