我已经设置了 http_proxy 和 https_proxy,还设置了系统变量,但是当我尝试获取最新的 chrome 驱动程序和 selenium 服务器时仍然出现以下错误:
C:\Users\Administrator\AppData\Roaming\npm>webdriver-manager update
events.js:160
throw er; // Unhandled 'error' event
^
Error: unable to verify the first certificate
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1092:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:610:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)
操作系统:win7 32位
量角器:5.1.1
节点:6.10.2
爪哇:1.7.79
npm:3.10.10