1、‘unknown error:cannot find Chrome binary’:由于Chrome安装不是默认路径(直接拷贝安装文件),导致selenium找不到安装程序。

解决办法:①Chrome安装到默认路径。②setBinary方法设置程序路径。

selenium报错‘unknown error:cannot find Chrome binary’

2、报错‘The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHe/selenium/wiki/ChromeDriver.The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html’

解决办法:找不到ChromeDriver,  setProperty方法设置。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-08-14
猜你喜欢
  • 2021-09-02
  • 2021-06-08
  • 2021-09-06
  • 2021-10-21
  • 2021-05-24
相关资源
相似解决方案