I am implementing a scraper with selenium and currently I’m upgrading it with docker and threading. The first thing that I did is the logic of the threading, which works fine with the local chromedriver (the one with the path C:/Users/…/chromedriver.exe). But when I try to set the webdriver to "self.chrome = webdriver.Remote("http://localhost:4444/wd/hub", DesiredCapabilities.CHROME)", it gives the following error:
Exception has occurred: WebDriverException Message: chrome not reachable Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: '326cbc59d3bb', ip: '172.17.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '5.4.72-microsoft-standard-WSL2', java.version: '1.8.0_292' Driver info: driver.version: unknown
As I said, when I change the webdriver it works just fine. I’ve being looking for an answer and I’ve seen that it might be the compatibility between the version of the driver and my Chrome-app. However it seems that it’s not the problem:
My chrome version – 91.0.4472.114
The webdriver release version in the github – in the file https://github.com/SeleniumHQ/docker-selenium/blob/trunk/NodeChrome/Dockerfile is specified that is the latest version in the lines 45/46 (I think).
So currently I have no idea what’s going on to be honest,
Thank you very much in advance
Source: Docker Questions