Skip to content

Commit a02bbf0

Browse files
committed
change references from seleniumhq.github.io to selenium.dev
1 parent 955ecf8 commit a02bbf0

File tree

1 file changed

+14
-26
lines changed

1 file changed

+14
-26
lines changed

website_and_docs/content/documentation/getting_started/installing_selenium_libraries.en.md

+14-26
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,23 @@ First you need to install the Selenium bindings for your automation project.
1111
The installation process for libraries depends on the language you choose to use.
1212

1313
### Java
14-
Installation of Selenium libraries for Java can be done using Maven.
15-
Add the _selenium-java_ dependency in your project pom.xml:
14+
Installation of Selenium libraries for Java is accomplished using a build tool.
15+
16+
For Maven, add the _selenium-java_ dependency in your project `pom.xml` file:
1617

1718
```xml
1819
<dependency>
1920
<groupId>org.seleniumhq.selenium</groupId>
2021
<artifactId>selenium-java</artifactId>
21-
<version>4.X</version>
22+
<version>4.0.0</version>
2223
</dependency>
2324
```
2425

25-
The _selenium-java_ dependency supports running your automation
26-
project with all Selenium supported browsers. If you want to run tests
27-
only in a specific browser, you can add the dependency for that browser
28-
in your _pom.xml_ file.
29-
For example, you should add following dependency in your _pom.xml_
30-
file to run your tests only in Firefox:
31-
32-
```xml
33-
<dependency>
34-
<groupId>org.seleniumhq.selenium</groupId>
35-
<artifactId>selenium-firefox-driver</artifactId>
36-
<version>4.X</version>
37-
</dependency>
38-
```
39-
40-
In a similar manner, if you want to run tests only in Chrome,
41-
you should add the following dependency:
26+
For Gradle, add the _selenium-java_ dependency in your project `build.gradle` file:
4227

43-
```xml
44-
<dependency>
45-
<groupId>org.seleniumhq.selenium</groupId>
46-
<artifactId>selenium-chrome-driver</artifactId>
47-
<version>4.X</version>
48-
</dependency>
28+
```text
29+
dependencies {
30+
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.4.0'
4931
```
5032

5133
### Python
@@ -79,6 +61,12 @@ Installation of Selenium libraries for Ruby can be done using gem:
7961
gem install selenium-webdriver
8062
```
8163

64+
Or add it to your `Gemfile`:
65+
66+
```rb
67+
gem 'selenium-webdriver', '~> 4.0'
68+
```
69+
8270
### JavaScript
8371
Installation of Selenium libraries for JavaScript can be done using npm:
8472

0 commit comments

Comments
 (0)