报错:The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html 您所在的位置:网站首页 CAN驱动 报错:The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

报错:The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

2023-06-27 23:44| 来源: 网络整理| 查看: 265

selenium做自动化 打开浏览器失败,报错: Exception in thread “main” java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

需要chrome浏览器驱动,后面给了下载驱动网址:http://chromedriver.storage.googleapis.com/index.html 下载对应浏览器版本的驱动后解压,复制chromedriver.exe文件到C:\Windows\System32文件夹里,就可以了 查看浏览器版本: 在这里插入图片描述 下载浏览器对应版本的驱动 在这里插入图片描述 选择win32.zip下载 在这里插入图片描述



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有