public class WebDriverSetup extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LATEST_BROWSER_VERSION |
static String |
SERVER_PORT |
static String |
SERVER_URL |
| Constructor and Description |
|---|
WebDriverSetup() |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.WebDriver |
getBrowserDriverByType(DriverObject driverObject) |
static boolean |
getProxyState() |
String |
getServerPort() |
String |
getServerUrl() |
org.openqa.selenium.WebDriver |
getWebDriverByType(DriverObject driverObject)
get webdriver by type set in properties file
|
void |
printBrowserVersion(org.openqa.selenium.WebDriver driver) |
static void |
setManualDriverPath(browserType.BrowserType browserType) |
public static String SERVER_URL
public static String SERVER_PORT
public static String LATEST_BROWSER_VERSION
public org.openqa.selenium.WebDriver getWebDriverByType(DriverObject driverObject) throws IOException
IOExceptionpublic org.openqa.selenium.WebDriver getBrowserDriverByType(DriverObject driverObject) throws IOException
IOExceptionpublic static void setManualDriverPath(browserType.BrowserType browserType)
public static boolean getProxyState()
public String getServerUrl()
public String getServerPort()
public void printBrowserVersion(org.openqa.selenium.WebDriver driver)
Copyright © 2022. All rights reserved.