File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ base_acceptance: &acceptance_default
101
101
- ./bin/yarn install --pure-lockfile
102
102
- python setup.py install_egg_info
103
103
- pip install -U -e ".[dev,tests,optional]"
104
- - wget -N "https://chromedriver.storage.googleapis.com/$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE_75)/chromedriver_linux64.zip" -P ~/
104
+ - |
105
+ CHROME_MAJOR_VERSION="$(dpkg -s google-chrome-stable | sed -nr 's/Version: ([0-9]+).*/\1/p')"
106
+ wget -N "https://chromedriver.storage.googleapis.com/$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROME_MAJOR_VERSION})/chromedriver_linux64.zip" -P ~/
105
107
- unzip ~/chromedriver_linux64.zip -d ~/
106
108
- rm ~/chromedriver_linux64.zip
107
109
- sudo install -m755 ~/chromedriver /usr/local/bin/
You can’t perform that action at this time.
0 commit comments