Reputation: 15
I added to pom.xml file
<dependency>
<groupId>org.jboss.arquillian.selenium</groupId>
<artifactId>selenium-bom</artifactId>
<version>2.53.0</version>
</dependency>
But in java file when I declare Webdriver driver; There is any proposition to import a libriary
Upvotes: 0
Views: 683
Reputation: 11
Selenium Java. All available versions. Selenium Java
Selenium BOM (Bill of Materials) This project intends to improve Selenium dependency management by specifying POM managing dependency versions for all Selenium artifacts.
Description of Selenium BOM + how to use it.
Upvotes: 1
Reputation: 3235
You can use below dependency. The dependency that you are using isn't correct.
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.1.0</version>
</dependency>
Upvotes: 1