If you're using Maven, you will find all Selenium Maven artifacts directly in the central Maven repository here: http://repo1.maven.org/maven2/org/seleniumhq/selenium/
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
To get an overview of the different Selenium Maven artifacts, click on the thumbnail below to open a diagram, which shows the dependencies between the Selenium Maven artifacts as well as the most important classes/interfaces in those artifacts:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>3.141.59</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>htmlunit-driver</artifactId>
<version>2.33.2</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<version>3.141.59</version>
</dependency>
Now you can create a SeleniumServer instance yourself and start it.
Note: Be aware, that the selenium-server artifact has a dependency to the servlet-api-3.1.0 artifact, which you should exclude, if your project will be run inside a web application container.
Want to support the Selenium project? Learn more or view the full list of sponsors.
All rights reserved, Software Freedom Conservancy