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

Commit 3dd28b3

Browse files
committed
Changed android and ios testing dependencies as provided so those are not included in fat-jar
Instructions how to take ios/android testing to use with Maven Fixes #62 Forcing to use Trusty image
1 parent 3c1e46e commit 3dd28b3

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: java
2+
dist: trusty
23

34
matrix:
45
include:

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ which contains all required libraries. Running of tests with this can be done wi
6060
and place it in your PYTHONPATH.
6161

6262
Usage, Selenium 4 (WIP)
63-
-----------------
63+
-----------------------
6464

6565
If you are using the robotframework-maven-plugin you can
6666
use this library by adding the following dependency to
@@ -75,14 +75,19 @@ your pom.xml:
7575

7676
If you cannot use the robotframework-maven-plugin you can use the
7777
[jar-with-dependencies](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/4.0.0-alpha-1.0/robotframework-seleniumlibrary-4.0.0-alpha-1.0-jar-with-dependencies.jar),
78-
which contains all required libraries. Running of tests with this can be done with command `java -jar robotframework-seleniumlibrary-4.0.0-alpha-1.0-jar-with-dependencies.jar <test location>`.
78+
which contains all required libraries except ios/android ones (Appium and Selendroid). Running of tests with this can be done with command `java -jar robotframework-seleniumlibrary-4.0.0-alpha-1.0-jar-with-dependencies.jar <test location>`.
7979

8080
* More information about this library can be found in the
8181
[Keyword Documentation](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/4.0.0-alpha-1.0/robotframework-seleniumlibrary-4.0.0-alpha-1.0.html).
8282
* For keyword completion in RIDE you can download this
8383
[Library Specs](https://repo1.maven.org/maven2/com/github/hi-fi/robotframework-seleniumlibrary/4.0.0-alpha-1.0/robotframework-seleniumlibrary-4.0.0-alpha-1.0.xml)
8484
and place it in your PYTHONPATH.
8585

86+
Testing IOS/Android browsers with library
87+
-----------------------------------------
88+
Pre-Selenium 4 fat-jar contains Appium and Selendroid that allow testing of IOS and Android browsers. Those are dropped in Selenium 4 -versions,
89+
so dependencies needs to be handles self with either Maven/Gradle or manually. If there's need to have fat-jar with those, please create issue about that.
90+
8691
Differences
8792
-----------
8893

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
<artifactId>selenium-java</artifactId>
114114
</exclusion>
115115
</exclusions>
116+
<scope>provided</scope>
116117
</dependency>
117118
<dependency>
118119
<groupId>io.appium</groupId>
@@ -128,6 +129,7 @@
128129
<artifactId>selenium-api</artifactId>
129130
</exclusion>
130131
</exclusions>
132+
<scope>provided</scope>
131133
</dependency>
132134
<dependency>
133135
<groupId>org.apache.commons</groupId>

0 commit comments

Comments
 (0)