如何修复“错误:getaddrinfo ENOTFOUND selenium-release.storage.googleapis.com selenium-release.storage.googleapis.com:443”

时间:2019-05-16 10:54:47

标签: protractor webdriver-manager

我是量角器的新手。使用“ npm install -g量角器”进行安装后,当我尝试运行“ webdriver-manager update”命令时,出现以下错误。

命令提示符下的错误日志-

C:\ Users \ USER ## \ AppData \ Roaming \ npm> webdriver-manager更新

[15:50:38] E /开始-不存在Selenium Standalone。使用webdriver-manager更新--standalone

安装

C:\ Users \ USER ## \ AppData \ Roaming \ npm> webdriver-manager更新-独立 [15:50:54] I / config_source-curl -oC:\ Users \ USER ## \ AppData \ Roaming \ npm \ node_modules \ protractor \ node_modules \ webdriver-manager \ selenium \ standalone-response.xml https://selenium-release.storage.googleapis.com/ [15:50:54] I / config_source-curl -oC:\ Users \ USER ## \ AppData \ Roaming \ npm \ node_modules \ protractor \ node_modules \ webdriver-manager \ selenium \ chrome-response.xml https://chromedriver.storage.googleapis.com/

[15:50:54] I / config_source-curl -oC:\ Users ## \ USER \ AppData \ Roaming \ npm \ node_modules \ protractor \ node_modules \ webdriver-manager \ selenium \ gecko-response.json {{ 3}}

events.js:183

  throw er; // Unhandled 'error' event
  ^

错误:getaddrinfo ENOTFOUND selenium-release.storage.googleapis.com selenium-release.storage.googleapis.com:443

at errnoException (dns.js:50:10)

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

0 个答案:

没有答案