WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home

一、报错场景

在保存pyechars结果为图片时报错了:

from snapshot_selenium import snapshot as driver
make_snapshot(driver, bar_chart().render(), "bar.png")

二、解决方式

1、下载对应Google浏览器的版本的Google驱动

下载地址:http://chromedriver.storage.googleapis.com/index.html

2、把下载下来的驱动放在Google安装目录下即可

WebDriverException( selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl相关推荐

  1. 已解决selenium.common.exceptions.WebDriverException: Messag: ‘geckodriver‘ executable needs to be in PA

    已解决selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in P ...

  2. selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to bein PATH

    使用Selenium模拟浏览器访问淘宝首页,出现报警 from selenium import webdriver import timebrowser = webdriver.Chrome() br ...

  3. selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’解决

    selenium.common.exceptions.WebDriverException: Message: 'chromedriver'解决: https://blog.csdn.net/weix ...

  4. 在进行天猫商品数据爬虫时遇到selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe'

    selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in ...

  5. 已解决selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

    已解决selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary ...

  6. selenium.common.exceptions.WebDriverException: Message: unable to set

    本人使用的版本是 python3.7 selenium3.14.1 macOS10.13.3 另外是在谷歌浏览器做的实验 下面看代码: 我想要添加一个name为MUSIC_U的cookie,运行后出现 ...

  7. 报错解决:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error

    报错代码 from appium import webdriver from selenium.webdriver.support.ui import WebDriverWaitdesired_cap ...

  8. 使用selenium时遇到的报错selenium.common.exceptions.WebDriverException: Message: Service xxxxstaus:1详解及解决方法详解

    在开始之前,分享一下使用selenium常遇到的几个问题和报错: 1.首先就是版本问题的报错:selenium.common.exceptions.NoSuchWindowException: Mes ...

  9. 【解决报错问题:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurr】

    运行Appium报错: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occ ...

最新文章

  1. 数据库链接池终于搞对了,这次直接从100ms优化到3ms!
  2. 将集合中的内容按时间排序
  3. php二叉树 排列,PHP 如何实现用户二叉树排序需求
  4. c 语言 json序列化,C#中json字符串的序列化和反序列化 – 万能的聪哥 – 博客园...
  5. .html文件可以删掉吗,packages文件夹可以删除吗?
  6. 图像局部特征(十六)--SimpleBlobDetector
  7. typescript step by step interface class
  8. 20191122每日一句
  9. 计算机主机前耳机没声音,Win10电脑机箱前面板耳机没声音如何解决【解决方法】...
  10. bodymovin_基于Bodymovin在Vue上渲染After Effects动画
  11. mysql如何导出数据脚本_MySQL 导出数据
  12. schema自动生成前端代码
  13. 注册gitLab时报错There was an error with the reCAPTCHA. Please solve the reCAPTCHA again.
  14. cyclone4驱动LM75A温湿度传感器学习
  15. APICloud框架——获取本地图片信息
  16. COB--COF--COG--TAB--TCP
  17. 隐写术之实验吧--小苹果
  18. rust嵌入式key/value数据库
  19. 软考高级 真题 2012年下半年 信息系统项目管理师 案例分析
  20. torch.nn.Embedding的使用

热门文章

  1. 打造迪士尼梦幻体验的神奇魔法
  2. python实现android应用稳定性测试
  3. C++ GDAL/OGR 图层求交集Intersection
  4. 「梗」、语言,与产品中的人文关怀
  5. html圆的坐标位置,canvas通过三角函数中获得圆上某点的坐标
  6. MySQL之——MySQL5.6 my.cnf 参数说明(附上自己服务器上真实配置文件)
  7. 以太坊挖矿源码:ethash算法
  8. IT知识图谱(只是从CSDN中把图片,一个个下载了)
  9. 【架构师李肯】带你走进架构师的一天
  10. int 到底是什么