I was using the following code in selenium Python:
options = webdriver.ChromeOptions()
options.add_argument('--start-maximized')
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(service=Service(), options=options)
Everything was running fine but Suddenly I see the following error after upgrading google chrome.
The chromedriver version cannot be discovered

I am using selenium 4.14.0 version.
How do i solve this problem?
It's probably because you are using an old version of selenium. So you may need to upgrade your selenium package for this to work:
pip install --upgrade selenium
I upgraded to selenium 4.11.2 which worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With