Forums

Subject: Inquiry about Chromium and ChromeDriver Compatibility on PythonAnywhere

Subject: Inquiry about Chromium and ChromeDriver Compatibility on PythonAnywhere

Dear PythonAnywhere Support Team,

I hope this message finds you well. I am writing to inquire about the compatibility of Chromium and ChromeDriver versions on my PythonAnywhere account, as I am experiencing issues with Selenium in my project.

Currently, the version of Chromium installed on my server is 131.0.6778.204, and I am using ChromeDriver version 131.0.6778.85. However, I am encountering errors related to version incompatibility when running my Selenium scripts. These errors are preventing my project from functioning correctly, and I would appreciate your assistance in resolving this issue.

I have a few specific questions:

  1. Are Chromium version 131.0.6778.204 and ChromeDriver version 131.0.6778.85 compatible? If not, what is the recommended ChromeDriver version for this Chromium version?
  2. If these versions are incompatible, is it possible to update the Chromium version on my server to a more recent one, such as 137.0.7151.68 (Stable), which is available in the Chrome for Testing releases? This would allow me to use a matching ChromeDriver version and avoid compatibility issues.
  3. If updating Chromium is not possible, could you please advise on alternative solutions? For example, is there a way to manually install a specific version of ChromeDriver that is compatible with the current Chromium version?

I am on a paid plan, and my PythonAnywhere username is DmitriiZ. I would be happy to provide any additional information if needed.

Thank you in advance for your time and assistance. I look forward to your response and appreciate your help in resolving this matter.

Best regards,
Dmitrii Z.

From the versions you've listed (Chromium 131.0.6778.204 and ChromeDriver 131.0.6778.85), they should be compatible.These are the same versions we’ve installed and tested with Selenium in our environment.

To help us understand exactly what's going wrong on your end, could you please share a minimal reproducible example of the code you're using?

Specifically, it would be very helpful to know:

  • What version of Selenium you're using (pip show selenium in the same context where you ran the selenium script e.g. workon if you run your script in a virtual environment, can confirm this).
  • How you're launching Chrome/Chromium with Selenium (including any ChromeOptions or flags you're passing).
  • The error messages or stack traces you're seeing when the script fails.

As a starting point, I recommend trying the working example from our help page:

Let me know if that works for you.