草庐IT

java - Chrome 错误 : You are using an unsupported command-line flag: --ignore-certifcate-errors. 稳定性和安全性将受到影响

coder 2023-08-29 原文

浏览器打开并显示下面提到的行-

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

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

当我在 chrome 上运行我的代码时,我遇到了上述错误。

我使用的是 chrome 版本 - 44.0.2403.155 和最新的 selenium jar。

谁能帮帮我?

最佳答案

您可以将其添加到 chrome 浏览器的快捷方式中,在目标部分:

–test-type

这将禁用任何警告消息。 不是最好的解决方案,但它有效。

关于java - Chrome 错误 : You are using an unsupported command-line flag: --ignore-certifcate-errors. 稳定性和安全性将受到影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32042187/

有关java - Chrome 错误 : You are using an unsupported command-line flag: --ignore-certifcate-errors. 稳定性和安全性将受到影响的更多相关文章

随机推荐