selenium: [π Bug]: ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790
What happened?
System: webdriver_manager == 4.0.0 (latest) Chrome driver == 115.0.5790.110 (latest) Windows 11 & 10 Description: webdriver_manager canβt automatically pull the latest chrome driver and it raises this error
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790
How can we reproduce the issue?
chrome_options = Options()
chrome_options.add_argument('--log-level=3')
chrome_options.add_experimental_option("debuggerAddress", "127.0.0.1:9222")
driver = webdriver.Chrome(ChromeDriverManager().install(),options=chrome_options,)
driver.get("https://www.youtube.com/")
Relevant log output
File "c:\Users\malak\Desktop\Projects\Python\YoutubeController\src\YouTubeController\youtubecontroller.py", line 53, in __setup
driver = webdriver.Chrome(ChromeDriverManager().install(),options=chrome_options,)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\malak\AppData\Local\Programs\Python\Python311\Lib\site-packages\webdriver_manager\chrome.py", line 32, in install
driver_path = self._get_driver_path(self.driver)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\malak\AppData\Local\Programs\Python\Python311\Lib\site-packages\webdriver_manager\manager.py", line 23, in _get_driver_path
driver_version = driver.get_version()
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\malak\AppData\Local\Programs\Python\Python311\Lib\site-packages\webdriver_manager\driver.py", line 40, in get_version
return self.get_latest_release_version()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\malak\AppData\Local\Programs\Python\Python311\Lib\site-packages\webdriver_manager\driver.py", line 74, in get_latest_release_version
validate_response(resp)
File "C:\Users\malak\AppData\Local\Programs\Python\Python311\Lib\site-packages\webdriver_manager\utils.py", line 80, in validate_response
raise ValueError("There is no such driver by url {}".format(resp.url))
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_115.0.5790
Operating System
Mac OS
Selenium version
python 4.10.0
What are the browser(s) and version(s) where you see this issue?
Chrome
What are the browser driver(s) and version(s) where you see this issue?
Chrome driver 115
Are you using Selenium Grid?
No
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 35 (9 by maintainers)
4.11 is out now. Give it a try.
Yeah, the cool thing about selenium is that it can:
None of the other driver managers can do the 3rd thing, which is going to make everything much easier going forward.
@FattyMango