RahulShaw/LinuxAcademy-DL

error selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81

Closed this issue · 2 comments

hey guys I am not able to download any help please thanks, see error below thanks

Executing for https://linuxacademy.com/cp/modules/view/id/392
Traceback (most recent call last):
File "driver.py", line 68, in
options=chrome_options)
File "C:\Users\karlo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in init
desired_capabilities=desired_capabilities)
File "C:\Users\karlo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\karlo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\karlo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\karlo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81

Update:
I had to downgrade Chrome from 84 version to 81 and it started downloading
any way to have the latest Chrome version and not affect this script?

thanks

Please get the latest ChromeDriver from https://chromedriver.chromium.org/downloads and keep it in sync with your Chrome version