Interface SeleniumDriverControl

All Known Subinterfaces:
FluentControl, FluentPageControl, IFluentAdapter
All Known Implementing Classes:
BaseFluentHook, BaseHook, ContainerFluentControl, DefaultFluentContainer, FluentAdapter, FluentControlImpl, FluentCucumberTest, FluentDriver, FluentPage, FluentStandalone, FluentStandaloneRunnable, FluentTest, FluentTest, FluentTestNg, FluentTestNgSpringTest, FluentTestRunnerAdapter, FluentWebElement, IsolatedTest, WaitHook

public interface SeleniumDriverControl
Control interface for selenium underlying web driver.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.appium.java_client.AppiumDriver
    Get the actual underlying AppiumDriver.
    org.openqa.selenium.WebDriver
    Get the actual underlying Selenium WebDriver.
  • Method Details

    • getDriver

      org.openqa.selenium.WebDriver getDriver()
      Get the actual underlying Selenium WebDriver.

      To customize the WebDriver, you should configure FluentControl.getWebDriver() or override IFluentAdapter.newWebDriver().

      This method can't be overridden to customize the WebDriver.

      Returns:
      The actual underlying Selenium WebDriver
    • getAppiumDriver

      io.appium.java_client.AppiumDriver getAppiumDriver()
      Get the actual underlying AppiumDriver.

      To customize the WebDriver, you should configure FluentControl.getWebDriver() or override IFluentAdapter.newWebDriver().

      This method can't be overridden to customize the AppiumDriver.

      Returns:
      The actual underlying AppiumDriver