Skip to content

Commit

Permalink
Bug fix: TMMA-482: Update URL for downloading compatible chromedriver…
Browse files Browse the repository at this point in the history
… for later versions of chrome
  • Loading branch information
asset-web committed Nov 10, 2023
1 parent c3a3a0c commit 8f494a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ def make_virtualenv(env="dev", configure_apache=False, clone_repo=False, branch=
google_chrome_version = caller('google-chrome --version').strip("Google Chrome ")
chrome_driver_version = google_chrome_version[:google_chrome_version.rindex(".")]
version = urllib2.urlopen('https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_'+chrome_driver_version).read()
caller('wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + version + '/linux64/chrome-linux64.zip')
caller('wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/' + version + '/linux64/chromedriver-linux64.zip')
caller('ls -l')
caller('rm -f chromedriver')
caller('unzip -o -j chrome-linux64.zip')
caller('unzip -o chromedriver_linux64.zip')
caller('ls -l')
caller('rm chrome-linux64.zip*')
caller('rm chromedriver_linux64.zip*')
caller('ls -l')


Expand Down

0 comments on commit 8f494a9

Please sign in to comment.