public class DriverObject extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
app |
browserType.BrowserType |
browserType |
org.openqa.selenium.remote.DesiredCapabilities |
capabilities |
static Map<org.openqa.selenium.WebDriver,DriverObject> |
driverList |
driverType.DriverType |
driverType |
String |
driverVersion |
String |
initialURL |
Boolean |
isAvailable |
List<String> |
testIdList |
List<org.openqa.selenium.WebDriver> |
webdriver |
| Constructor and Description |
|---|
DriverObject() |
public List<org.openqa.selenium.WebDriver> webdriver
public Boolean isAvailable
public String initialURL
public String app
public driverType.DriverType driverType
public browserType.BrowserType browserType
public String driverVersion
public org.openqa.selenium.remote.DesiredCapabilities capabilities
public static Map<org.openqa.selenium.WebDriver,DriverObject> driverList
public static org.openqa.selenium.WebDriver getFirstAvailableDriver()
public static void quitTestDrivers()
public static void quitWebDriver(org.openqa.selenium.WebDriver driver)
public static void quitAllDrivers()
public static void initializeDriverList(DriverObject driver, String testId)
driver - testId - public static void setDriverAvailabiltity(org.openqa.selenium.WebDriver driver,
boolean isAvailable)
public DriverObject withTestId(String testId)
public static String getCurrentTestId()
public static String getPreviousTestId()
public DriverObject withApp(String app)
public DriverObject withIsAvailable(Boolean isAvailable)
public DriverObject withUrl(String initialURL)
public DriverObject withBrowserType(browserType.BrowserType browserType)
public DriverObject withDriverVersion(String driverVersion)
public DriverObject withDriverType(driverType.DriverType driverType)
public DriverObject withCapabilities(org.openqa.selenium.remote.DesiredCapabilities capabilities)
public DriverObject getCurrentDriverObject()
public DriverObject withChromeLanguage(String locale)
public DriverObject withWebDriver(String App, String URL)
public DriverObject withiOSDriver(String app, String device)
public DriverObject withAndroidDriver(String app, String device)
public DriverObject withWinDriver(String app)
public DriverObject withApiDriver(String app)
public DriverObject withGenericDriver(String app)
Copyright © 2019. All rights reserved.