qa.justtestlah.configuration.MockWebDriverBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of justtestlah-core Show documentation
Show all versions of justtestlah-core Show documentation
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.
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