Ranjithkumar
Ranjithkumar

Reputation: 1

Webdrivermanager for new Chrome version

How to get the updated chrome version i.e 94 .0.46 for my Maven dependency? In my Eclipse version 92 is still working. Even though I am changing webdrivermanager it shows sessionNotCreated ERROR enter image description here

Upvotes: 0

Views: 1427

Answers (2)

Jayanth Bala
Jayanth Bala

Reputation: 838

Use this code for use the perticular version,

Java :

WebDriverManager.chromedriver().driverVersion("92.0.4515.43").setup();
webDriver = new ChromeDriver();

Upvotes: 0

cruisepandey
cruisepandey

Reputation: 29362

This is latest we have :

<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
<dependency>
    <groupId>io.github.bonigarcia</groupId>
    <artifactId>webdrivermanager</artifactId>
    <version>4.4.3</version>
</dependency>

put it on your pom.xml and take the latest, should help you past the issue.

Upvotes: 1

Related Questions