public class RenderedPageObjectView
extends java.lang.Object
| Constructor and Description |
|---|
RenderedPageObjectView(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.ui.Duration waitForTimeout) |
RenderedPageObjectView(org.openqa.selenium.WebDriver driver,
long waitForTimeoutInMilliseconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsText(java.lang.String textValue) |
boolean |
containsText(org.openqa.selenium.WebElement element,
java.lang.String textValue) |
org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver> |
doWait() |
boolean |
elementIsDisplayed(org.openqa.selenium.By byElementCriteria) |
boolean |
elementIsPresent(org.openqa.selenium.By byElementCriteria) |
org.openqa.selenium.support.ui.Duration |
getWaitForTimeout() |
void |
setWaitForTimeout(org.openqa.selenium.support.ui.Duration waitForTimeout) |
void |
setWaitForTimeoutInMilliseconds(long waitForTimeoutInMilliseconds) |
void |
waitFor(org.openqa.selenium.By byElementCriteria)
This method will wait until an element is present and visible on the screen.
|
void |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition expectedCondition) |
void |
waitForAllTextToAppear(java.lang.String... expectedTexts) |
void |
waitForAnyRenderedElementOf(org.openqa.selenium.By[] expectedElements) |
void |
waitForAnyTextToAppear(java.lang.String... expectedTexts) |
void |
waitForAnyTextToAppear(org.openqa.selenium.WebElement element,
java.lang.String... expectedTexts) |
ThucydidesFluentWait<org.openqa.selenium.WebDriver> |
waitForCondition() |
void |
waitForElementsToDisappear(org.openqa.selenium.By byElementCriteria) |
void |
waitForPresenceOf(org.openqa.selenium.By byElementCriteria)
This method will wait until an element is present on the screen, though not necessarily visible.
|
void |
waitForText(java.lang.String expectedText) |
void |
waitForText(org.openqa.selenium.WebElement element,
java.lang.String expectedText) |
void |
waitForTextToAppear(java.lang.String expectedText,
long timeout) |
void |
waitForTextToDisappear(java.lang.String expectedText,
long timeout) |
void |
waitForTitle(java.lang.String expectedTitle) |
void |
waitForTitleToDisappear(java.lang.String expectedTitle) |
public RenderedPageObjectView(org.openqa.selenium.WebDriver driver,
long waitForTimeoutInMilliseconds)
public RenderedPageObjectView(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.support.ui.Duration waitForTimeout)
public ThucydidesFluentWait<org.openqa.selenium.WebDriver> waitForCondition()
public org.openqa.selenium.support.ui.FluentWait<org.openqa.selenium.WebDriver> doWait()
public void waitFor(org.openqa.selenium.By byElementCriteria)
public void waitFor(org.openqa.selenium.support.ui.ExpectedCondition expectedCondition)
public void waitForPresenceOf(org.openqa.selenium.By byElementCriteria)
public boolean elementIsPresent(org.openqa.selenium.By byElementCriteria)
public boolean elementIsDisplayed(org.openqa.selenium.By byElementCriteria)
public void waitForText(java.lang.String expectedText)
public void waitForText(org.openqa.selenium.WebElement element,
java.lang.String expectedText)
public void waitForTitle(java.lang.String expectedTitle)
public boolean containsText(java.lang.String textValue)
public boolean containsText(org.openqa.selenium.WebElement element,
java.lang.String textValue)
public void waitForTextToDisappear(java.lang.String expectedText,
long timeout)
public void waitForTextToAppear(java.lang.String expectedText,
long timeout)
public void waitForTitleToDisappear(java.lang.String expectedTitle)
public void waitForAnyTextToAppear(java.lang.String... expectedTexts)
public void waitForAnyTextToAppear(org.openqa.selenium.WebElement element,
java.lang.String... expectedTexts)
public void waitForAllTextToAppear(java.lang.String... expectedTexts)
public void waitForElementsToDisappear(org.openqa.selenium.By byElementCriteria)
public void waitForAnyRenderedElementOf(org.openqa.selenium.By[] expectedElements)
public void setWaitForTimeoutInMilliseconds(long waitForTimeoutInMilliseconds)
public void setWaitForTimeout(org.openqa.selenium.support.ui.Duration waitForTimeout)
public org.openqa.selenium.support.ui.Duration getWaitForTimeout()