public class BrowserActions extends Object
Modifier and Type | Field and Description |
---|---|
static org.openqa.selenium.WebDriver |
driver
The driver.
|
Constructor and Description |
---|
BrowserActions(org.openqa.selenium.WebDriver driver)
Instantiates a new browser actions.
|
Modifier and Type | Method and Description |
---|---|
static void |
deleteCookies()
deleteCookies - Delete all cookies in the browser session.
|
static void |
openURL(String url)
Open's a url in the browser session.
|
static void |
openURLBasedOnDbDomain()
a.
|
static void |
quit()
Close IronWasp session(if enabled during openUrl()) and also quit current browser session.
|
static void |
windowMax()
windowMax - Selenium code to maximize window size.
|
public BrowserActions(org.openqa.selenium.WebDriver driver)
driver
- the driverpublic static void windowMax() throws Exception
Exception
- the exceptionpublic static void deleteCookies() throws Exception
Exception
- the exceptionpublic static void openURLBasedOnDbDomain() throws Exception
Exception
- the exceptionpublic static void openURL(String url) throws Exception
url
- the urlException
- the exception