Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,41 +14,25 @@ First you need to install the Selenium bindings for your automation project.
The installation process for libraries depends on the language you choose to use.

### Java
Installation of Selenium libraries for Java can be done using Maven.
Add the _selenium-java_ dependency in your project pom.xml:
Installation of Selenium libraries for Java is accomplished using a build tool.
You can find the latest version on [Selenium Downloads](/downloads/) and see all available versions on
[Maven Repository](https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java)

For Maven, add the _selenium-java_ dependency in your project `pom.xml` file:

```xml
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.X</version>
<version>4.0.0</version>
</dependency>
```

The _selenium-java_ dependency supports running your automation
project with all Selenium supported browsers. If you want to run tests
only in a specific browser, you can add the dependency for that browser
in your _pom.xml_ file.
For example, you should add following dependency in your _pom.xml_
file to run your tests only in Firefox:

```xml
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>4.X</version>
</dependency>
```

In a similar manner, if you want to run tests only in Chrome,
you should add the following dependency:
For Gradle, add the _selenium-java_ dependency in your project `build.gradle` file:

```xml
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.X</version>
</dependency>
```text
dependencies {
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.0.0'
```

### Python
Expand Down Expand Up @@ -82,6 +66,12 @@ Installation of Selenium libraries for Ruby can be done using gem:
gem install selenium-webdriver
```

Or add it to your `Gemfile`:

```rb
gem 'selenium-webdriver', '~> 4.0'
```

### JavaScript
Installation of Selenium libraries for JavaScript can be done using npm:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Seleniumライブラリのインストール"
linkTitle: "Seleniumライブラリのインストール"
weight: 1
needsTranslation: true
description: >
Setting up the Selenium library for your favourite programming language.
aliases: [
Expand All @@ -10,16 +11,6 @@ aliases: [
]
---

{{% pageinfo color="warning" %}}
<p class="lead">
<i class="fas fa-language display-4"></i>
Page being translated from
English to Japanese. Do you speak Japanese? Help us to translate
it by sending us pull requests!
</p>
{{% /pageinfo %}}


最初にあなたの自動化プロジェクトにSeleniumのバインディングをインストールする必要があります。
インストールの方法は選択した言語によって異なります。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "Instalando bibliotecas do Selenium"
linkTitle: "Instalando bibliotecas do Selenium"
weight: 1
needsTranslation: true
description: >
Setting up the Selenium library for your favourite programming language.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Configurando a biblioteca Selenium para sua linguagem de programção favorita

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translation to portuguese from the "Setting up the Selenium library for your favourite programming language."

aliases: [
Expand All @@ -10,15 +11,6 @@ aliases: [
]
---

{{% pageinfo color="warning" %}}
<p class="lead">
<i class="fas fa-language display-4"></i>
Page being translated from
English to Portuguese. Do you speak Portuguese? Help us to translate
it by sending us pull requests!
</p>
{{% /pageinfo %}}

Primeiro você precisa instalar as ligações Selenium para seu projeto de automação.
O processo de instalação de bibliotecas depende da linguagem que você escolher usar.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: "安装 Selenium 库"
linkTitle: "安装 Selenium 库"
weight: 1
needsTranslation: true
description: >
为您喜爱的编程语言设置Selenium库.
aliases: [
Expand Down