Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoanh2n committed Dec 21, 2022
1 parent 11fdf07 commit 697a1c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
- [Checks](#checks)
- [Versions (Selenium WebDriver 4)](#versions-selenium-webdriver-4)
- [Extensions](#extensions)
- [WebDriverChecker for Selenide](#webdriverchecker-for-selenide)
- [WebDriverChecker for JUnit5](#webdriverchecker-for-junit5)
- [WebDriverChecker for Selenide](#webdriverchecker-for-selenide)
- [Delarations](#delarations)
- [Gradle](#gradle)
- [Maven](#maven)
Expand Down Expand Up @@ -45,12 +45,16 @@ Use WebDriverChecker to make it more convenient!
- Selenide: 6.7.2

# Extensions
### [WebDriverChecker for Selenide](webdriverchecker-selenide/README.md)
When your automation project is using `Selenide` directly.
It automatically provides the current WebDriver instance to `com.github.ngoanh2n.wdc.WebDriverChecker`.

You don't need to pass the WebDriver instance to the argument of checker methods.

### [WebDriverChecker for JUnit5](webdriverchecker-junit5/README.md)
When your automation project is using `JUnit5 Jupiter` as a testing framework.

### [WebDriverChecker for Selenide](webdriverchecker-selenide/README.md)
When your automation project is using `Selenide` directly.

# Delarations
## Gradle
Add to `build.gradle`
Expand Down
2 changes: 1 addition & 1 deletion webdriverchecker-junit5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Your automation project is using JUnit5 Jupiter as a testing framework, `webdriv

It automatically gets WebDriver instance from the current running test by using `org.junit.jupiter.api.extension.InvocationInterceptor` extension.

Therefore, you don't need to pass the WebDriver instance to the argument of checker methods.
You don't need to pass the WebDriver instance to the argument of checker methods.

| webdriverchecker | webdriverchecker-junit5 |
|--- |--- |
Expand Down
2 changes: 1 addition & 1 deletion webdriverchecker-selenide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Your automation project is using Selenide directly, `webdriverchecker-selenide`

It automatically gets WebDriver instance from `com.codeborne.selenide.impl.WebDriverContainer` via `com.codeborne.selenide.WebDriverRunner.getWebDriver()` method.

Therefore, you don't need to pass the WebDriver instance to the argument of checker methods.
You don't need to pass the WebDriver instance to the argument of checker methods.

| webdriverchecker | webdriverchecker-selenide |
|--- |--- |
Expand Down

0 comments on commit 697a1c5

Please sign in to comment.