-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Unable to use uc=True in SeleniumBase (Chrome not reachable, session not created) #3917
-
Hi,
After upgrading SeleniumBase, Selenium, and undetected-chromedriver to latest versions, I get this error when using SB(uc=True, headless=False):
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:9222 from chrome not reachable;
The same script works if I remove uc=True (but browser is detected).
My versions:
seleniumbase: 4.40.8
selenium: 4.34.2
undetected-chromedriver: 3.5.5
Chrome: 139
chromedriver: 139
I am using Windows 11, Python 3.11.3
Is there an incompatibility or a known workaround?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
I wasn't able to reproduce this issue. If Chrome is not in the default location, you can set it with the binary_location
arg.
Make sure you're running from the command-line. I've seen odd issues happen when running from PyCharm or other IDEs.
Beta Was this translation helpful? Give feedback.