現在のセットアップでクロムのテストを正常に実行できますが、テストに他のブラウザーを追加できません。grunt モジュール 'grunt-protractor-runner' を使用して e2e テストを実行しています。
grunt-protractor-runner モジュールが multiCapabilities をサポートしていることはわかっているので、一見すると、ターゲット構成ファイルを編集して multiCapabilities を含め、chromeOnly を false に更新するという単純なタスクを期待できます。
multiCapabilities を渡すことはできますが、chromeOnly オプションを「false」に変更してテストを正常に実行することはできません。Firefox と Chrome を multiCapabilities に渡すときの私のエラー、
WebDriver [launcher]ランナープロセスの2つのインスタンスを実行すると、エラーコード: 8で終了しました
------------------------------------
PID: 7812 (capability: chrome #1)
------------------------------------
Using the selenium server at http://localhost:4444/wd/hub
C:\Project\node_modules\protractor\node_modules\selenium- webdriver\lib\webdriver\promise.js:1702
throw error;
^
------------------------------------
PID: 6444 (capability: firefox #1)
------------------------------------
Using the selenium server at http://localhost:4444/wd/hub
C:\Project\node_modules\protractor\node_modules\selenium-webdriver\lib\webdriver\promise.js:1702
throw error;
^
grunt-protractor-runner 1.0.1、分度器 0.23.1、chromedriver 2.9、および selenium-server-standalone 2.41.0 を使用して、Windows 7 でセットアップを実行しています。