Skip to content

Modify: Translated [EN] -> FR: Webdriver-> Keybaord and webelement doc #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2020
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
28 changes: 11 additions & 17 deletions docs_source_files/content/webdriver/_index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,21 @@ chapter: true
weight: 5
---

{{% notice info %}}
<i class="fas fa-language"></i> Page being translated from
English to French. Do you speak French? Help us to translate
it by sending us pull requests!
{{% /notice %}}

# WebDriver

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

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

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

* WebDriver is designed as a simple
and more concise programming interface.
* WebDriver est conçu comme un simple
et une interface de programmation plus concise.

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

* It drives the browser effectively.
* Il pilote efficacement le navigateur.
23 changes: 9 additions & 14 deletions docs_source_files/content/webdriver/keyboard.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,12 @@ title: "Clavier"
weight: 10
---

{{% notice info %}}
<i class="fas fa-language"></i> Page being translated from
English to French. Do you speak French? Help us to translate
it by sending us pull requests!
{{% /notice %}}

Keyboard represents a KeyBoard event. KeyBoard actions are performed by using low-level
interface which allows us to provide virtualized device input to the web browser.
Le clavier représente un événement KeyBoard. Les actions du clavier sont effectuées à l'aide de bas niveau
interface qui nous permet de fournir une entrée d'appareil virtualisé au navigateur Web.

## sendKeys

The sendKeys types a key sequence in DOM element even if modifier key sequence is encountered.
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.

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -113,7 +107,7 @@ fun main() {

## keyDown

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

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -229,7 +223,7 @@ fun main() {

## keyUp

The keyUp is used to simulate key-up (or) key-release action of a modifier key(CONTROL, SHIFT, ALT)
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)

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -370,9 +364,10 @@ fun main() {
{{< / code-tab >}}

## clear
Clears the content of an editable element.
This is only applied for the elements which is editable and interactable,
otherwise selenium returns the error (invalid element state (or) Element not interactable)

Efface le contenu d'un élément modifiable.
Ceci n'est appliqué qu'aux éléments modifiables et interactifs,
sinon le sélénium renvoie l'erreur (état d'élément invalide (ou) élément non interactif)

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down
34 changes: 14 additions & 20 deletions docs_source_files/content/webdriver/web_element.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,17 @@ title: "Web element"
weight: 9
---

{{% notice info %}}
<i class="fas fa-language"></i> Page being translated from
English to French. Do you speak French? Help us to translate
it by sending us pull requests!
{{% /notice %}}
WebElement représente un élément DOM. Les WebElements peuvent être trouvés en recherchant
racine du document à l'aide d'une instance WebDriver ou en recherchant sous une autre
WebElement

WebElement represents a DOM element. WebElements can be found by searching from the
document root using a WebDriver instance, or by searching under another
WebElement.

WebDriver API provides built-in methods to find the WebElements which are
based on different properties like ID, Name, Class, XPath, CSS Selectors, link Text, etc.
L'API WebDriver fournit des méthodes intégrées pour trouver les WebElements qui sont
basé sur différentes propriétés comme ID, nom, classe, XPath, sélecteurs CSS, texte de lien, etc.

## Find Element

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

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

## Find Elements

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

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -224,8 +218,8 @@ fun main() {

## Find Element From Element

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

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

## Find Elements From Element

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

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -437,7 +431,7 @@ namespace FindElementsFromElement {

## Get Active Element

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

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down