Skip to content

Commit ed9696e

Browse files
committed
For now, set the version of Chromedriver to install
1 parent ac6f501 commit ed9696e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

console_scripts/sb_install.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import os
1717
import platform
18-
import requests
18+
# import requests
1919
import shutil
2020
import sys
2121
import 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('\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)
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:

0 commit comments

Comments
 (0)