Skip to content

Commit 580e705

Browse files
committed
Add support for the newer chromedriver download origin
1 parent e7ca064 commit 580e705

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

seleniumbase/console_scripts/sb_install.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,12 @@ def main(override=None, intel_for_uc=None, force_uc=None):
498498
"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/"
499499
"%s/%s/%s" % (use_version, platform_code, file_name)
500500
)
501+
major_ch_ver = use_version.split(".")[0]
502+
if major_ch_ver.isnumeric() and int(major_ch_ver) >= 121:
503+
download_url = (
504+
"https://storage.googleapis.com/chrome-for-testing-public/"
505+
"%s/%s/%s" % (use_version, platform_code, file_name)
506+
)
501507
url_request = None
502508
if not found_chromedriver:
503509
url_req = requests_get(last)

0 commit comments

Comments
 (0)