Skip to content

Commit

Permalink
Extra Dutch translations (#346)
Browse files Browse the repository at this point in the history
* Add Dutch translation

* Add notice

* Add extra Dutch translations

* Dutch (#2)

* Extra translation

* Dutch (#3)

* Remove notice

* Dutch (#4)

* Remove notice
  • Loading branch information
cambiph authored and diemol committed Oct 17, 2019
1 parent 05bc644 commit 0fc8bc7
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ it by sending us pull requests!

### Localisatie van elementen

One of the most fundamental techniques to learn when using WebDriver is
how to find elements on the page. WebDriver offers a number of built-in selector
types, amongst them finding an element by its ID attribute:
Een van de meest fundamentele technieken die nodig zijn om WebDriver onder
de knie te krijgen, is het lokaliseren van elementen op een pagina.
WebDriver beschikt over een aantal ingebouwde selector types, een van hen
is het lokaliseren van een element op basis van zijn ID:

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand All @@ -34,17 +35,16 @@ const cheese = await driver.findElement(By.id('cheese'));
{{< / code-panel >}}
{{< / code-tab >}}

As seen in the example, locating elements in WebDriver is done on the
`WebDriver` instance object. The `findElement(By)` method returns
another fundamental object type, the `WebElement`.
In het bovenstaande voorbeeld kan je zien dat het lokaliseren van de elementen
gedaan word op een instantie van het `WebDriver` object. De methode
`findElement(By)` geeft een ander fundamenteel object type terug: `WebElement`.

* `WebDriver` represents the browser
* `WebElement` represents a particular DOM node
(a control, e.g. a link or input field, etc.)
* `WebDriver` stelt de browser voor
* `WebElement` stelt een bepaalde DOM node voor (een link, input veld etc)

Once you have a reference to a web element that's been “found”,
you can narrow the scope of your search
by using the same call on that object instance:
Wanneer een web element gevonden is, kan je op basis van dat element een nieuwe
opzoeking starten. Deze zal dan binnen de scope van het gevonden element gedaan
worden:

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand All @@ -69,9 +69,11 @@ const cheddar = await cheese.findElement(By.id('cheddar'));
{{< / code-panel >}}
{{< / code-tab >}}

You can do this because both the _WebDriver_ and _WebElement_ types
implement the [_SearchContext_](//seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/SearchContext.html>SearchContext)
interface. In WebDriver, this is known as a _role-based interface_.
Dit is mogelijk omdat zowel _WebDriver_ als _WebElement_ de [_SearchContext_](//seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/SearchContext.html>SearchContext)
interface implementeren. Binnen WebDriver staat dit bekend als een _role-based interface_.


. In WebDriver, this is known as a _role-based interface_.
Role-based interfaces allow you to determine whether a particular
driver implementation supports a given feature. These interfaces are
clearly defined and try to adhere to having only a single role of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
---
title: "Performing actions on the AUT*"
title: "Acties op de AUT*"
weight: 4
---

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

You can set an element's text using the sendKeys method as follows:
Je kan de tekst van een element invullen aan de hand van de sendKeys methode:

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand All @@ -34,9 +28,9 @@ await driver.findElement(By.name('name')).sendKeys(name);
{{< / code-panel >}}
{{< / code-tab >}}

Some web applications use JavaScript libraries to add drag-and-drop
functionality. The following is a basic example of dragging one
element onto another element:
Sommige applicaties gebruiken Javascript libraries om drag-en-drop
functionaliteit toe te voegen. Hieronder vind je een simpel voorbeeld
waarbij een element versleept word naar een ander element:

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down Expand Up @@ -67,9 +61,9 @@ await actions.dragAndDrop(source, target).perform();
{{< / code-panel >}}
{{< / code-tab >}}

### Clicking on an element
### Op een element klikken

You can click on an element using the click method:
Je kan op een element klikken door middel van de click methode:

{{< code-tab >}}
{{< code-panel language="java" >}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
---
title: "Third party drivers and plugins"
title: "Externe drivers en plugins"
weight: 2
---

{{% notice info %}}
<i class="fas fa-language"></i> Page being translated from
English to Dutch. Do you speak Dutch? Help us to translate
it by sending us pull requests!
{{% /notice %}}
Selenium ondersteunt externe plugins. Hieronder vind je plugins die ontwikkeld
zijn en onderhouden worden door externe partijen. Meer informatie omtrent
het ontwikkelen van je eigen plugin of het publiceren ervan kan je de documentatie
raadplegen.

Selenium can be extended through the use of plugins. Here are a number of
plugins created and maintained by third parties. For more information on how
to create your own plugin or have it listed, consult the docs.
Deze plugins worden niet ondersteund, onderhouden, gehost of aanbevolen door
het Selenium project. De plugins die hieronder opgelijst staan, dragen niet altijd
de Apache License v2.0. Sommige plugins vallen onder een andere gratis of open source
licentie; anderen zijn enkel beschikbaar onder patent. Vragen in verband met licenties
van plugins dienen gericht te worden aan de respectievelijke ontwikkelaars.

Please note that these plugins are not supported, maintained, hosted, or
endorsed by the Selenium project. In addition, be advised that the plugins
listed below are not necessarily licensed under the Apache License v.2.0.
Some of the plugins are available under another free and open source software
license; others are only available under a proprietary license. Any questions
about plugins and their license of distribution need to be raised with their
respective developer(s).

| Browser | Latest version | Changelog | Issues | Wiki |
| Browser | Laatste versie | Changelog | Problemen | Wiki |
| -------- | ---------- | ---------- | ---------- | ---------- |
| [Google ChromeDriver](//sites.google.com/a/chromium.org/chromedriver/) | [2.29](//chromedriver.storage.googleapis.com/index.html) | [changelog](//chromedriver.storage.googleapis.com/2.29/notes.txt) | [issues](//bugs.chromium.org/p/chromedriver/issues/list) | [wiki](//github.com/SeleniumHQ/selenium/wiki/ChromeDriver)

0 comments on commit 0fc8bc7

Please sign in to comment.