Package core.uiCore.drivers
Class AbstractDriver
java.lang.Object
core.uiCore.drivers.AbstractDriver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intglobal timeout in seconds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<org.openqa.selenium.WebDriver, DriverObject> static ThreadLocal<com.aventstack.extentreports.ExtentTest> getStep()static org.openqa.selenium.WebDriverstatic Booleanstatic booleanisJunit()static booleanisTestNG()check if testng is the runnervoidsetupDriver(DriverObject driverObject) static voidsetWebDriver(org.openqa.selenium.WebDriver webDriver)
-
Field Details
-
TIMEOUT_SECONDS
public static int TIMEOUT_SECONDSglobal timeout in seconds -
TIMEOUT_IMPLICIT_SECONDS
public static int TIMEOUT_IMPLICIT_SECONDS
-
-
Constructor Details
-
AbstractDriver
public AbstractDriver()
-
-
Method Details
-
setupDriver
- Throws:
Exception
-
getWebDriver
public static org.openqa.selenium.WebDriver getWebDriver() -
setWebDriver
public static void setWebDriver(org.openqa.selenium.WebDriver webDriver) -
getStep
-
isFirstRun
-
getDriverList
-
isJunit
public static boolean isJunit() -
isTestNG
public static boolean isTestNG()check if testng is the runner- Returns:
-