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 15
15
16
16
import os
17
17
import platform
18
- import requests
18
+ # import requests
19
19
import shutil
20
20
import sys
21
21
import tarfile
@@ -90,13 +90,13 @@ def main():
90
90
latest_version = "2.40"
91
91
download_url = ("http://chromedriver.storage.googleapis.com/"
92
92
"%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)
100
100
elif name == "geckodriver" or name == "firefoxdriver" :
101
101
latest_version = "v0.21.0"
102
102
if "darwin" in sys_plat :
You can’t perform that action at this time.
0 commit comments