Open ravibabu1408 opened 11 months ago
Use the latest version of Serenity/Selenium and make sure there are no old chromedriver binaries on your path.
In this file from webdrivermanager, the latest version is 114: https://github.com/bonigarcia/webdrivermanager/blob/master/src/main/resources/versions.properties
Maybe related to this? When using 119 i got the error: chromedriver cannot be initiated
We no longer use WebDriver. Make sure you have the latest versions of Serenity and Selenium will download the correct driver for you.
Oh, I didnt know. Great to hear. Thanks
I think something wrong in Serenity version 4.0.21, because when I use this version my latest chrome 119.0.6045.160 is not opened and get error: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
If use Serenity version 4.0.19 then no issue and same Chrome is working fine!
I can also confirm that Serenity version 4.0.21 is failing to launch the Chrome browser
See fixes above. This is an environment/configuration issue, not a Serenity issue
hi I have similar issue with chrome 121 Error Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 121.0.6167.184
Using serenity
<artifactId>webdrivermanager</artifactId>
<version>5.5.0</version>
Any solutions ? @ravibabu1408
Below error is displayed while launching chrome browser in serenity bdd
Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not creat ed: This version of ChromeDriver only supports Chrome version 114 Current browser version is 119.0.6045.124 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
I have downloaded latest chromedriver but still this error is occured. Can anyone please help how to fix it?