File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1515
1616import os
1717import platform
18- import requests
18+ # import requests
1919import shutil
2020import sys
2121import tarfile
@@ -90,13 +90,13 @@ def main():
9090 latest_version = "2.40"
9191 download_url = ("http://chromedriver.storage.googleapis.com/"
9292 "%s/%s" % (latest_version , file_name ))
93- print ('\n Locating the latest version of Chromedriver...' )
94- if not requests .get (download_url ).ok :
95- # If there's a problem with the latest Chromedriver, fall back
96- fallback_version = "2.40"
97- download_url = ("http://chromedriver.storage.googleapis.com/"
98- "%s/%s" % (fallback_version , file_name ))
99- print ("Found %s" % download_url )
93+ # print('\nLocating the latest version of Chromedriver...')
94+ # if not requests.get(download_url).ok:
95+ # # If there's a problem with the latest Chromedriver, fall back
96+ # fallback_version = "2.40"
97+ # download_url = ("http://chromedriver.storage.googleapis.com/"
98+ # "%s/%s" % (fallback_version, file_name))
99+ # print("Found %s" % download_url)
100100 elif name == "geckodriver" or name == "firefoxdriver" :
101101 latest_version = "v0.21.0"
102102 if "darwin" in sys_plat :
You can’t perform that action at this time.
0 commit comments