Class 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 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
    • Constructor Detail

      • WebdriverSetupExtension

        public WebdriverSetupExtension()
    • Method Detail

      • beforeAll

        public void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
        Specified by:
        beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
      • beforeEach

        public void beforeEach​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
        Specified by:
        beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback
      • afterEach

        public void afterEach​(org.junit.jupiter.api.extension.ExtensionContext extensionContext)
        Specified by:
        afterEach in interface org.junit.jupiter.api.extension.AfterEachCallback
      • afterEvent

        public void afterEvent​(com.codeborne.selenide.logevents.LogEvent logEvent)
        Specified by:
        afterEvent in interface com.codeborne.selenide.logevents.LogEventListener
      • beforeEvent

        public void beforeEvent​(com.codeborne.selenide.logevents.LogEvent logEvent)
        Specified by:
        beforeEvent in interface com.codeborne.selenide.logevents.LogEventListener
      • getWebdriverManager

        public static io.github.bonigarcia.wdm.WebDriverManager getWebdriverManager()