2016-05-16 52 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

相關問題