Skip to content

Commit d16664b

Browse files
authored
Modify: Translation[EN]->[FR] webdriver: keyboard and webelement doc (#225) [deploy site]
1 parent 758b4e1 commit d16664b

File tree

3 files changed

+34
-51
lines changed

3 files changed

+34
-51
lines changed

docs_source_files/content/webdriver/_index.fr.md

+11-17
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,21 @@ chapter: true
44
weight: 5
55
---
66

7-
{{% notice info %}}
8-
<i class="fas fa-language"></i> Page being translated from
9-
English to French. Do you speak French? Help us to translate
10-
it by sending us pull requests!
11-
{{% /notice %}}
12-
137
# WebDriver
148

15-
WebDriver drives a browser natively, as a user would, either locally
16-
or on a remote machine using the Selenium server,
17-
marks a leap forward in terms of browser automation.
9+
WebDriver pilote un navigateur nativement, comme le ferait un utilisateur, soit localement
10+
ou sur une machine distante utilisant le serveur Selenium,
11+
marque un bond en avant en termes d'automatisation du navigateur.
1812

19-
Selenium WebDriver refers to both the language bindings
20-
and the implementations of the individual browser controlling code.
21-
This is commonly referred to as just _WebDriver_.
13+
Selenium WebDriver fait référence aux deux liaisons de langue
14+
et les implémentations du code de contrôle de navigateur individuel.
15+
Ceci est communément appelé simplement _WebDriver_.
2216

23-
Selenium WebDriver is a [W3C Recommendation](https://www.w3.org/TR/webdriver1/)
17+
Selenium WebDriver est une [recommandation du W3C](https://www.w3.org/TR/webdriver1/)
2418

25-
* WebDriver is designed as a simple
26-
and more concise programming interface.
19+
* WebDriver est conçu comme un simple
20+
et une interface de programmation plus concise.
2721

28-
* WebDriver is a compact object-oriented API.
22+
* WebDriver est une API orientée objet compacte.
2923

30-
* It drives the browser effectively.
24+
* Il pilote efficacement le navigateur.

docs_source_files/content/webdriver/keyboard.fr.md

+9-14
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@ title: "Clavier"
33
weight: 10
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-
Keyboard represents a KeyBoard event. KeyBoard actions are performed by using low-level
13-
interface which allows us to provide virtualized device input to the web browser.
6+
Le clavier représente un événement KeyBoard. Les actions du clavier sont effectuées à l'aide de bas niveau
7+
interface qui nous permet de fournir une entrée d'appareil virtualisé au navigateur Web.
148

159
## sendKeys
1610

17-
The sendKeys types a key sequence in DOM element even if modifier key sequence is encountered.
11+
SendKeys tape une séquence de touches dans l'élément DOM même si une séquence de touches de modification est rencontrée.
1812

1913
{{< code-tab >}}
2014
{{< code-panel language="java" >}}
@@ -113,7 +107,7 @@ fun main() {
113107

114108
## keyDown
115109

116-
The keyDown is used to simulate action of pressing a modifier key(CONTROL, SHIFT, ALT)
110+
Le keyDown est utilisé pour simuler l'action d'appuyer sur une touche de modification (CONTROL, SHIFT, ALT)
117111

118112
{{< code-tab >}}
119113
{{< code-panel language="java" >}}
@@ -229,7 +223,7 @@ fun main() {
229223

230224
## keyUp
231225

232-
The keyUp is used to simulate key-up (or) key-release action of a modifier key(CONTROL, SHIFT, ALT)
226+
Le keyUp est utilisé pour simuler l'action de relâchement (ou) de relâchement de touche d'une touche de modification (CONTROL, SHIFT, ALT)
233227

234228
{{< code-tab >}}
235229
{{< code-panel language="java" >}}
@@ -370,9 +364,10 @@ fun main() {
370364
{{< / code-tab >}}
371365

372366
## clear
373-
Clears the content of an editable element.
374-
This is only applied for the elements which is editable and interactable,
375-
otherwise selenium returns the error (invalid element state (or) Element not interactable)
367+
368+
Efface le contenu d'un élément modifiable.
369+
Ceci n'est appliqué qu'aux éléments modifiables et interactifs,
370+
sinon le sélénium renvoie l'erreur (état d'élément invalide (ou) élément non interactif)
376371

377372
{{< code-tab >}}
378373
{{< code-panel language="java" >}}

docs_source_files/content/webdriver/web_element.fr.md

+14-20
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,17 @@ title: "Web element"
33
weight: 9
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 %}}
6+
WebElement représente un élément DOM. Les WebElements peuvent être trouvés en recherchant
7+
racine du document à l'aide d'une instance WebDriver ou en recherchant sous une autre
8+
WebElement
119

12-
WebElement represents a DOM element. WebElements can be found by searching from the
13-
document root using a WebDriver instance, or by searching under another
14-
WebElement.
15-
16-
WebDriver API provides built-in methods to find the WebElements which are
17-
based on different properties like ID, Name, Class, XPath, CSS Selectors, link Text, etc.
10+
L'API WebDriver fournit des méthodes intégrées pour trouver les WebElements qui sont
11+
basé sur différentes propriétés comme ID, nom, classe, XPath, sélecteurs CSS, texte de lien, etc.
1812

1913
## Find Element
2014

21-
It is used to find an element and returns a first matching single WebElement reference,
22-
that can be used for future element actions
15+
Il est utilisé pour rechercher un élément et renvoie une première référence WebElement unique correspondante,
16+
qui peut être utilisé pour de futures actions d'élément
2317

2418
{{< code-tab >}}
2519
{{< code-panel language="java" >}}
@@ -99,8 +93,8 @@ searchBox.sendKeys("webdriver")
9993

10094
## Find Elements
10195

102-
Similar to 'Find Element', but returns a list of matching WebElements. To use a particular WebElement from the list,
103-
you need to loop over the list of elements to perform action on selected element.
96+
Similaire à "Rechercher un élément", mais renvoie une liste de WebElements correspondants. Pour utiliser un WebElement particulier de la liste,
97+
vous devez parcourir la liste des éléments pour effectuer une action sur l'élément sélectionné.
10498

10599
{{< code-tab >}}
106100
{{< code-panel language="java" >}}
@@ -224,8 +218,8 @@ fun main() {
224218

225219
## Find Element From Element
226220

227-
It is used to find a child element within the context of parent element.
228-
To achieve this, the parent WebElement is chained with 'findElement' to access child elements
221+
Il est utilisé pour rechercher un élément enfant dans le contexte de l'élément parent.
222+
Pour ce faire, le WebElement parent est chaîné avec 'findElement' pour accéder aux éléments enfants
229223

230224
{{< code-tab >}}
231225
{{< code-panel language="java" >}}
@@ -299,8 +293,8 @@ searchBox.sendKeys("webdriver")
299293

300294
## Find Elements From Element
301295

302-
It is used to find the list of matching child WebElements within the context of parent element.
303-
To achieve this, the parent WebElement is chained with 'findElements' to access child elements
296+
Il est utilisé pour rechercher la liste des WebElements enfants correspondants dans le contexte de l'élément parent.
297+
Pour ce faire, le WebElement parent est chaîné avec "findElements" pour accéder aux éléments enfants
304298

305299
{{< code-tab >}}
306300
{{< code-panel language="java" >}}
@@ -437,7 +431,7 @@ namespace FindElementsFromElement {
437431

438432
## Get Active Element
439433

440-
It is used to track (or) find DOM element which has the focus in the current browsing context.
434+
Il est utilisé pour suivre (ou) trouver l'élément DOM qui a le focus dans le contexte de navigation actuel.
441435

442436
{{< code-tab >}}
443437
{{< code-panel language="java" >}}

0 commit comments

Comments
 (0)