Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53033bc

Browse files
author
AutomatedOwl
committed
Merge remote-tracking branch 'origin/master'
2 parents 9fa9230 + 8e8d882 commit 53033bc

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

‎README.md‎

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Java library which allows to easily collect JS errors received in Chromedriver s
44

55
Currently, the library supports JUnit5 and TestNG testing framework.
66

7-
Example of JUnit5 usage:
7+
### Example of JUnit5 usage:
88

99
```
1010
@Test
@@ -26,7 +26,7 @@ Example of JUnit5 usage:
2626
}
2727
```
2828

29-
Example of TestNG usage:
29+
### Example of TestNG usage:
3030

3131
```
3232
@Listeners(JSErrorsCollectorListener.class)
@@ -59,7 +59,7 @@ public class JSCollectorTestNGTest {
5959
}
6060
```
6161

62-
Annotation values
62+
### Annotation values
6363

6464
By default, using the annotation will cause your test to fail on JS errors received during Chromedriver session,
6565
and it would also use java.util.logging.Logger object to log JS errors after test execution.
@@ -70,16 +70,34 @@ To disable asserting JS errors after test execution, use:
7070
@JSErrorsCollectorTestNG(assertJSErrors = false)
7171
```
7272

73-
7473
To disable logging JS errors after test execution, use:
7574

7675
```
7776
@JSErrorsCollectorTestNG(logJSErrors = false)
7877
```
7978

80-
8179
To disable both, use:
8280

8381
```
8482
@JSErrorsCollectorTestNG(logJSErrors = false, assertJSErrors = false)
8583
```
84+
85+
### Maven dependencies
86+
87+
JUnit5:
88+
```
89+
<dependency>
90+
<groupId>com.github.automatedowl</groupId>
91+
<artifactId>chromedriver-js-errors-collector-junit</artifactId>
92+
<version>1.0.1</version>
93+
</dependency>
94+
```
95+
96+
TestNG:
97+
```
98+
<dependency>
99+
<groupId>com.github.automatedowl</groupId>
100+
<artifactId>chromedriver-js-errors-collector-testng</artifactId>
101+
<version>1.0.1</version>
102+
</dependency>
103+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /