
driverfactory.webdriver.localdriver.DriverFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AUTOTESTIMATIC-JAVA Show documentation
Show all versions of AUTOTESTIMATIC-JAVA Show documentation
An open-source Selenium Java-based Test automation Framework that allows you to perform multiple actions
to test a web application's functionality, behaviour, which provides easy to use syntax,
and easy to set up environment according to the needed requirements for testing
package driverfactory.webdriver.localdriver;
import constants.DriverType;
public class DriverFactory {
private DriverFactory(){
}
public static DriverAbstract getDriverFactory(DriverType driverType){
switch (driverType) {
case CHROME: {
return new ChromeDriverFactory();
}
case FIREFOX: {
return new FirefoxDriverFactory();
}
case EDGE: {
return new EdgeDriverFactory();
}
default: throw new IllegalStateException("Unexpected value: " + driverType);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy