|
5 | 5 |
|
6 | 6 | <groupId>com.github.hi-fi</groupId>
|
7 | 7 | <artifactId>robotframework-seleniumlibrary</artifactId>
|
8 |
| - <version>3.141.59.265-SNAPSHOT</version> |
| 8 | + <version>3.141.59.2653-SNAPSHOT</version> |
9 | 9 | <packaging>jar</packaging>
|
10 | 10 |
|
11 | 11 | <name>Robot Framework :: SeleniumLibrary</name>
|
|
74 | 74 | <selenium.version>3.141.59</selenium.version>
|
75 | 75 | <keywords.class>SeleniumLibrary</keywords.class>
|
76 | 76 | <browser>jbrowser</browser>
|
| 77 | + <downloadWebDriver>False</downloadWebDriver> |
77 | 78 | </properties>
|
78 | 79 |
|
79 | 80 | <dependencies>
|
|
134 | 135 | <version>2.18.3</version>
|
135 | 136 | <scope>test</scope>
|
136 | 137 | </dependency>
|
| 138 | + <dependency> |
| 139 | + <groupId>io.github.bonigarcia</groupId> |
| 140 | + <artifactId>webdrivermanager</artifactId> |
| 141 | + <version>3.4.0</version> |
| 142 | + </dependency> |
137 | 143 | </dependencies>
|
138 | 144 |
|
139 | 145 | <build>
|
|
198 | 204 | </lifecycleMappingMetadata>
|
199 | 205 | </configuration>
|
200 | 206 | </plugin>
|
201 |
| - <plugin> |
202 |
| - <groupId>com.lazerycode.selenium</groupId> |
203 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
204 |
| - <version>1.0.16</version> |
205 |
| - <configuration> |
206 |
| - <!-- root directory that downloaded driver binaries will be stored |
207 |
| - in --> |
208 |
| - <rootStandaloneServerDirectory>webdriver/binaries</rootStandaloneServerDirectory> |
209 |
| - <!-- Where you want to store downloaded zip files --> |
210 |
| - <downloadedZipFileDirectory>webdriver/zips</downloadedZipFileDirectory> |
211 |
| - <!-- Location of a custom repository map --> |
212 |
| - <customRepositoryMap>src/test/resources/RepositoryMap.xml</customRepositoryMap> |
213 |
| - </configuration> |
214 |
| - <executions> |
215 |
| - <execution> |
216 |
| - <goals> |
217 |
| - <goal>selenium</goal> |
218 |
| - </goals> |
219 |
| - </execution> |
220 |
| - </executions> |
221 |
| - </plugin> |
222 | 207 | <plugin>
|
223 | 208 | <!-- Integration-Test, build documentation -->
|
224 | 209 | <groupId>org.robotframework</groupId>
|
|
236 | 221 | <testCasesDirectory>${project.basedir}/src/test/robotframework/testsuites</testCasesDirectory>
|
237 | 222 | <variables>
|
238 | 223 | <variable>browser:${browser}</variable>
|
| 224 | + <variable>downloadWebDriver:${downloadWebDriver}</variable> |
239 | 225 | </variables>
|
240 | 226 | <report>target/robotframework-reports/${browser}_report.html</report>
|
241 | 227 | <log>target/robotframework-reports/${browser}_log.html</log>
|
|
379 | 365 | <id>firefox</id>
|
380 | 366 | <properties>
|
381 | 367 | <browser>firefox</browser>
|
| 368 | + <downloadWebDriver>True</downloadWebDriver> |
382 | 369 | </properties>
|
383 |
| - <build> |
384 |
| - <plugins> |
385 |
| - <plugin> |
386 |
| - <groupId>com.lazerycode.selenium</groupId> |
387 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
388 |
| - </plugin> |
389 |
| - <plugin> |
390 |
| - <groupId>org.robotframework</groupId> |
391 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
392 |
| - <configuration> |
393 |
| - <externalRunner> |
394 |
| - <jvmArgs> |
395 |
| - <jvmArg>-Dwebdriver.gecko.driver=${webdriver.gecko.driver}</jvmArg> |
396 |
| - </jvmArgs> |
397 |
| - </externalRunner> |
398 |
| - </configuration> |
399 |
| - </plugin> |
400 |
| - </plugins> |
401 |
| - </build> |
402 | 370 | </profile>
|
403 | 371 | <profile>
|
404 | 372 | <id>firefoxheadless</id>
|
405 | 373 | <properties>
|
406 | 374 | <browser>firefoxheadless</browser>
|
| 375 | + <downloadWebDriver>True</downloadWebDriver> |
407 | 376 | </properties>
|
408 |
| - <build> |
409 |
| - <plugins> |
410 |
| - <plugin> |
411 |
| - <groupId>com.lazerycode.selenium</groupId> |
412 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
413 |
| - </plugin> |
414 |
| - <plugin> |
415 |
| - <groupId>org.robotframework</groupId> |
416 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
417 |
| - <configuration> |
418 |
| - <externalRunner> |
419 |
| - <jvmArgs> |
420 |
| - <jvmArg>-Dwebdriver.gecko.driver=${webdriver.gecko.driver}</jvmArg> |
421 |
| - </jvmArgs> |
422 |
| - </externalRunner> |
423 |
| - </configuration> |
424 |
| - </plugin> |
425 |
| - </plugins> |
426 |
| - </build> |
427 | 377 | </profile>
|
428 | 378 | <profile>
|
429 | 379 | <id>googlechrome</id>
|
430 | 380 | <properties>
|
431 | 381 | <browser>googlechrome</browser>
|
| 382 | + <downloadWebDriver>True</downloadWebDriver> |
432 | 383 | </properties>
|
433 |
| - <build> |
434 |
| - <plugins> |
435 |
| - <plugin> |
436 |
| - <groupId>com.lazerycode.selenium</groupId> |
437 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
438 |
| - </plugin> |
439 |
| - <plugin> |
440 |
| - <groupId>org.robotframework</groupId> |
441 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
442 |
| - <configuration> |
443 |
| - <externalRunner> |
444 |
| - <jvmArgs> |
445 |
| - <jvmArg>-Dwebdriver.chrome.driver=${webdriver.chrome.driver}</jvmArg> |
446 |
| - </jvmArgs> |
447 |
| - </externalRunner> |
448 |
| - </configuration> |
449 |
| - </plugin> |
450 |
| - </plugins> |
451 |
| - </build> |
452 | 384 | </profile>
|
453 | 385 | <profile>
|
454 | 386 | <id>googlechromeheadless</id>
|
455 | 387 | <properties>
|
456 | 388 | <browser>googlechromeheadless</browser>
|
| 389 | + <downloadWebDriver>True</downloadWebDriver> |
457 | 390 | </properties>
|
458 |
| - <build> |
459 |
| - <plugins> |
460 |
| - <plugin> |
461 |
| - <groupId>com.lazerycode.selenium</groupId> |
462 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
463 |
| - </plugin> |
464 |
| - <plugin> |
465 |
| - <groupId>org.robotframework</groupId> |
466 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
467 |
| - <configuration> |
468 |
| - <externalRunner> |
469 |
| - <jvmArgs> |
470 |
| - <jvmArg>-Dwebdriver.chrome.driver=${webdriver.chrome.driver}</jvmArg> |
471 |
| - </jvmArgs> |
472 |
| - </externalRunner> |
473 |
| - </configuration> |
474 |
| - </plugin> |
475 |
| - </plugins> |
476 |
| - </build> |
477 | 391 | </profile>
|
478 | 392 | <profile>
|
479 | 393 | <id>release</id>
|
|
0 commit comments