Class UnresolvedTargetWebElementState
java.lang.Object
net.serenitybdd.screenplay.questions.UnresolvedTargetWebElementState
- All Implemented Interfaces:
net.serenitybdd.core.pages.WebElementState
public class UnresolvedTargetWebElementState
extends Object
implements net.serenitybdd.core.pages.WebElementState
Created by john on 14/01/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOnlyText(String value) booleancontainsSelectOption(String value) booleancontainsText(String value) booleancontainsValue(String value) net.serenitybdd.core.pages.WebElementStategetAttribute(String name) getText()getValue()booleanhasFocus()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetSelector(String selector) net.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStateshouldContainOnlyText(String textValue) net.serenitybdd.core.pages.WebElementStateshouldContainSelectedOption(String textValue) net.serenitybdd.core.pages.WebElementStateshouldContainText(String textValue) net.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStatenet.serenitybdd.core.pages.WebElementStateshouldNotContainText(String textValue) toString()
-
Constructor Details
-
UnresolvedTargetWebElementState
-
-
Method Details
-
setSelector
-
toString
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
isCurrentlyVisible
public boolean isCurrentlyVisible()- Specified by:
isCurrentlyVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
isCurrentlyEnabled
public boolean isCurrentlyEnabled()- Specified by:
isCurrentlyEnabledin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldBeVisible
public net.serenitybdd.core.pages.WebElementState shouldBeVisible()- Specified by:
shouldBeVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
shouldBeCurrentlyVisible
public net.serenitybdd.core.pages.WebElementState shouldBeCurrentlyVisible()- Specified by:
shouldBeCurrentlyVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotBeVisible
public net.serenitybdd.core.pages.WebElementState shouldNotBeVisible()- Specified by:
shouldNotBeVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotBeCurrentlyVisible
public net.serenitybdd.core.pages.WebElementState shouldNotBeCurrentlyVisible()- Specified by:
shouldNotBeCurrentlyVisiblein interfacenet.serenitybdd.core.pages.WebElementState
-
hasFocus
public boolean hasFocus()- Specified by:
hasFocusin interfacenet.serenitybdd.core.pages.WebElementState
-
containsText
- Specified by:
containsTextin interfacenet.serenitybdd.core.pages.WebElementState
-
containsValue
- Specified by:
containsValuein interfacenet.serenitybdd.core.pages.WebElementState
-
containsOnlyText
- Specified by:
containsOnlyTextin interfacenet.serenitybdd.core.pages.WebElementState
-
containsSelectOption
- Specified by:
containsSelectOptionin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldContainText
- Specified by:
shouldContainTextin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldContainOnlyText
- Specified by:
shouldContainOnlyTextin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldContainSelectedOption
- Specified by:
shouldContainSelectedOptionin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotContainText
- Specified by:
shouldNotContainTextin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldBeEnabled
public net.serenitybdd.core.pages.WebElementState shouldBeEnabled()- Specified by:
shouldBeEnabledin interfacenet.serenitybdd.core.pages.WebElementState
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacenet.serenitybdd.core.pages.WebElementState
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotBeEnabled
public net.serenitybdd.core.pages.WebElementState shouldNotBeEnabled()- Specified by:
shouldNotBeEnabledin interfacenet.serenitybdd.core.pages.WebElementState
-
getSelectedVisibleTextValue
- Specified by:
getSelectedVisibleTextValuein interfacenet.serenitybdd.core.pages.WebElementState
-
getSelectedVisibleTexts
-
getSelectedValue
- Specified by:
getSelectedValuein interfacenet.serenitybdd.core.pages.WebElementState
-
getSelectedValues
-
getSelectOptions
-
isPresent
public boolean isPresent()- Specified by:
isPresentin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldBePresent
public net.serenitybdd.core.pages.WebElementState shouldBePresent()- Specified by:
shouldBePresentin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotBePresent
public net.serenitybdd.core.pages.WebElementState shouldNotBePresent()- Specified by:
shouldNotBePresentin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldBeSelected
public net.serenitybdd.core.pages.WebElementState shouldBeSelected()- Specified by:
shouldBeSelectedin interfacenet.serenitybdd.core.pages.WebElementState
-
shouldNotBeSelected
public net.serenitybdd.core.pages.WebElementState shouldNotBeSelected()- Specified by:
shouldNotBeSelectedin interfacenet.serenitybdd.core.pages.WebElementState
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfacenet.serenitybdd.core.pages.WebElementState
-
getTextValue
- Specified by:
getTextValuein interfacenet.serenitybdd.core.pages.WebElementState
-
getValue
- Specified by:
getValuein interfacenet.serenitybdd.core.pages.WebElementState
-
getText
- Specified by:
getTextin interfacenet.serenitybdd.core.pages.WebElementState
-
getAttribute
-
expect
- Specified by:
expectin interfacenet.serenitybdd.core.pages.WebElementState
-
isClickable
public boolean isClickable()- Specified by:
isClickablein interfacenet.serenitybdd.core.pages.WebElementState
-