Skip to content

Commit f7d18ef

Browse files
harsha509diemol
andauthored
Modify: Translating [EN]->[FR] Remote webdriver server (#252) [deploy site]
Co-authored-by: Diego Molina <[email protected]>
1 parent 7768692 commit f7d18ef

File tree

4 files changed

+51
-56
lines changed

4 files changed

+51
-56
lines changed

docs_source_files/content/remote_webdriver/remote_webdriver_server.es.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ a URL, but it's also possible to host the page in a lightweight
6868
container, such as Jetty configured entirely in code. Steps to do this
6969
follow.
7070

71-
Download the `selenium-server.zip` and unpack. Put the JARs on the
72-
CLASSPATH. Create a new class called `AppServer`. Here, I'm using
71+
* Download the `selenium-server.zip` and unpack
72+
* Put the JARs on the CLASSPATH
73+
* Create a new class called `AppServer`. Here, I'm using
7374
Jetty, so you'll need to [download](//www.eclipse.org/jetty/download.html)
7475
that as well:
7576

docs_source_files/content/remote_webdriver/remote_webdriver_server.fr.md

+42-50
Original file line numberDiff line numberDiff line change
@@ -3,75 +3,67 @@ title: "Le serveur Remote WebDriver"
33
weight: 1
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> Page being translated from
8-
English to French. Do you speak French? Help us to translate
9-
it by sending us pull requests!
10-
{{% /notice %}}
11-
12-
The server will always run on the machine with the browser you want to
13-
test. The server can be used either from the command line or through code
6+
Le serveur fonctionnera toujours sur la machine avec le navigateur que vous souhaitez
7+
tester. Le serveur peut être utilisé à partir de la ligne de commande ou via du code
148
configuration.
159

10+
## Démarrage du serveur à partir de la ligne de commande
1611

17-
## Starting the server from the command line
18-
19-
Once you have downloaded `selenium-server-standalone-{VERSION}.jar`,
20-
place it on the computer with the browser you want to test. Then, from
21-
the directory with the jar, run the following:
12+
Une fois que vous avez téléchargé `selenium-server-standalone-{VERSION}.jar`,
13+
placez-le sur l'ordinateur avec le navigateur que vous souhaitez tester. Ensuite, à partir de
14+
le répertoire avec le pot, exécutez ce qui suit:
2215

2316
```shell
2417
java -jar selenium-server-standalone-{VERSION}.jar
2518
```
2619

27-
## Considerations for running the server
28-
29-
The caller is expected to terminate each session properly, calling
30-
either `Selenium#stop()` or `WebDriver#quit`.
20+
## Considérations pour exécuter le serveur
3121

32-
The selenium-server keeps in-memory logs for each ongoing session,
33-
which are cleared when `Selenium#stop()` or `WebDriver#quit` is called. If
34-
you forget to terminate these sessions, your server may leak memory. If
35-
you keep extremely long-running sessions, you will probably need to
36-
stop/quit every now and then (or increase memory with -Xmx jvm option).
22+
L’appelant doit terminer correctement chaque session, appelant
23+
soit `Selenium#stop()` ou `WebDriver#quit`.
3724

25+
Le 'Selenium-Server' conserve des journaux en mémoire pour chaque session en cours,
26+
qui sont effacés lorsque `Selenium#stop()` ou `WebDriver#quit` est appelé. Si
27+
vous oubliez de mettre fin à ces sessions, votre serveur peut perdre de la mémoire. Si
28+
vous gardez des sessions extrêmement longues, vous devrez probablement
29+
arrêtez/quittez de temps en temps (ou augmentez la mémoire avec l'option -Xmx jvm).
3830

39-
## Timeouts (from version 2.21)
31+
## Timeouts (à partir de la version 2.21)
4032

41-
The server has two different timeouts, which can be set as follows:
33+
Le serveur a deux délais d'expiration différents, qui peuvent être définis comme suit:
4234

4335
```shell
4436
java -jar selenium-server-standalone-{VERSION}.jar -timeout=20 -browserTimeout=60
4537
```
4638

4739
* browserTimeout
48-
* Controls how long the browser is allowed to hang (value in seconds).
40+
* Contrôle la durée pendant laquelle le navigateur est autorisé à se bloquer (valeur en secondes).
4941
* timeout
50-
* Controls how long the client is allowed to be gone
51-
before the session is reclaimed (value in seconds).
52-
53-
The system property `selenium.server.session.timeout`
54-
is no longer supported as of 2.21.
55-
56-
Please note that the `browserTimeout`
57-
is intended as a backup timeout mechanism
58-
when the ordinary timeout mechanism fails,
59-
which should be used mostly in grid/server environments
60-
to ensure that crashed/lost processes do not stay around for too long,
61-
polluting the runtime environment.
62-
63-
64-
## Configuring the server programmatically
65-
66-
In theory, the process is as simple as mapping the `DriverServlet` to
67-
a URL, but it's also possible to host the page in a lightweight
68-
container, such as Jetty configured entirely in code. Steps to do this
69-
follow.
70-
71-
Download the `selenium-server.zip` and unpack. Put the JARs on the
72-
CLASSPATH. Create a new class called `AppServer`. Here, I'm using
73-
Jetty, so you'll need to [download](//www.eclipse.org/jetty/download.html)
74-
that as well:
42+
* Contrôle la durée pendant laquelle le client est autorisé à partir
43+
  avant la récupération de la session (valeur en secondes).
44+
45+
La propriété système `selenium.server.session.timeout`
46+
n'est plus pris en charge à partir de la version 2.21.
47+
48+
Veuillez noter que le `browserTimeout`
49+
est conçu comme un mécanisme de temporisation de sauvegarde
50+
lorsque le mécanisme de temporisation ordinaire échoue,
51+
qui devrait être utilisé principalement dans des environnements de grille/serveur
52+
pour garantir que les processus bloqués/perdus ne restent pas trop longtemps,
53+
polluant l'environnement d'exécution.
54+
55+
## Configuration du serveur par programmation
56+
57+
En théorie, le processus est aussi simple que de mapper le `DriverServlet` à
58+
une URL, mais il est également possible d'héberger la page dans un format léger
59+
conteneur, tel que Jetty configuré entièrement en code. Étapes à suivre pour ce faire
60+
suivre.
61+
62+
* Téléchargez `selenium-server.zip` et décompressez.
63+
* Placez les JAR sur le CLASSPATH.
64+
* Créez une nouvelle classe appelée `AppServer`. Ici, j'utilise
65+
Jetty, vous devrez donc [télécharger](//www.eclipse.org/jetty/download.html)
66+
cela aussi:
7567

7668
```java
7769
import org.mortbay.jetty.Connector;

docs_source_files/content/remote_webdriver/remote_webdriver_server.nl.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ a URL, but it's also possible to host the page in a lightweight
6868
container, such as Jetty configured entirely in code. Steps to do this
6969
follow.
7070

71-
Download the `selenium-server.zip` and unpack. Put the JARs on the
72-
CLASSPATH. Create a new class called `AppServer`. Here, I'm using
71+
* Download the `selenium-server.zip` and unpack.
72+
* Put the JARs on the CLASSPATH.
73+
* Create a new class called `AppServer`. Here, I'm using
7374
Jetty, so you'll need to [download](//www.eclipse.org/jetty/download.html)
7475
that as well:
7576

docs_source_files/content/remote_webdriver/remote_webdriver_server.zh-cn.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ a URL, but it's also possible to host the page in a lightweight
6767
container, such as Jetty configured entirely in code. Steps to do this
6868
follow.
6969

70-
Download the `selenium-server.zip` and unpack. Put the JARs on the
71-
CLASSPATH. Create a new class called `AppServer`. Here, I'm using
70+
* Download the `selenium-server.zip` and unpack.
71+
* Put the JARs on the CLASSPATH.
72+
* Create a new class called `AppServer`. Here, I'm using
7273
Jetty, so you'll need to [download](//www.eclipse.org/jetty/download.html)
7374
that as well:
7475

0 commit comments

Comments
 (0)