Skip to content

Commit 2129bed

Browse files
authored
Merge pull request #8 from scalatest/feature-usage-in-readme
Usage Example in README.md
2 parents f6e876c + 6273fec commit 2129bed

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11
# ScalaTest + Selenium
22
ScalaTest + Selenium provides integration support between ScalaTest and Selenium.
33

4+
**Usage**
5+
6+
To use it for ScalaTest 3.1.1 and Selenium 3.141.x:
7+
8+
SBT:
9+
10+
```
11+
libraryDependencies += "org.scalatestplus" %% "selenium-3-141" % "3.1.1.0" % "test"
12+
```
13+
14+
Maven:
15+
16+
```
17+
<dependency>
18+
<groupId>org.scalatestplus</groupId>
19+
<artifactId>selenium-3-141</artifactId>
20+
<version>3.1.1.0</version>
21+
<scope>test</scope>
22+
</dependency>
23+
```
24+
25+
To use it for ScalaTest 3.1.1 and Selenium 2.45.x:
26+
27+
SBT:
28+
29+
```
30+
libraryDependencies += "org.scalatestplus" %% "selenium-2-45" % "3.1.1.0" % "test"
31+
```
32+
33+
Maven:
34+
35+
```
36+
<dependency>
37+
<groupId>org.scalatestplus</groupId>
38+
<artifactId>selenium-2-45</artifactId>
39+
<version>3.1.1.0</version>
40+
<scope>test</scope>
41+
</dependency>
42+
```
43+
444
**Publishing**
545

646
Please use the following commands to publish to Sonatype:

0 commit comments

Comments
 (0)