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) |
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) |
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 String getServerUrl()
public String getServerPort()
public void printBrowserVersion(org.openqa.selenium.WebDriver driver)
Copyright © 2020. All rights reserved.