@@ -3,18 +3,15 @@ title: "Bibliotheken installieren"
3
3
weight : 1
4
4
---
5
5
6
- {{% notice info %}}
7
- <i class =" fas fa-language " ></i > Diese Seite wird von Englisch
8
- auf Deutsch übersetzt. Sprichst Du Deutsch? Hilf uns die Seite
9
- zu übersetzen indem Du uns einen Pull Reqeust schickst!
10
- {{% /notice %}}
11
-
12
- First you need to install the Selenium bindings for your automation project.
13
- The installation process for libraries depends on the language you choose to use.
6
+ Zu Beginn ist es notwendig das die Selenium Bindings für Dein
7
+ Automationsprojekt installiert werden. Der Installationsprozess ist von der
8
+ gewählten Programmiersprache abhängig.
9
+
14
10
15
11
## _ Java_
16
- Installation of Selenium libraries for Java can be done using Maven.
17
- Add the _ selenium-java_ dependency in your project pom.xml:
12
+ Die Installation der Selenium Bibliotheken für Java kann mit Hilfe von
13
+ Maven erfolgen. Füge in Deinem Projekt in die pom.xml die _ selenium-java_
14
+ dependecy hinzu.
18
15
19
16
``` xml
20
17
<dependency >
@@ -24,12 +21,13 @@ Add the _selenium-java_ dependency in your project pom.xml:
24
21
</dependency >
25
22
```
26
23
27
- The _ selenium-java_ dependency supports running your automation
28
- project with all Selenium supported browsers. If you want to run tests
29
- only in a specific browser, you can add the dependency for that browser
30
- in your _ pom.xml_ file.
31
- For example, you should add following dependency in your _ pom.xml_
32
- file to run your tests only in Firefox:
24
+ Mit der _ selenium-java_ dependency ist es möglich Tests laufen zu lassen
25
+ in allen von Selenium unterstützen Browsern. Falls Du Test nur in einem
26
+ spezifischen Browser ausführen möchtest, ist es möglich auch nur die
27
+ dependecy für den gewählten Browser in der _ pom.xml_ hinzuzufügen.
28
+
29
+ Wenn Du zum Beispiel Tests nur in Firefox ausführen möchtest, füge folgende
30
+ dependecy in die _ pom.xml_ hinzu:
33
31
34
32
``` xml
35
33
<dependency >
@@ -39,8 +37,8 @@ file to run your tests only in Firefox:
39
37
</dependency >
40
38
```
41
39
42
- In a similar manner, if you want to run tests only in Chrome,
43
- you should add the following dependency :
40
+ Analog wenn Du die Tests nur in Chrome ausführen möchtest, musst Du folgende
41
+ dependecy hinzufügen :
44
42
45
43
``` xml
46
44
<dependency >
@@ -51,21 +49,22 @@ you should add the following dependency:
51
49
```
52
50
53
51
## _ Python_
54
- Installation of Selenium libraries for Python can be done using pip :
52
+ Die Installation der Selenium Bibliotheken for Phython can mittels _ pip _ erfolgen :
55
53
56
54
``` shell
57
55
pip install selenium
58
56
```
59
57
60
- Alternatively you can download the [ PyPI source archive] ( https://pypi.org/project/selenium/#files )
61
- (selenium-x.x.x.tar.gz) and install it using _ setup.py_ :
58
+ Alternativ kannst Du den [ PyPI Quellcode] ( https://pypi.org/project/selenium/#files )
59
+ (selenium-x.x.x.tar.gz) downloaden und diesen mittels _ steup.py_ installieren:
60
+
62
61
63
62
``` shell
64
63
python setup.py install
65
64
```
66
65
67
66
## _ C#_
68
- Installation of Selenium libraries for C# can be done using NuGet :
67
+ Die Installation der Selenium Bibliotheken für C# kann mittels _ NuGet _ erfolgen :
69
68
70
69
``` shell
71
70
# Using package manager
@@ -75,19 +74,20 @@ dotnet add package Selenium.WebDriver
75
74
```
76
75
77
76
## _ Ruby_
78
- Installation of Selenium libraries for Ruby can be done using gem :
77
+ Die Selenium Bibliotheken für Ruby können mittels _ gem _ installiert werden :
79
78
80
79
``` shell
81
80
gem install selenium-webdriver
82
81
```
83
82
84
83
## _ JavaScript_
85
- Installation of Selenium libraries for JavaScript can be done using npm :
84
+ Die Installation der Selenium Bibliotheken für JavaScript kann mit npm durchgeführt werden :
86
85
87
86
``` shell
88
87
npm install selenium-webdriver
89
88
```
90
89
91
90
## _ Kotlin_
92
- Due to missing native language bindings for Kotlin, you have to use the Java Bindings, e.g. with maven [ Java] ( #java )
91
+ Da es noch keine Implementierung für Kotlin gibt, müssen die Java Bibliothken verwendet werden,
92
+ diese können analg zu [ Java] ( #java ) mittels maven eingebunden werden.
93
93
0 commit comments