Digitful
Digitful

Reputation: 63

How to update selenium-webdriver's version?

I'm using Protractor 5.4.2. How do I update to the latest available selenium-webdriver version, i.e. 4.0.0-alpha-5.

Upvotes: 1

Views: 6567

Answers (2)

Raj Kumar
Raj Kumar

Reputation: 788

You can install 4.0.0-alpha.5 directly with the following command

npm i selenium-webdriver

But I would not recommend you to update alone selenium-webdriver because something may break.

Upvotes: 1

Vaggelis Mavropoulos
Vaggelis Mavropoulos

Reputation: 46

For Maven as build automation tool in your project you can simply add in your pom:

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.0.0-alpha-2</version>
</dependency>

You can have a look: dependencies build tool

Upvotes: 0

Related Questions