"cannot connect to chrome" on Linux after I deleted "/tmp/snap-private-tmp" #2579
-
I have been using SB for several months, for different clients, across different servers.
This code was working perfectly for me but Its 2nd time where my server's and now I started getting
I tried updating/reinstalling google-chrome but no use. I tried
I also tried this but same error
Here are results of few commands that proves Chrome is there but just Python not being able connect to it.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your Anyway, this is more of a Linux/Chrome configuration issue than a SeleniumBase one (you did mention your code was working before you made those changes). |
Beta Was this translation helpful? Give feedback.
Your
/usr/bin/google-chrome
call had a link to https://crbug.com/638180, which had a useful comment: https://issues.chromium.org/issues/40480798#comment106. So the first time it didn't work, it was because you improperly deleted a necessary directory that was being used by Chrome. Then you had issues because you reinstalled Chrome with different permissions from before (you need a non-root user). That Chromium issue comment had a link to https://code.visualstudio.com/remote/advancedcontainers/add-nonroot-user.Anyway, this is more of a Linux/Chrome configuration issue than a SeleniumBase one (you did mention your code was working before you made those changes).