1

I am trying to use Selenium for Chrome web browser automation using Python 3.11.4. My Google Chrome version is "115.0.5790.110 (Official Build) (64-bit)". I go to https://sites.google.com/chromium.org/driver/ to download chromedriver. This links to the availability matrix: https://googlechromelabs.github.io/chrome-for-testing/.

Screenshot of the availability matrix

The availability matrix appears to say there is no stable Chrome webdriver for version 115.0.5790.110. Is this assumption correct?

I tried downloading webdriver from "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.110/win64/chromedriver-win64.zip", but the link doesn't work.

I also tried installing an older Chrome (Chromium) version, but that seemed cause other problems - since it is not actually Chrome, I wasn't sure how to point the webdriver to it.

From reading a similar post, it looks like running an older Chrome version and setting it to not update is the solution. If so, is there a guide for this? How do I deal with differences between Chrome and Chromium, and the fact that Chromium doesn't seem to actually get installed.

Sumeet B
  • 11
  • 3

1 Answers1

0

If you are using Chrome version 115 or newer you have to check the Chrome for Testing availability dashboard which provides convenient JSON endpoints for specific ChromeDriver version downloading.


Selenium Manager

With the availability of Selenium v4.6 and above you don't need to explicitly download ChromeDriver, GeckoDriver or any browser drivers as such. You just need to ensure that the desired browser client i.e. , or is installed.

Selenium Manager is the new tool integrated with that would help to get a working webdriver version to run Selenium out of the box. Beta 1 of Selenium Manager will configure the browser drivers for Chrome, Firefox, and Edge if they are not present on the PATH.


Solution

As a solution you can simply do:

from selenium import webdriver

driver = webdriver.Chrome()
driver.get("https://www.google.com/")
undetected Selenium
  • 183,867
  • 41
  • 278
  • 352