You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, testers! I updated Chrome version 114 to 116. My test didn`t open. It showed the following message:
net.thucydides.core.webdriver.DriverConfigurationError: WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
WebDriver reported the following message: 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 116.0.5845.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
My serenity properties are configurated like this
webdriver.driver=chrome
webdriver.autodownload=true
Did somebody resolve this problem?
The text was updated successfully, but these errors were encountered:
The issue is related to the dependency on 'webdrivermanager', though 'webdrivermanager' is not the issue. The issue you describe has been resolved in v5.50 (for JDK8) and later versions (JDK11) of 'webdrivermanager'. Scan the issues at https://github.com/bonigarcia/webdrivermanager/issues (open and closed), to get an idea of the problem. Long story short, the urls to download the drivers moved from v116 of chrome.
Option 1.
In your pom.xml add a dependency to webdrivermanager. This overrides the current version used by Serenity:
Option 2. Neither of the updates above are required.
Download the drivers manually (either to the default location of 'wdm.cachePath', or specify a location on the command line using the same property), and set -Dwdm.** properties on the command line for the appropriate binary + driver version (e.g. wdm.chromeDriverVersion / wdm.chromeVersion).
Review the webdrivermanager class > 'io.github.bonigarcia.wdm.config.Config' class for which wdm.** options to use.
Summary:
Both of these options worked for us. There may be other options to try. We used option 2. until v5.5.0 of webdrivermanager was available, then reverted to option 1.
Hi, testers! I updated Chrome version 114 to 116. My test didn`t open. It showed the following message:
net.thucydides.core.webdriver.DriverConfigurationError: WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
WebDriver reported the following message: 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 116.0.5845.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
My serenity properties are configurated like this
webdriver.driver=chrome
webdriver.autodownload=true
Did somebody resolve this problem?
The text was updated successfully, but these errors were encountered: