2017-08-17 25 views
0

工作,我需要使用webdriver的经理来执行:webdriver的经理并不落后代理

webdriver-manager update --proy=https://proxy.company.com:8080 

,但得到

webdriver-manager: using local installed version 12.0.6 
events.js:160 
     throw er; // Unhandled 'error' event 
    ^

Error: read ECONNRESET 
    at exports._errnoException (util.js:1020:11) 
    at TLSWrap.onread (net.js:568:26) 

即代理命令似乎仍不为12.0.6工作了我。

+0

可能是代理服务器不正常工作?试试这个'NODE_DEBUG = cluster,net,http,fs,tls,module webdriver-manager update --proy = https://proxy.company.com:8080',看看你是否看到任何日志 –

+0

不幸的是,这将不会显示任何更多的日志比以上已经看到 –

+0

另外我注意到你有类型'proy'而不是'proxy'。我希望这只是一个错字粘贴? –

回答

0

什么工作对我来说是除了加入--ignore_ssl到--proxy

webdriver-manager update --proxy=http://someproxy:8080 --ignore_ssl