zf612326

Exception in thread "main" org.openqa.selenium.WebDriverException: disconnected: unable to connect to renderer

 查看报错,脚本运行到窗口最大化时出现错误的,经过仔细分析,发现chrom版本是62,与chromedriver不兼容的问题造成的。

 解决方法:

去如下网址下载最新的chromedriver:

https://npm.taobao.org/mirrors/chromedriver/

 

使用Firefox浏览器时只打开浏览器不打开网址时,也可更新geckodriver

下载地址:

https://github.com/mozilla/geckodriver/releases

分类:

技术点:

相关文章:

  • 2021-04-18
  • 2021-09-02
  • 2019-02-21
  • 2021-08-04
  • 2021-12-02
  • 2021-11-08
  • 2021-12-02
猜你喜欢
  • 2021-12-02
  • 2021-08-28
  • 2021-12-02
  • 2021-10-27
  • 2021-12-12
  • 2021-12-02
  • 2021-10-27
相关资源
相似解决方案