public class SelectBrowser extends Object
| Constructor and Description |
|---|
SelectBrowser()
Instantiates a new select browser.
|
| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.remote.DesiredCapabilities |
chromeDriverProfile()
Desired Capabilities preferences settings for Chrome driver profile.
|
static org.openqa.selenium.WebDriver |
getBrowser()
Initiates a new fresh browser session based on the value of "driverName" key in config.properties file
|
static String |
getBrowserAndVersion(org.openqa.selenium.WebDriver driver)
Gets the browser name and version number for the browser session which is initialized.
|
static org.openqa.selenium.remote.DesiredCapabilities |
IEProfile()
Desired capabilities preferences settings for IE profile.
|
public static org.openqa.selenium.WebDriver getBrowser()
throws Exception
Exception - the exceptionpublic static String getBrowserAndVersion(org.openqa.selenium.WebDriver driver) throws Exception
driver - the driverExceptionpublic static org.openqa.selenium.remote.DesiredCapabilities chromeDriverProfile()
throws Exception
Exception - the exception