You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the remote debugging port is saved into user_data_dir files so it would use the same port in every boot, but the undetected-chromedriver would use a random free port instead, which causes this issue.
My workaround is, explictly explicitly set the port using: self.driver = uc.Chrome(user_data_dir=user_data_path, debug=True, port=54805)
I am facing a problem similar with #1567
My Chrome version:
my code:
When I run the code, what happens is:
Message: unknown error: cannot connect to chrome at 127.0.0.1:60256
ExceptionWhat I found is that the debug port from
chrome://version/
is different from the port of the Exception message:--remote-debugging-port=54805
cannot connect to chrome at 127.0.0.1:60256
Is it the reason why the code crashes?
The text was updated successfully, but these errors were encountered: