diff --git a/package.json b/package.json index d893ea1268..ec3f0303e5 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "karma-webpack": "1.7.0", "phantomjs": "^1.9.18", "phantomjs-polyfill": "0.0.1", - "protractor": "^3.0.0", + "protractor": "^2.5.1", "raw-loader": "0.5.1", "rimraf": "^2.4.4", "style-loader": "^0.13.0", diff --git a/protractor.conf.js b/protractor.conf.js index c70f502edc..8dd4971857 100644 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -32,6 +32,17 @@ exports.config = { browser.ignoreSynchronization = true; }, + /** + * For node v0.12.x + * + * One should install chromedriver locally with : ./node_modules/protractor/bin/webdriver-manager update --standalone + * + * Otherwise use the chromeDriver option to specify the path to external chromedriver if necessary + * + * Example : chromeDriver: '/usr/lib/node_modules/protractor/selenium/chromedriver' + */ + directConnect: true, + /** * Angular 2 configuration