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

Commit d089955

Browse files
committed
Merge-removed phantomjs back
1 parent d0696f3 commit d089955

File tree

2 files changed

+58
-3
lines changed

2 files changed

+58
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
- PROFILE=build
77
- PROFILE=build,googlechrome
88
- PROFILE=build,firefox
9+
- PROFILE=build,phantomjs
910

1011
stages:
1112
- test
@@ -53,4 +54,4 @@ jobs:
5354
skip_cleanup: true
5455
on:
5556
repo: Hi-Fi/robotframework-seleniumlibrary-java
56-
tags: true
57+
tags: true

pom.xml

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,56 @@
105105
<groupId>io.selendroid</groupId>
106106
<artifactId>selendroid-client</artifactId>
107107
<version>0.17.0</version>
108+
<exclusions>
109+
<exclusion>
110+
<groupId>org.seleniumhq.selenium</groupId>
111+
<artifactId>selenium-java</artifactId>
112+
</exclusion>
113+
</exclusions>
108114
</dependency>
109115
<dependency>
110116
<groupId>io.appium</groupId>
111117
<artifactId>java-client</artifactId>
112118
<version>5.0.4</version>
119+
<exclusions>
120+
<exclusion>
121+
<groupId>org.seleniumhq.selenium</groupId>
122+
<artifactId>selenium-java</artifactId>
123+
</exclusion>
124+
<exclusion>
125+
<groupId>org.seleniumhq.selenium</groupId>
126+
<artifactId>selenium-support</artifactId>
127+
</exclusion>
128+
<exclusion>
129+
<groupId>org.seleniumhq.selenium</groupId>
130+
<artifactId>selenium-api</artifactId>
131+
</exclusion>
132+
</exclusions>
113133
</dependency>
114134
<dependency>
115135
<groupId>org.apache.commons</groupId>
116136
<artifactId>commons-exec</artifactId>
117137
<version>1.3</version>
118138
</dependency>
139+
<dependency>
140+
<groupId>com.codeborne</groupId>
141+
<artifactId>phantomjsdriver</artifactId>
142+
<version>1.4.3</version>
143+
<exclusions>
144+
<exclusion>
145+
<groupId>org.seleniumhq.selenium</groupId>
146+
<artifactId>selenium-api</artifactId>
147+
</exclusion>
148+
<exclusion>
149+
<groupId>org.seleniumhq.selenium</groupId>
150+
<artifactId>selenium-remote-driver</artifactId>
151+
</exclusion>
152+
</exclusions>
153+
</dependency>
119154
<dependency>
120155
<groupId>com.machinepublishers</groupId>
121156
<artifactId>jbrowserdriver</artifactId>
122-
<version>0.17.11</version>
157+
<version>1.0.0-RC1</version>
123158
</dependency>
124159
<dependency>
125160
<groupId>org.mockito</groupId>
@@ -239,6 +274,7 @@
239274
</nonCriticalTags>
240275
<externalRunner>
241276
<jvmArgs>
277+
<jvmArg>-Dphantomjs.binary.path=${phantomjs.binary.path}</jvmArg>
242278
<jvmArg>-Dwebdriver.gecko.driver=${webdriver.gecko.driver}</jvmArg>
243279
<jvmArg>-Dwebdriver.chrome.driver=${webdriver.chrome.driver}</jvmArg>
244280
</jvmArgs>
@@ -386,6 +422,24 @@
386422
</plugins>
387423
</build>
388424
</profile>
425+
<profile>
426+
<id>phantomjs</id>
427+
<properties>
428+
<browser>phantomjs</browser>
429+
</properties>
430+
<build>
431+
<plugins>
432+
<plugin>
433+
<groupId>com.lazerycode.selenium</groupId>
434+
<artifactId>driver-binary-downloader-maven-plugin</artifactId>
435+
</plugin>
436+
<plugin>
437+
<groupId>org.robotframework</groupId>
438+
<artifactId>robotframework-maven-plugin</artifactId>
439+
</plugin>
440+
</plugins>
441+
</build>
442+
</profile>
389443
<profile>
390444
<id>googlechrome</id>
391445
<properties>
@@ -550,4 +604,4 @@
550604
</profile>
551605
</profiles>
552606

553-
</project>
607+
</project>

0 commit comments

Comments
 (0)