Class MockWebDriverBuilder

  • All Implemented Interfaces:
    WebDriverBuilder

    @Component
    @ConditionalOnProperty(value="cloudprovider",
                           havingValue="awsdevicefarm",
                           matchIfMissing=true)
    public class MockWebDriverBuilder
    extends Object
    implements WebDriverBuilder
    Factory for WebDriver.
    • Constructor Detail

      • MockWebDriverBuilder

        public MockWebDriverBuilder()
    • Method Detail

      • getAndroidDriver

        public org.openqa.selenium.WebDriver getAndroidDriver()
        Description copied from interface: WebDriverBuilder
        Get an Android driver instance.
        Specified by:
        getAndroidDriver in interface WebDriverBuilder
        Returns:
        WebDriver for Android
      • getIOsDriver

        public org.openqa.selenium.WebDriver getIOsDriver()
        Description copied from interface: WebDriverBuilder
        Get an iOS driver instance.
        Specified by:
        getIOsDriver in interface WebDriverBuilder
        Returns:
        WebDriver for iOS
      • getWebDriver

        public org.openqa.selenium.WebDriver getWebDriver()
        Description copied from interface: WebDriverBuilder
        Get a Web driver instance.
        Specified by:
        getWebDriver in interface WebDriverBuilder
        Returns:
        WebDriver for Web