I'm using webdriver to config a router, but when I run script:
from selenium import webdriver
self.driver = webdriver.Chrome()
It opens chrome and no response, and then raise exception:
chrome not reachable.
My computer has two network cards, when I forbbiden one, it works well.
I don't konw why, please help!
Another case it's when some package is not installed like dbus-X11:
Just install it with:
In pure case "chrome not reachable" means that Chrome binary can be started but debugging port is not reachable.
Debugging port is set by argument: --remote-debugging-port=12582
In my case it happens because some issues with sand-box:
When I run /opt/google/chrome/chrome-sandbox
From url above I can't get what I'll to do to fix SUID SandBox, but it can be switched off by Chrome arg --disable-setuid-sandbox(sometimes with --no-sandbox):