Skip to content
Advertisement

org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start. Build info: version: ‘unknown’, revision: ‘unknown’

While everything works on my machine, when I bring the project in which I’m working on my server, Selenium and Chromedriver won’t boot, causing the following exception

JavaScript

Everything works like this: the user, for launching the crawler, is supposed to click a button. Then, with JavaScript, I make an Ajax call to a specific method of a specific class that holds my crawler for the initialization, which is as it follows

JavaScript

As I said, everything works fine on my machine but not on server side. Searching the web helped me understanding that whoever had this problem fixed it just by upgrading the old instance of chromium on the server and that’s what I did (and I also downloaded the latest ChromeDriver available) but that didn’t solve anything. I was also thinking in trying another browser for seeing if it might change something. Does anybody have some clues with which I might work?

Advertisement

Answer

This error message…

JavaScript

…implies that the ChromeDriver was unable to initiate/spawn a new WebBrowser i.e. Chrome Browser session.

Your base exception is the org.openqa.selenium.WebDriverException as your program Timed out waiting for driver server to start because of the following reason:

  • Your JDK version is 1.8.0_92 which is pretty ancient.

So there is a clear mismatch between the JDK v8u92 and current Selenium Client v3.14.0.


Solution

Advertisement