2016-05-16 123 views
1

我试图设置Intellij来调试我的量角器测试,但是我收到了一个对我来说没有意义的错误。 (不是什么错误的说法,但它为什么跟我说这个。)量角器调试在IntelliJ中失败

首先,我按照说明在这里:How to debug angular protractor tests in WebStorm 包括确保我加--harmony到节点的参数一致。

我然后试图运行脚本,并得到了以下错误信息:使用的是IntelliJ 2016节点

Error: No selenium server jar found at the specified location (/Users/x/Projects/v/node_modules/protractor/selenium/selenium-server-standalone-2.52.0.jar). Check that the version number is up to date. 

我然后执行

$ webdriver-manager update 
selenium standalone is up to date. 
chromedriver is up to date. 

我在与MacOS(酋长)已更新至6.0.0。

回答

1

你可能会需要使用特定项目webdriver-manager二进制:

$ cd /Users/x/Projects/v 
$ node_modules/protractor/bin/webdriver-manager update 
+0

权。我在......哦。我想我正在使用全球经理。谢谢!这似乎解决了这个问题。 – Machtyn

相关问题