-1

节点版本:10.13.0
npm 版本:6.4.1

运行测试的输出:

$ npm run e2e

> protractor e2e/protractor.conf.js

[15.11.04] W/launcher - You have specified both capabilitties and multicapabilities. This will result in capabilities being ignored
[15.11.04] W/launcher - Running 1 Instances of Webdriver
[15.11.04] W/launcher - Ignoring uncaught error: Server terminated early with status 0
[15.11.08] W/launcher - BUG: Launcher exited with 1 tasks remaining
npm verb stack Error: 'protractor test/protractor.conf.js'
npm verb stack Exit status 100
  • Chrome 导航器版本:87.0.4280

  • Selenium 服务器单机版:

npm install http://path/selenim-server-3.141.59.tgz

  • 铬驱动程序版本:

npm install http://path/chromdriver-2.46.0.tgz

4

1 回答 1

0

我看到的第一件事是

您已指定能力和多能力。这将导致功能被忽略

确保它不会导致您的问题

其次,chromdriver-2.46.0.tgz 不是控制 chrome 87.0.4280 的正确版本。

检查此页面以获取您需要的 chromdriver 版本https://chromedriver.storage.googleapis.com/LATEST_RELEASE_87.0.4280

于 2020-11-20T20:21:09.067 回答