Since the browser update yesterday my test won't start and I get the message:
There was an error creating WebDriver object for Chrome
I use Selenium Jupiter with the @TestTemplate and my browsers.json looks:
{
"browsers": [
[
{
"type": "chrome",
"version": "latest"
}
]
]
}
Here my dependencies:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.5.3</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>selenium-jupiter</artifactId>
<version>4.3.7</version>
<scope>test</scope>
</dependency>
I thought that the webdrivermanager would solve that version issues. My experience with Selenium is not so huge, because I use that only for a few weeks.
Is there a solution to keep up with the latest browser versions?
Selenium 4.14 has built in Selenium Manager. Just remove the
webdrivermanagerdependency