public class EWindow extends Object
| Constructor and description |
|---|
EWindow
(org.openqa.selenium.WebDriver parent) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Result |
closeWindow(String windowTitle) |
|
public boolean |
closeWindowUsingIndex(org.openqa.selenium.WebDriver driver, int index) |
|
public boolean |
closeWindowUsingTitle(org.openqa.selenium.WebDriver driver, String title) |
|
public boolean |
closeWindowUsingUrl(org.openqa.selenium.WebDriver driver, String url) |
|
public Result |
existWindow(String windowTitle)Verify if a specified window title is in opening windows |
|
public Result |
getURL() |
|
public Result |
getWindowTitle()get window title |
|
protected void |
handleTimeoutLoading() |
|
public Result |
isURLContainValue(String value) |
|
public Result |
isWindowTitleEqual(String windowTitle)get window title and verify if title is equal to specified value |
|
public Result |
switchToWindow(String windowTitle) |
|
public boolean |
switchToWindowUsingIndex(org.openqa.selenium.WebDriver driver, int index) |
|
public boolean |
switchToWindowUsingTitle(org.openqa.selenium.WebDriver driver, String title) |
|
public boolean |
switchToWindowUsingUrl(org.openqa.selenium.WebDriver driver, String url) |
|
protected boolean |
verifyStringContains(String verifyString, String[] containsValues) |
|
protected Result |
waitForPageLoaded(int timeOut) |
Verify if a specified window title is in opening windows
get window title
get window title and verify if title is equal to specified value