richardyc/Chrome-GPT

Selenium error on Chrome version

Opened this issue · 1 comments

When starting chromeGPT, I get the following error:

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 111
Current browser version is 113.0.5672.63 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

You could try adding these 2 lines inside selenium.py file. It could help you update new version of Chrome.

from webdriver_manager.chrome import ChromeDriverManager

## Line 46
self.driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)