diff --git a/README.md b/README.md index c54c74c..0dfce13 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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` diff --git a/webdriverchecker-junit5/README.md b/webdriverchecker-junit5/README.md index 4f1d46e..8f47e7b 100644 --- a/webdriverchecker-junit5/README.md +++ b/webdriverchecker-junit5/README.md @@ -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 | |--- |--- | diff --git a/webdriverchecker-selenide/README.md b/webdriverchecker-selenide/README.md index e6e6618..7e047c7 100644 --- a/webdriverchecker-selenide/README.md +++ b/webdriverchecker-selenide/README.md @@ -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 | |--- |--- |