Ok, so the solution is a bit weird.
I moved the
Chromedriverbinary from
/opt/google/(where
Google Chrome
is installed itself) to
/opt/, updated the symlink and it’s working now!
Compared to the question itself, these two lines of pre solve the issue:
sudo mv /opt/google/chromedriver /opt/sudo ln -fs /opt/chromedriver /usr/local/bin/chromedriver
And now I am able to run the following Python pre:
from selenium import webdriverbrowser = webdriver.Chrome()browser.get('http://www.google.com')Chrome starts and everything.
The following line on the old Selenium docs
page inspired me to
check and eventually to change the
Chromedriverlocation:
For Linux systems, the ChromeDriver expects /usr/bin/google-chrome to be a
symlink to the actual Chrome binary.



