Skip to content

Commit

Permalink
Fix/chromedriver version (#19)
Browse files Browse the repository at this point in the history
* fix(e2e): chromedriver version

Since chrome 56, webdriver update won't work properly. Found a fix by using chromedriver npm package and referencing it in protractor.config.js file as chromeDriver: './node_modules/chromedriver/lib/chromedriver/chromedriver',.

See : angular/protractor#3639 (comment)

angular/protractor#3639 (comment)

* fix(e2e): reset webdriver-update
  • Loading branch information
topheman authored Mar 10, 2017
1 parent aaa424c commit 0d682c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
node_modules.bak
.idea
build
*.log
*.log
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
env:
global:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"babel-preset-react": "^6.5.0",
"babel-preset-react-hmre": "^1.1.1",
"chai": "^3.5.0",
"chromedriver": "^2.27.3",
"css-loader": "^0.23.1",
"del": "^2.0.2",
"enzyme": "^2.2.0",
Expand Down
1 change: 1 addition & 0 deletions protractor.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ var specs = [
var config = {
framework: 'jasmine2',
specs: specs,
chromeDriver: './node_modules/chromedriver/lib/chromedriver/chromedriver',
onPrepare: function () {
browser.ignoreSynchronization = true;
/**
Expand Down

0 comments on commit 0d682c3

Please sign in to comment.