Forums

How to install a new version of Chrome

I need to install a new version of Chrome as the current installed version(90.0.4430.212) is not new enough to work with the Chrome driver I'm using with Selenium(undetected_chromedriver).

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:60249 from session not created: This version of ChromeDriver only supports Chrome version 108 Current browser version is 90.0.4430.212

I have followed this advice given in the README.md file of the undetected_chromedriver GitHub, but I am still encountering errors.

How do I update the Chrome version on Python Anywhere to version 108?

Before we get into this in details, could I ask why you need to use your own version of Chromedriver? The only combination we officially support is the versions of Chrome and Chromedriver that are pre-installed, but it there's a serious problem with those then we may be able to help more.

I was able to solve my problem. I was typing in the wrong browser version in the ChromeDriver constructor. Once I typed in the correct version, the errors went away.

Glad to hear that!