
driverfactory.webdriver.localdriver.DriverAbstract 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 org.openqa.selenium.WebDriver;
public abstract class DriverAbstract {
protected WebDriver driver;
protected abstract void startDriver();
public void quitDriver(){
if(driver != null){
driver.quit();
driver = null;
}
}
public WebDriver getDriver(){
if(driver == null){
startDriver();
}
return driver;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy