|
74 | 74 | <selenium.version>4.0.0-alpha-1</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>
|
|
213 | 214 | </lifecycleMappingMetadata>
|
214 | 215 | </configuration>
|
215 | 216 | </plugin>
|
216 |
| - <plugin> |
217 |
| - <groupId>com.lazerycode.selenium</groupId> |
218 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
219 |
| - <version>1.0.16</version> |
220 |
| - <configuration> |
221 |
| - <!-- root directory that downloaded driver binaries will be stored |
222 |
| - in --> |
223 |
| - <rootStandaloneServerDirectory>webdriver/binaries</rootStandaloneServerDirectory> |
224 |
| - <!-- Where you want to store downloaded zip files --> |
225 |
| - <downloadedZipFileDirectory>webdriver/zips</downloadedZipFileDirectory> |
226 |
| - <!-- Location of a custom repository map --> |
227 |
| - <customRepositoryMap>src/test/resources/RepositoryMap.xml</customRepositoryMap> |
228 |
| - </configuration> |
229 |
| - <executions> |
230 |
| - <execution> |
231 |
| - <goals> |
232 |
| - <goal>selenium</goal> |
233 |
| - </goals> |
234 |
| - </execution> |
235 |
| - </executions> |
236 |
| - </plugin> |
237 | 217 | <plugin>
|
238 | 218 | <!-- Integration-Test, build documentation -->
|
239 | 219 | <groupId>org.robotframework</groupId>
|
|
251 | 231 | <testCasesDirectory>${project.basedir}/src/test/robotframework/testsuites</testCasesDirectory>
|
252 | 232 | <variables>
|
253 | 233 | <variable>browser:${browser}</variable>
|
| 234 | + <variable>downloadWebDriver:${downloadWebDriver}</variable> |
254 | 235 | </variables>
|
255 | 236 | <report>target/robotframework-reports/${browser}_report.html</report>
|
256 | 237 | <log>target/robotframework-reports/${browser}_log.html</log>
|
|
394 | 375 | <id>firefox</id>
|
395 | 376 | <properties>
|
396 | 377 | <browser>firefox</browser>
|
| 378 | + <downloadWebDriver>True</downloadWebDriver> |
397 | 379 | </properties>
|
398 |
| - <build> |
399 |
| - <plugins> |
400 |
| - <plugin> |
401 |
| - <groupId>com.lazerycode.selenium</groupId> |
402 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
403 |
| - </plugin> |
404 |
| - <plugin> |
405 |
| - <groupId>org.robotframework</groupId> |
406 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
407 |
| - <configuration> |
408 |
| - <externalRunner> |
409 |
| - <jvmArgs> |
410 |
| - <jvmArg>-Dwebdriver.gecko.driver=${webdriver.gecko.driver}</jvmArg> |
411 |
| - </jvmArgs> |
412 |
| - </externalRunner> |
413 |
| - </configuration> |
414 |
| - </plugin> |
415 |
| - </plugins> |
416 |
| - </build> |
417 | 380 | </profile>
|
418 | 381 | <profile>
|
419 | 382 | <id>firefoxheadless</id>
|
420 | 383 | <properties>
|
421 | 384 | <browser>firefoxheadless</browser>
|
| 385 | + <downloadWebDriver>True</downloadWebDriver> |
422 | 386 | </properties>
|
423 |
| - <build> |
424 |
| - <plugins> |
425 |
| - <plugin> |
426 |
| - <groupId>com.lazerycode.selenium</groupId> |
427 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
428 |
| - </plugin> |
429 |
| - <plugin> |
430 |
| - <groupId>org.robotframework</groupId> |
431 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
432 |
| - <configuration> |
433 |
| - <externalRunner> |
434 |
| - <jvmArgs> |
435 |
| - <jvmArg>-Dwebdriver.gecko.driver=${webdriver.gecko.driver}</jvmArg> |
436 |
| - </jvmArgs> |
437 |
| - </externalRunner> |
438 |
| - </configuration> |
439 |
| - </plugin> |
440 |
| - </plugins> |
441 |
| - </build> |
442 | 387 | </profile>
|
443 | 388 | <profile>
|
444 | 389 | <id>googlechrome</id>
|
445 | 390 | <properties>
|
446 | 391 | <browser>googlechrome</browser>
|
| 392 | + <downloadWebDriver>True</downloadWebDriver> |
447 | 393 | </properties>
|
448 |
| - <build> |
449 |
| - <plugins> |
450 |
| - <plugin> |
451 |
| - <groupId>com.lazerycode.selenium</groupId> |
452 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
453 |
| - </plugin> |
454 |
| - <plugin> |
455 |
| - <groupId>org.robotframework</groupId> |
456 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
457 |
| - <configuration> |
458 |
| - <externalRunner> |
459 |
| - <jvmArgs> |
460 |
| - <jvmArg>-Dwebdriver.chrome.driver=${webdriver.chrome.driver}</jvmArg> |
461 |
| - </jvmArgs> |
462 |
| - </externalRunner> |
463 |
| - </configuration> |
464 |
| - </plugin> |
465 |
| - </plugins> |
466 |
| - </build> |
467 | 394 | </profile>
|
468 | 395 | <profile>
|
469 | 396 | <id>googlechromeheadless</id>
|
470 | 397 | <properties>
|
471 | 398 | <browser>googlechromeheadless</browser>
|
| 399 | + <downloadWebDriver>True</downloadWebDriver> |
472 | 400 | </properties>
|
473 |
| - <build> |
474 |
| - <plugins> |
475 |
| - <plugin> |
476 |
| - <groupId>com.lazerycode.selenium</groupId> |
477 |
| - <artifactId>driver-binary-downloader-maven-plugin</artifactId> |
478 |
| - </plugin> |
479 |
| - <plugin> |
480 |
| - <groupId>org.robotframework</groupId> |
481 |
| - <artifactId>robotframework-maven-plugin</artifactId> |
482 |
| - <configuration> |
483 |
| - <externalRunner> |
484 |
| - <jvmArgs> |
485 |
| - <jvmArg>-Dwebdriver.chrome.driver=${webdriver.chrome.driver}</jvmArg> |
486 |
| - </jvmArgs> |
487 |
| - </externalRunner> |
488 |
| - </configuration> |
489 |
| - </plugin> |
490 |
| - </plugins> |
491 |
| - </build> |
492 | 401 | </profile>
|
493 | 402 | <profile>
|
494 | 403 | <id>release</id>
|
|
0 commit comments