Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:41601 from session not created: This version of ChromeDriver only supports Chrome version 107 Current browser version is 109.0.5410.0 #885

Closed
ghost opened this issue Nov 11, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 11, 2022

Traceback (most recent call last):
File "/home/xor7/browser.py", line 2, in
driver = uc.Chrome()
File "/home/xor7/.local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 409, in init
super(Chrome, self).init(
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in init
super().init(
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 106, in init
super().init(
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 288, in init
self.start_session(capabilities, browser_profile)
File "/home/xor7/.local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 602, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 381, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
self.error_handler.check_response(response)
File "/home/xor7/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:41601
from session not created: This version of ChromeDriver only supports Chrome version 107
Current browser version is 109.0.5410.0
Stacktrace:
#0 0x55aaabd6a463
#1 0x55aaabb2e8d8
#2 0x55aaabb5b3c6
#3 0x55aaabb5182f
#4 0x55aaabb95802
#5 0x55aaabb952af
#6 0x55aaabb8d443
#7 0x55aaabb5e3c5
#8 0x55aaabb5f531
#9 0x55aaabdbcdce
#10 0x55aaabdc0192
#11 0x55aaabda193e
#12 0x55aaabdc1103
#13 0x55aaabd94d85
#14 0x55aaabde20a8
#15 0x55aaabde2239
#16 0x55aaabdfd492
#17 0x7f33e848cded start_thread

@andriuy000
Copy link

if you use profile path?

@ghost
Copy link
Author

ghost commented Nov 11, 2022

fixed by adding version_main=108 to uc.Chrome()

@ghost ghost closed this as completed Nov 11, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant