public class UnresolvedTargetWebElementState
extends java.lang.Object
implements net.serenitybdd.core.pages.WebElementState
| Constructor and Description |
|---|
UnresolvedTargetWebElementState(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsOnlyText(java.lang.String value) |
boolean |
containsSelectOption(java.lang.String value) |
boolean |
containsText(java.lang.String value) |
net.serenitybdd.core.pages.WebElementState |
expect(java.lang.String errorMessage) |
java.lang.String |
getSelectedValue() |
java.lang.String |
getSelectedVisibleTextValue() |
java.lang.String |
getTextValue() |
boolean |
hasFocus() |
boolean |
isCurrentlyEnabled() |
boolean |
isCurrentlyVisible() |
boolean |
isEnabled() |
boolean |
isPresent() |
boolean |
isSelected() |
boolean |
isVisible() |
void |
shouldBeCurrentlyVisible() |
void |
shouldBeEnabled() |
void |
shouldBePresent() |
void |
shouldBeVisible() |
void |
shouldContainOnlyText(java.lang.String textValue) |
void |
shouldContainSelectedOption(java.lang.String textValue) |
void |
shouldContainText(java.lang.String textValue) |
void |
shouldNotBeCurrentlyVisible() |
void |
shouldNotBeEnabled() |
void |
shouldNotBePresent() |
void |
shouldNotBeVisible() |
void |
shouldNotContainText(java.lang.String textValue) |
java.lang.String |
toString() |
public UnresolvedTargetWebElementState(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isVisible()
isVisible in interface net.serenitybdd.core.pages.WebElementStatepublic boolean isCurrentlyVisible()
isCurrentlyVisible in interface net.serenitybdd.core.pages.WebElementStatepublic boolean isCurrentlyEnabled()
isCurrentlyEnabled in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldBeVisible()
shouldBeVisible in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldBeCurrentlyVisible()
shouldBeCurrentlyVisible in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldNotBeVisible()
shouldNotBeVisible in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldNotBeCurrentlyVisible()
shouldNotBeCurrentlyVisible in interface net.serenitybdd.core.pages.WebElementStatepublic boolean hasFocus()
hasFocus in interface net.serenitybdd.core.pages.WebElementStatepublic boolean containsText(java.lang.String value)
containsText in interface net.serenitybdd.core.pages.WebElementStatepublic boolean containsOnlyText(java.lang.String value)
containsOnlyText in interface net.serenitybdd.core.pages.WebElementStatepublic boolean containsSelectOption(java.lang.String value)
containsSelectOption in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldContainText(java.lang.String textValue)
shouldContainText in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldContainOnlyText(java.lang.String textValue)
shouldContainOnlyText in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldContainSelectedOption(java.lang.String textValue)
shouldContainSelectedOption in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldNotContainText(java.lang.String textValue)
shouldNotContainText in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldBeEnabled()
shouldBeEnabled in interface net.serenitybdd.core.pages.WebElementStatepublic boolean isEnabled()
isEnabled in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldNotBeEnabled()
shouldNotBeEnabled in interface net.serenitybdd.core.pages.WebElementStatepublic java.lang.String getSelectedVisibleTextValue()
getSelectedVisibleTextValue in interface net.serenitybdd.core.pages.WebElementStatepublic java.lang.String getSelectedValue()
getSelectedValue in interface net.serenitybdd.core.pages.WebElementStatepublic boolean isPresent()
isPresent in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldBePresent()
shouldBePresent in interface net.serenitybdd.core.pages.WebElementStatepublic void shouldNotBePresent()
shouldNotBePresent in interface net.serenitybdd.core.pages.WebElementStatepublic boolean isSelected()
isSelected in interface net.serenitybdd.core.pages.WebElementStatepublic java.lang.String getTextValue()
getTextValue in interface net.serenitybdd.core.pages.WebElementStatepublic net.serenitybdd.core.pages.WebElementState expect(java.lang.String errorMessage)
expect in interface net.serenitybdd.core.pages.WebElementState