如何使用硒化物禁用 firefox 中的安全警告?

How to disable security warning in firefox using selenide?

enter image description here 我在 firefox(版本 42.0)中 运行 时收到此错误。当我在 chrome 中检查它时,它没有显示 up.Please 帮我解决这个问题。

您可以通过以下方式使用硒化物通过安全警告:

WebDriverRunner.getWebDriver().switchTo().alert().accept();