Class WebdriverSetupExtension
- java.lang.Object
-
- com.adobe.cq.testing.selenium.junit.extensions.WebdriverSetupExtension
-
- All Implemented Interfaces:
com.codeborne.selenide.logevents.LogEventListener,org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension
public class WebdriverSetupExtension extends java.lang.Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback, com.codeborne.selenide.logevents.LogEventListener
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUILD_REPORTS_RECORDINGSstatic java.lang.StringBUILD_REPORTS_SCREENSHOTSstatic java.lang.StringEVENT_LOGGER_MESSAGE_FMT
-
Constructor Summary
Constructors Constructor Description WebdriverSetupExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)voidafterEvent(com.codeborne.selenide.logevents.LogEvent logEvent)voidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext)voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)voidbeforeEvent(com.codeborne.selenide.logevents.LogEvent logEvent)static io.github.bonigarcia.wdm.WebDriverManagergetWebdriverManager()
-
-
-
Field Detail
-
EVENT_LOGGER_MESSAGE_FMT
public static final java.lang.String EVENT_LOGGER_MESSAGE_FMT
- See Also:
- Constant Field Values
-
BUILD_REPORTS_SCREENSHOTS
public static final java.lang.String BUILD_REPORTS_SCREENSHOTS
- See Also:
- Constant Field Values
-
BUILD_REPORTS_RECORDINGS
public static final java.lang.String BUILD_REPORTS_RECORDINGS
- See Also:
- Constant Field Values
-
-
Method Detail
-
beforeAll
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
- Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback
-
beforeEach
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
- Specified by:
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback
-
afterEach
public void afterEach(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
- Specified by:
afterEachin interfaceorg.junit.jupiter.api.extension.AfterEachCallback
-
afterEvent
public void afterEvent(com.codeborne.selenide.logevents.LogEvent logEvent)
- Specified by:
afterEventin interfacecom.codeborne.selenide.logevents.LogEventListener
-
beforeEvent
public void beforeEvent(com.codeborne.selenide.logevents.LogEvent logEvent)
- Specified by:
beforeEventin interfacecom.codeborne.selenide.logevents.LogEventListener
-
getWebdriverManager
public static io.github.bonigarcia.wdm.WebDriverManager getWebdriverManager()
-
-