seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5k stars 944 forks source link

"Warning: chromedriver update needed." (Chrome 115+) #1966

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

If Chrome >= 115: Warning: chromedriver update needed. Getting it now: always appears

Looks like, (starting with Chrome 115+), there's a new "Chrome for Testing" (https://developer.chrome.com/blog/chrome-for-testing/), which changed the chromedriver download location. What this means is that SeleniumBase needs to change the location where it looks for chromedriver (https://googlechromelabs.github.io/chrome-for-testing/). Since there's a +/-1 on matching drivers with browsers by version, you can have chromedriver 114 with Chrome 115, but as soon as Chrome 116 comes out, things will start breaking (not just warning messages). For reference, here's where chromedriver was downloaded through version 114: https://chromedriver.chromium.org/downloads.

⚠️ Once this is fixed, everyone will need to upgrade to the latest version of SeleniumBase for the Driver Manager to find the correct version of chromedriver to download. ⚠️

mdmintz commented 1 year ago

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