serenity-bdd / serenity-cucumber4-starter

48 stars 73 forks source link

Chromedriver could not be found #8

Open BartVanRaemdonck opened 5 years ago

BartVanRaemdonck commented 5 years ago

When you clone the project, and you try "mvn verify" or try to run it with an IDEA (IntelliJ). I get an error: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver

This is not what I should expect because in the serenity.conf file I read Define drivers for different platforms. Serenity will automatically pick the correct driver for the current platform So this is not the case ...

Picture 23

wakaleo commented 5 years ago

The chromedriver binaries need to be compatible with the latest version. They are now up to date with ChromeDriver 76. However since Chrome updates are automatic, you will need to update the binary yourself from time to time.