public class EWindow
Type Params | Return Type | Name and description |
---|---|---|
|
public Result |
closeWindow(String windowTitle) |
|
public boolean |
closeWindowUsingIndex(WebDriver driver, int index) |
|
public boolean |
closeWindowUsingTitle(WebDriver driver, String title) |
|
public boolean |
closeWindowUsingUrl(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(WebDriver driver, int index) |
|
public boolean |
switchToWindowUsingTitle(WebDriver driver, String title) |
|
public boolean |
switchToWindowUsingUrl(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