All Downloads are FREE. Search and download functionalities are using the official Maven repository.

qa.justtestlah.configuration.MockWebDriverBuilder Maven / Gradle / Ivy

Go to download

JustTestLah! is a JAVA test framework targeting projects that support multiple platforms, in particular Web, Android and iOS. It follows a BDD approach and allows testing against all platforms using the same feature files. JustTestLah's main aim is to make the configuration and the actual test code as easy as possible.

There is a newer version: 1.9-RC4
Show newest version
package qa.justtestlah.configuration;

import org.openqa.selenium.WebDriver;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;

/** Factory for {@link WebDriver}. */
@Component
@ConditionalOnProperty(
    value = "cloudprovider",
    havingValue = "awsdevicefarm",
    matchIfMissing = true)
public class MockWebDriverBuilder implements WebDriverBuilder {

  @Override
  public WebDriver getAndroidDriver() {
    return null;
  }

  @Override
  public WebDriver getIOsDriver() {
    return null;
  }

  @Override
  public WebDriver getWebDriver() {
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy