public abstract class WebPageSection extends BasePage
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebElement |
element |
driver, webUXDriver
Constructor and Description |
---|
WebPageSection(String name) |
WebPageSection(String name,
org.openqa.selenium.By by) |
Modifier and Type | Method and Description |
---|---|
void |
capturePageSnapshot()
Captures page snapshot.
|
org.openqa.selenium.By |
getBy() |
String |
getLocator() |
String |
getName() |
boolean |
isPageSectionPresent() |
acceptAlert, assertAlertPresent, assertAlertText, assertAttribute, assertAttributeContains, assertAttributeMatches, assertCondition, assertConfirmationText, assertCurrentPage, assertElementDisplayed, assertElementEnabled, assertElementNotEnabled, assertElementNotPresent, assertElementNotSelected, assertElementPresent, assertElementSelected, assertPromptText, assertTable, assertTableContains, assertTableMatches, assertTextNotPresent, assertTextNotPresentIgnoreCase, assertTextPresent, assertTextPresentIgnoreCase, cancelConfirmation, getAlert, getAlertText, getConfirmation, getDriver, getPrompt, isElementPresent, isFrame, isTextPresent, refreshPageTillTextAppears, selectFrame, selectWindow, switchToWindow, waitForElementChecked, waitForElementEditable, waitForElementPresent, waitForElementPresent, waitForElementPresent, waitForElementToBeVisible, waitForElementToDisappear, waitForSeconds, waitForTextPresent, waitForTextPresent, waitForTextToDisappear, waitForTextToDisappear, waitForURLToChange
public WebPageSection(String name)
public WebPageSection(String name, org.openqa.selenium.By by)
public void capturePageSnapshot()
capturePageSnapshot
in class BasePage
public String getLocator()
public String getName()
public org.openqa.selenium.By getBy()
public boolean isPageSectionPresent()
Copyright © 2017. All rights reserved.