Skip to content

Commit

Permalink
Add support for the newer chromedriver download origin
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmintz committed Feb 15, 2024
1 parent e7ca064 commit 580e705
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions seleniumbase/console_scripts/sb_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,12 @@ def main(override=None, intel_for_uc=None, force_uc=None):
"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/"
"%s/%s/%s" % (use_version, platform_code, file_name)
)
major_ch_ver = use_version.split(".")[0]
if major_ch_ver.isnumeric() and int(major_ch_ver) >= 121:
download_url = (
"https://storage.googleapis.com/chrome-for-testing-public/"
"%s/%s/%s" % (use_version, platform_code, file_name)
)
url_request = None
if not found_chromedriver:
url_req = requests_get(last)
Expand Down

0 comments on commit 580e705

Please sign in to comment.