【发布时间】:2017-03-15 11:33:25
【问题描述】:
我正在使用 selenium firefox 驱动程序 3.3.1、selenium java 3.3.0、gecko 驱动程序 0.14 和 firefox 52。当我运行我的代码时出现“您的连接不安全”页面,但是当我手动打开它时,它会在没有的情况下打开任何错误 这是我收到的错误消息
线程“主”org.openqa.selenium.WebDriverException 中的异常: 在 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 在 sun.reflect.NativeConstructorAccessorImpl.newInstance(未知来源) 在 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(未知来源) 在 java.lang.reflect.Constructor.newInstance(未知来源) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:127) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:93) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:42) 在 org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163) 在 org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) 在 org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604) 在 org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:325) 在automation.Qwik_events_uat_firefox.main(Qwik_events_uat_firefox.java:24)
【问题讨论】:
标签: java selenium selenium-webdriver