聚合物测试-l chrome:无法从https://download.microsoft.com请求标头

时间:2018-06-01 16:19:43

标签: selenium polymer polymer-cli

我遵循简单的步骤来运行聚合物测试,但我遇到问题(https://www.polymer-project.org/1.0/docs/tools/tests)。 stackoverflow中几乎没有关于类似问题的回答。

Polymer Tests fail waiting for the driver server to start

Polymer2.0 - polymer testing is failing with error

Polymer Web Component Tester Unable to connect to selenium

如果相关,我使用的是Windows 7和聚合物2。

当我跑步时:

1 - 聚合物测试-l铬

在尝试访问微软时导致错误。好吧,非常奇怪,因为我只指定了chrome

Error: Could not request headers from https://download.microsoft.com/download/D/
4/1/D417998A-58EE-4EFE-A7CC-39EF9E020768/MicrosoftWebDriver.exe: Error: getaddri
nfo ENOTFOUND download.microsoft.com download.microsoft.com:443

2 - 聚合物测试--skip-selenium-install

\u00276.1\u0027, java.version: \u00271.8.0_172\u0027\nDriver info: driver.versi
on: unknown","error":"session not created"},"status":33}
   at C:\Users\D-CA69TO\AppData\Roaming\npm\node_modules\polymer-cli\node_modul
es\web-component-tester\runner\steps.js:170:27
   at Generator.next (<anonymous>)
   at fulfilled (C:\Users\D-CA69TO\AppData\Roaming\npm\node_modules\polymer-cli
\node_modules\web-component-tester\runner\steps.js:4:58)
   at <anonymous>
   at process._tickCallback (internal/process/next_tick.js:188:7)

0 个答案:

没有答案