'Why Webdriver manager doesn't recognize current version of Google Chrome correctly?

I use the next code to initialize Selenium Webdriver for Google Chrome in Pycharm (working using Python):

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))

But it gives me the error:

ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_45.0.2454

The problem is that Webdriver manager doesn't recognize current version of Google Chrome correctly:

====== WebDriver manager ======
Current google-chrome version is 45.0.2454
Get LATEST chromedriver version for 45.0.2454 google-chrome

And I've got the latest one. What's the problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source