我已经卸载/重新安装了 nodejs、protractor、selenium、webdriver-manager,但错误仍然存在。
- 我还应该卸载或更新什么?
- 有人可以提供后续步骤或纠正问题的方向吗?
- 我在哪里获得本地证书?
我的命令:
1. webdriver-manager update --ignore_ssl --proxy http://password@proxy.path.com:8080
2. webdriver-managerstart ---(错误详情如下)
当前全局安装版本:
量角器版本 5.4.3
webdriver-manager 12.1.7
selenium 独立版本可用:3.141.59
chromedriver 可用版本:80.0.3987.106
geckodriver 可用版本:v0.26.0
Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
at TLSSocket.emit (events.js:311:20)
at TLSSocket._finishInit (_tls_wrap.js:916:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12) {
code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
}
[13:56:46] I/start - java -Dwebdriver.gecko.driver=C:\Users\USERNAME\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\geckodriver-v0.26.0.exe -jar C:\Users\USERNAME\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-3.141.59.jar -port 4444
[13:56:46] I/start - seleniumProcess.pid: 2884
13:56:46.834 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
13:56:46.957 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
2020-03-17 13:56:47.035:INFO::main: Logging initialized @513ms to org.seleniumhq.jetty9.util.log.StdErrLog
13:56:47.373 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
13:56:48.375 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444