Class AbstractSeleniumDriverInitAction

java.lang.Object
fr.enedis.chutney.action.selenium.driver.AbstractSeleniumDriverInitAction
All Implemented Interfaces:
fr.enedis.chutney.action.spi.Action
Direct Known Subclasses:
SeleniumChromeDriverInitAction, SeleniumEdgeDriverInitAction, SeleniumFirefoxDriverInitAction, SeleniumGenericDriverInitAction

public abstract class AbstractSeleniumDriverInitAction extends Object implements fr.enedis.chutney.action.spi.Action
  • Field Details

    • logger

      protected final fr.enedis.chutney.action.spi.injectable.Logger logger
    • headless

      protected final Boolean headless
    • driverPath

      protected final String driverPath
    • browserPath

      protected final String browserPath
  • Constructor Details

    • AbstractSeleniumDriverInitAction

      protected AbstractSeleniumDriverInitAction(fr.enedis.chutney.action.spi.injectable.FinallyActionRegistry finallyActionRegistry, fr.enedis.chutney.action.spi.injectable.Logger logger, String hubUrl, Boolean headless, String driverPath, String browserPath)
  • Method Details

    • buildOptions

      protected abstract org.openqa.selenium.MutableCapabilities buildOptions()
    • localWebDriver

      protected abstract org.openqa.selenium.WebDriver localWebDriver(org.openqa.selenium.Capabilities capabilities)
    • getChildClass

      protected abstract Class<?> getChildClass()
    • validateInputs

      public List<String> validateInputs()
      Specified by:
      validateInputs in interface fr.enedis.chutney.action.spi.Action
    • execute

      public fr.enedis.chutney.action.spi.ActionExecutionResult execute()
      Specified by:
      execute in interface fr.enedis.chutney.action.spi.Action