-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewhereThe answer/solution already exists somewherequestionSomeone is looking for answersSomeone is looking for answers
Description
Hello
Currently having an interesting issue running on of the examples "as is" but with my own url: examples/cdp_mode/raw_res_sb.py
I seem to be unable to get Chrome to open with the following errors:
start error
X11 display failed! Will use regular xvfb!
...
File "/home/<user>/Documents/Dev/inventory/venv/lib/python3.12/site-packages/selenium/webdriver/remote/errorhandler.py", line 232, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:9222
from chrome not reachable
...
From previous posts ive also followed up on having all X11 requirements install which i seem to have based on the outcome of all commands found in the links provided
Additionally, even when using xvfb=False
it doesnt give the X11 error but it failed with the same traceback error.
I honestly dont need chrome to show up, just need to get a given event.response
from the site, but neither of the modes above seem to be working for me
Thanks in advance 🙏
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewhereThe answer/solution already exists somewherequestionSomeone is looking for answersSomeone is looking for answers