Methods
Modifier and Type |
Method and Description |
void |
acceptAlert() |
void |
assertAlertPresent() |
void |
assertAlertText(String text) |
void |
assertAttribute(HtmlElement element,
String attributeName,
String value) |
void |
assertAttributeContains(HtmlElement element,
String attributeName,
String keyword) |
void |
assertAttributeMatches(HtmlElement element,
String attributeName,
String regex) |
void |
assertCondition(boolean condition,
String message) |
void |
assertConfirmationText(String text) |
protected void |
assertCurrentPage(boolean log) |
void |
assertElementDisplayed(HtmlElement element) |
void |
assertElementEnabled(HtmlElement element) |
void |
assertElementNotEnabled(HtmlElement element) |
void |
assertElementNotPresent(HtmlElement element) |
void |
assertElementNotSelected(HtmlElement element) |
void |
assertElementPresent(HtmlElement element) |
void |
assertElementSelected(HtmlElement element) |
void |
assertPromptText(String text) |
void |
assertTable(Table table,
int row,
int col,
String text) |
void |
assertTableContains(Table table,
int row,
int col,
String text) |
void |
assertTableMatches(Table table,
int row,
int col,
String text) |
void |
assertTextNotPresent(String text) |
void |
assertTextNotPresentIgnoreCase(String text) |
void |
assertTextPresent(String text) |
void |
assertTextPresentIgnoreCase(String text) |
String |
cancelConfirmation() |
protected abstract void |
capturePageSnapshot() |
org.openqa.selenium.Alert |
getAlert() |
String |
getAlertText() |
String |
getConfirmation() |
org.openqa.selenium.WebDriver |
getDriver() |
String |
getPrompt() |
boolean |
isElementPresent(org.openqa.selenium.By by) |
boolean |
isFrame() |
boolean |
isTextPresent(String text) |
void |
selectFrame(org.openqa.selenium.By by) |
void |
selectWindow(String windowName)
If current window is closed then use driver.switchTo.window(handle).
|
void |
waitForElementChecked(HtmlElement element) |
void |
waitForElementEditable(HtmlElement element) |
void |
waitForElementPresent(org.openqa.selenium.By by) |
void |
waitForElementPresent(org.openqa.selenium.By by,
int timeout) |
void |
waitForElementPresent(HtmlElement element) |
void |
waitForElementToBeVisible(HtmlElement element) |
void |
waitForElementToDisappear(HtmlElement element) |
void |
waitForPopup(String locator) |
void |
waitForPopUp(String windowID,
String timeout) |
protected void |
waitForSeconds(int seconds)
Wait For seconds.
|
void |
waitForTextPresent(HtmlElement element,
String text) |
void |
waitForTextPresent(String text) |
void |
waitForTextToDisappear(String text) |