+-
java – Chrome错误:您使用的是不受支持的命令行标志: – ignore-certifcate-errors.稳定性和安全性将受到影响
浏览器打开时带有下面提到的行 –

You are using an unsupported command-line flag: –ignore-certifcate-errors. Stability and security will suffer.

以及几秒后浏览器关闭并抛出错误.

我在chrome上运行代码时遇到上述错误.

我正在使用chrome版本–44.0.2403.155和最新的selenium jar.

有人可以帮帮我吗?

最佳答案
对于版本为58.0.3029.110的Chrome版本,您应该使用2.2.8版本的Chrome.driver.然后,您不会收到错误“您正在使用不受支持的命令行标志:–ignore-certifcate-errors.稳定性和安全性将受到影响.”

我已经解决了很多问题来解决这个问题并最终得到了解决方案.要解决Chrome v58的问题,请从此处下载驱动程序.
http://chromedriver.storage.googleapis.com/index.html?path=2.28/
如果您想下载其他chromedriver版本然后更改上面的URL中的版本号,您将获得所需的驱动程序.祝好运.

点击查看更多相关文章

转载注明原文:java – Chrome错误:您使用的是不受支持的命令行标志: – ignore-certifcate-errors.稳定性和安全性将受到影响 - 乐贴网