Skip to content

Commit

Permalink
Add webdriver-update:osx task to automatically pick correct version o…
Browse files Browse the repository at this point in the history
…f chrome
  • Loading branch information
benjaminapetersen committed Jan 20, 2020
1 parent f766a3c commit 312a0ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -208,6 +208,12 @@ If you your local Chrome version doesn't match the Chromedriver version from the
```
yarn run webdriver-update --versions.chrome=77.0.3865.120
```
Or if you are using OSX, run:
```
# automatically select the correct Chrome version
yarn run webdriver-update-osx
```


You can look up the version number you need at [omahaProxy.appspot.com](https://omahaproxy.appspot.com/).

Expand Down
1 change: 1 addition & 0 deletions frontend/package.json
Expand Up @@ -18,6 +18,7 @@
"test": "jest",
"debug-test": "node --inspect-brk node_modules/.bin/jest --runInBand",
"webdriver-update": "webdriver-manager update --gecko=false",
"webdriver-update-osx": "CHROME_VERSION=$(/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --version) && yarn webdriver-update --versions.chrome=\"${CHROME_VERSION}\"",
"test-gui-tap": "TAP=true yarn run test-gui",
"test-gui-openshift": "yarn run test-suite --suite crud --params.openshift true",
"test-gui": "yarn run test-suite --suite all",
Expand Down

0 comments on commit 312a0ef

Please sign in to comment.