Can't update chromedriver and seleniumrelease

前端 未结 4 1286
借酒劲吻你
借酒劲吻你 2020-12-20 13:17

I try to work with protractor. So I followed a small tutorial and the first thing I did:

npm install -g protractor

This will install two co

4条回答
  •  半阙折子戏
    2020-12-20 13:30

    It happened the same to me. The problem was due to a proxy we are using inside our company.

    webdriver-manager has a parameter which is --proxy, where you can specify the proxy which the webdriver command should use. The proxy configuration which you might have in nmp (.npmrc file in your users dicrectory) won't work for webdriver-manager.

    Here the example which worked out for me.

    webdriver-manager --proxy http://yourproxy:8080 update
    

提交回复
热议问题