public class AbstractDriver extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMEOUT_IMPLICIT_SECONDS |
static int |
TIMEOUT_SECONDS
global timeout in seconds
|
| Constructor and Description |
|---|
AbstractDriver() |
| Modifier and Type | Method and Description |
|---|---|
static Map<org.openqa.selenium.WebDriver,DriverObject> |
getDriverList() |
static ThreadLocal<com.aventstack.extentreports.ExtentTest> |
getStep() |
static org.openqa.selenium.WebDriver |
getWebDriver() |
static Boolean |
isFirstRun() |
static boolean |
isJunit() |
static boolean |
isTestNG()
check if testng is the runner
|
void |
setupDriver(DriverObject driverObject) |
static void |
setWebDriver(org.openqa.selenium.WebDriver webDriver) |
public static int TIMEOUT_SECONDS
public static int TIMEOUT_IMPLICIT_SECONDS
public void setupDriver(DriverObject driverObject) throws Exception
Exceptionpublic static org.openqa.selenium.WebDriver getWebDriver()
public static void setWebDriver(org.openqa.selenium.WebDriver webDriver)
public static ThreadLocal<com.aventstack.extentreports.ExtentTest> getStep()
public static Boolean isFirstRun()
public static Map<org.openqa.selenium.WebDriver,DriverObject> getDriverList()
public static boolean isJunit()
public static boolean isTestNG()
Copyright © 2022. All rights reserved.