Skip to content Skip to sidebar Skip to footer

Webdriverexception: Message: Unknown Error: Chrome Failed To Start: Exited Abnormally With Chromedriver Chrome And Selenium On Debian Server

i try to run the selenium webdriver on a debian server 8.11 and get an error. Java: java version '1.7.0_221', OpenJDK Runtime Environment (IcedTea 2.6.18) Webdriver: ChromeDriver (

Solution 1:

This error message...

selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed tostart: exited abnormally
  (Driver info: chromedriver=2.9.248304,platform=Linux 4.9.0-0.bpo.9-amd64 x86_64)

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

Your main issue is the incompatibility between the version of the binaries you are using as follows:

  • You are using chromedriver=2.9
  • Release Notes of chromedriver=2.9 clearly mentions the following :

Supports Chrome v31-34

  • Presumably you are using chrome= 76.0
  • Release Notes of ChromeDriver v76.0 clearly mentions the following :

Supports Chrome version 76

  • Your Selenium Client version is unknown to us.
  • You mentioned about JDK version is 1.7.0_221 which is pretty ancient.

So there is a clear mismatch between the ChromeDriver v2.9 and the Chrome Browser v76.0


Solution

Ensure that:

  • Selenium is upgraded to current levels Version 3.141.59.
  • ChromeDriver is updated to current ChromeDriver v76.0 level.
  • Chrome is updated to current Chrome Version 76.0 level. (as per ChromeDriver v76.0 release notes)
  • Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.
  • If your base Web Client version is too old, then uninstall it through Revo Uninstaller and install a recent GA and released version of Web Client.
  • Take a System Reboot.
  • Execute your @Test as non-root user.
  • Always invoke driver.quit() within tearDown(){} method to close & destroy the WebDriver and Web Client instances gracefully.

References

You can find a couple of relevant discussions in:

Post a Comment for "Webdriverexception: Message: Unknown Error: Chrome Failed To Start: Exited Abnormally With Chromedriver Chrome And Selenium On Debian Server"