Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Chrome 115: "sbase get chromedriver" fails with "Could not find chromedriver to download!" #1969

Closed
mdmintz opened this issue Jul 20, 2023 · 1 comment · Fixed by #1970
Assignees
Labels
bug Uh oh... Something needs to be fixed requirements

Comments

@mdmintz
Copy link
Member

mdmintz commented Jul 20, 2023

If Chrome 115: "sbase get chromedriver" fails with "Could not find chromedriver to download!"

This is related to #1968 and #1966, where new drivers are no longer on https://chromedriver.chromium.org/downloads.

Until the Chromium Team resolves https://bugs.chromium.org/p/chromium/issues/detail?id=1466427, it's best to set chromedriver 114 as the maximum version for download, (and to keep using it for Chrome 115+).

Note: This only impacts running sbase get chromedriver on the command-line. SeleniumBase tests already have the fix from https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.16.1 to automatically take this into account.


sbase get chromedriver

* Unable to download driver! Retrying in 3s...

** Unable to download driver! Retrying in 5s...

Traceback (most recent call last):
  File "/Users/michael/.virtualenvs/sbase/bin/sbase", line 33, in <module>
    sys.exit(load_entry_point('seleniumbase', 'console_scripts', 'sbase')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/michael/github/SeleniumBase/seleniumbase/console_scripts/run.py", line 1007, in main
    sb_install.main()
  File "/Users/michael/github/SeleniumBase/seleniumbase/console_scripts/sb_install.py", line 362, in main
    raise Exception("Could not find chromedriver to download!\n")
Exception: Could not find chromedriver to download!
@mdmintz mdmintz added bug Uh oh... Something needs to be fixed requirements labels Jul 20, 2023
@mdmintz mdmintz self-assigned this Jul 20, 2023
@mdmintz
Copy link
Member Author

mdmintz commented Jul 20, 2023

This was resolved in 4.16.2 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.16.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh oh... Something needs to be fixed requirements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant