Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to use uc=True in SeleniumBase (Chrome not reachable, session not created) #3917

benfrankie started this conversation in General
Discussion options

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!

You must be logged in to vote

Replies: 1 comment

Comment options

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.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /