selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:9222 #2314
Labels
duplicate
The answer/solution already exists somewhere
external
Outside SeleniumBase's scope. / Ask somewhere else.
UC Mode / CDP Mode
Undetected Chromedriver Mode / CDP Mode
I have had SB (SeleniumBase) working pretty well with UC mode (without any virtualdisplay/xvfb) and I was getting an error "You are using a Chromium-based browser" when testing with https://pixelscan.net
So I decided to run command
sudo snap remove chromium
and then I started getting errorselenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:9222
Here is my most basic code, it works well with
uc=False
but it is not what I want.Tried commenting our
cap_string
Tried
sudo snap install chromium
Tried uninstalling and installing
undetected_chromedriver
againTried uninstalling and installing
seleniumbase
againI saw an issue on SB issues and also on https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues but those solutions/workarounds did not help.
The text was updated successfully, but these errors were encountered: