Reputation: 63
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
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
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