forked from eviltester/startUsingSeleniumWebDriver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
75 lines (62 loc) · 2.9 KB
/
pom.xml
File metadata and controls
75 lines (62 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eviltester.com</groupId>
<artifactId>MyFirstSeleniumIntelliJMaven</artifactId>
<version>1.0</version>
<dependencies>
<!-- Firefox 47 introduced a bug making it fail with 2.53.0, you needed to use the marionette gecko driver -->
<!-- Firefox 48+ require the marionette gecko driver -->
<!-- Firefox 45, 46, or 47.1 is required for Selenium 2.53.1 -->
<!--
if you are having issues with Firefox crashing then you might be using a
Firefox and Selenium version combination that are out of sync or may be using
a version of Firefox that requires the Marionette/wires/geckodriver combination
Read the following blog posts for more information:
- http://seleniumsimplified.com/2016/06/use_selenium_webdriver_jar_locally/
- http://seleniumsimplified.com/2016/04/how-to-use-the-firefox-marionette-driver/
- http://seleniumsimplified.com/2016/06/using-portable-firefox-46-with-webdriver/
-->
<!-- Explanation of versions
3.0.1
Firefox 48+ - geckodriver.exe on path and use MyFirstTest to run in Firefox
Firefox < 48 - use MyFirstLegacyFFTest
2.53.1
Firefox < 48 - use MyFirstTest to run in Firefox
Firefox 48+ - geckodriver.exe renamed to wires.exe and on path and use MyFirstTestFF48
Version Independent
MyFirstChromeTest will work if ChromeDriver is on the path for either version
-->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<!-- <version>2.53.1</version> -->
<!-- 19/October.2016
have upgraded to 3.0.1 for MyFirstTest -->
<version>3.5.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- added source version configuration because of reports of it compiling against Java 1.5 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>