ubuntu throws an error - org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary code example
Example: Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary
The given exception is misleading.
What it should say is "Chrome Browser is not installed"
This error happens becuase the ChromeDriver binary does not have
browser implementation; instead, it is a selenium wrapper that calls
Google Chrome
ANSWER:
Install Google Chrome on your machine and match versions between
ChromeDriver and Google Chrome