selenium: [π Bug]: Selenium uses a browser downloaded by Selenium Manager instead of the system one
What happened?
After upgrading to Selenium 4.13, my code started warning me that the chromedriver and chrome versions were not matching.
I made sure that my container had matching versions for the browser and webdriver I wanted to use
yum list --installed | grep "chrom"
chromedriver.x86_64 116.0.5845.96-1.el9 @epel
chromium.x86_64 116.0.5845.96-1.el9 @epel
chromium-common.x86_64 116.0.5845.96-1.el9 @epel
libchromaprint.x86_64 1.5.1-1.el9 @epel
After much head scratching, I found this page: https://www.selenium.dev/documentation/selenium_manager/#automated-browser-management It looks like newer version of Selenium come with selenium manager by default, and thereβs no way to stop Selenium from using the browser(s) managed and cached by Selenium Manager
How can we reproduce the issue?
N/A
Relevant log output
The chromedriver version (116.0.5845.96) detected in PATH at /usr/bin/chromedriver might not be compatible with the detected chrome version (117.0.5938.92); currently, chromedriver 117.0.5938.92 is recommended for chrome 117.*, so it is advised to delete the driver in PATH and retry
Operating System
Fedora 38 / CentOS Stream 9
Selenium version
4.13 / 4.11.2
What are the browser(s) and version(s) where you see this issue?
Chromium 116 / Chrome 117
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 116
Are you using Selenium Grid?
No
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 32 (16 by maintainers)
I created a new version of Selenium Manager to troubleshoot the warning message about
os error 13
. I believe it is not critical since the driver is found, but in any case, it would be nice to discover the cause.@lugi0: To trace it, please download the selenium-manager binary (for Linux) from here: selenium-manager_linux-x64
Please execute the following command in the shell using the uncompressed binary and share the output here. Thanks: