1

我正在使用 WebDriverManager api 来启动浏览器。我正在使用以下代码连接到 chrome 浏览器。

WebDriverManager.chromedriver().setup()

例外是:

io.github.bonigarcia.wdm.config.WebDriverManagerException: java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
at io.github.bonigarcia.wdm.online.HttpClient.<init>(HttpClient.java:117)
at io.github.bonigarcia.wdm.WebDriverManager.manage(WebDriverManager.java:490)
at io.github.bonigarcia.wdm.WebDriverManager.setup(WebDriverManager.java:277)



Caused by: java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format
at sun.security.ssl.TrustManagerFactoryImpl.engineInit(TrustManagerFactoryImpl.java:74)
at javax.net.ssl.TrustManagerFactory.init(TrustManagerFactory.java:250)
at org.apache.hc.core5.ssl.SSLContextBuilder.loadTrustMaterial(SSLContextBuilder.java:201)
at io.github.bonigarcia.wdm.online.HttpClient.<init>(HttpClient.java:99)

任何人都对此有任何想法。

WebDriverManager 版本 4.0.0 ChromeBrowser 83 selenium 版本:3.14.0

4

0 回答 0