Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 5b9c915

Browse files
committed
Updated README to contain both 2 and 3 information
1 parent cfc07fc commit 5b9c915

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

README.md

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,35 @@ SeleniumLibrary is a web testing library for Robot Framework that leverages
88
the Selenium libraries from the [Selenium](http://docs.seleniumhq.org) project.
99

1010
Version number follows Selenium's version numbers (first 3 numbers), and 4th number is reserved for e.g. issue fixes.
11+
12+
This Java version of SeleniumLibrary exists because of easier dependency management when Robot Framework is used in Java-projects. Library is a quite direct alternative to the Python SeleniumLibrary.
13+
14+
Usage, Selenium 2
15+
-----------------
16+
If you are using the robotframework-maven-plugin you can
17+
use this library by adding the following dependency to
18+
your pom.xml:
19+
20+
<dependency>
21+
<groupId>com.github.hi_fi</groupId>
22+
<artifactId>robotframework-seleniumlibrary-java</artifactId>
23+
<version>2.53.1.1</version>
24+
<scope>test</scope>
25+
</dependency>
26+
27+
If you cannot use the robotframework-maven-plugin you can use the
28+
[jar-with-dependencies](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1-jar-with-dependencies.jar),
29+
which contains all required libraries.
30+
1131
* More information about this library can be found in the
1232
[Keyword Documentation](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1.html).
1333
* For keyword completion in RIDE you can download this
1434
[Library Specs](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1.xml)
1535
and place it in your PYTHONPATH.
1636

17-
This Java version of SeleniumLibrary exists because of easier dependency management when Robot Framework is used in Java-projects.
18-
19-
Usage
20-
-----
2137

22-
This library is a quite direct alternative to the Python SeleniumLibrary.
38+
Usage, Selenium 3
39+
-----------------
2340

2441
If you are using the robotframework-maven-plugin you can
2542
use this library by adding the following dependency to
@@ -28,17 +45,19 @@ your pom.xml:
2845
<dependency>
2946
<groupId>com.github.hi_fi</groupId>
3047
<artifactId>robotframework-seleniumlibrary-java</artifactId>
31-
<version>2.53.1.1</version>
48+
<version>3.5.3.0</version>
3249
<scope>test</scope>
3350
</dependency>
3451

3552
If you cannot use the robotframework-maven-plugin you can use the
36-
[jar-with-dependencies](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1-jar-with-dependencies.jar),
53+
[jar-with-dependencies](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/3.5.3.0/robotframework-seleniumlibrary-3.5.3.0-jar-with-dependencies.jar),
3754
which contains all required libraries.
3855

39-
If you want more control and feel adventurous you could you use this
40-
[jar](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/2.53.1.1/robotframework-seleniumlibrary-2.53.1.1.jar)
41-
and provide all required libraries from this [list](DEPENDENCIES.md) on your own.
56+
* More information about this library can be found in the
57+
[Keyword Documentation](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/3.5.3.0/robotframework-seleniumlibrary-3.5.3.0.html).
58+
* For keyword completion in RIDE you can download this
59+
[Library Specs](http://search.maven.org/remotecontent?filepath=com/github/hi-fi/robotframework-seleniumlibrary/3.5.3.0/robotframework-seleniumlibrary-3.5.3.0.xml)
60+
and place it in your PYTHONPATH.
4261

4362
Differences
4463
-----------

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@
126126
<artifactId>commons-exec</artifactId>
127127
<version>1.3</version>
128128
</dependency>
129+
<dependency>
130+
<groupId>com.machinepublishers</groupId>
131+
<artifactId>jbrowserdriver</artifactId>
132+
<version>0.17.9</version>
133+
</dependency>
129134
</dependencies>
130135

131136
<build>

0 commit comments

Comments
 (0)