Class UnresolvedTargetWebElementState
java.lang.Object
net.serenitybdd.screenplay.questions.UnresolvedTargetWebElementState
- All Implemented Interfaces:
WebElementState
public class UnresolvedTargetWebElementState extends java.lang.Object implements WebElementState
Created by john on 14/01/2016.
-
Constructor Summary
Constructors Constructor Description UnresolvedTargetWebElementState(java.lang.String name) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
UnresolvedTargetWebElementState
public UnresolvedTargetWebElementState(java.lang.String name)
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceWebElementState
-
isCurrentlyVisible
public boolean isCurrentlyVisible()- Specified by:
isCurrentlyVisiblein interfaceWebElementState
-
isCurrentlyEnabled
public boolean isCurrentlyEnabled()- Specified by:
isCurrentlyEnabledin interfaceWebElementState
-
shouldBeVisible
- Specified by:
shouldBeVisiblein interfaceWebElementState
-
shouldBeCurrentlyVisible
- Specified by:
shouldBeCurrentlyVisiblein interfaceWebElementState
-
shouldNotBeVisible
- Specified by:
shouldNotBeVisiblein interfaceWebElementState
-
shouldNotBeCurrentlyVisible
- Specified by:
shouldNotBeCurrentlyVisiblein interfaceWebElementState
-
hasFocus
public boolean hasFocus()- Specified by:
hasFocusin interfaceWebElementState
-
containsText
public boolean containsText(java.lang.String value)- Specified by:
containsTextin interfaceWebElementState
-
containsValue
public boolean containsValue(java.lang.String value)- Specified by:
containsValuein interfaceWebElementState
-
containsOnlyText
public boolean containsOnlyText(java.lang.String value)- Specified by:
containsOnlyTextin interfaceWebElementState
-
containsSelectOption
public boolean containsSelectOption(java.lang.String value)- Specified by:
containsSelectOptionin interfaceWebElementState
-
shouldContainText
- Specified by:
shouldContainTextin interfaceWebElementState
-
shouldContainOnlyText
- Specified by:
shouldContainOnlyTextin interfaceWebElementState
-
shouldContainSelectedOption
- Specified by:
shouldContainSelectedOptionin interfaceWebElementState
-
shouldNotContainText
- Specified by:
shouldNotContainTextin interfaceWebElementState
-
shouldBeEnabled
- Specified by:
shouldBeEnabledin interfaceWebElementState
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceWebElementState
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceWebElementState
-
shouldNotBeEnabled
- Specified by:
shouldNotBeEnabledin interfaceWebElementState
-
getSelectedVisibleTextValue
public java.lang.String getSelectedVisibleTextValue()- Specified by:
getSelectedVisibleTextValuein interfaceWebElementState
-
getSelectedVisibleTexts
public java.util.List<java.lang.String> getSelectedVisibleTexts()- Specified by:
getSelectedVisibleTextsin interfaceWebElementState
-
getSelectedValue
public java.lang.String getSelectedValue()- Specified by:
getSelectedValuein interfaceWebElementState
-
getSelectedValues
public java.util.List<java.lang.String> getSelectedValues()- Specified by:
getSelectedValuesin interfaceWebElementState
-
getSelectOptions
public java.util.List<java.lang.String> getSelectOptions()- Specified by:
getSelectOptionsin interfaceWebElementState
-
isPresent
public boolean isPresent()- Specified by:
isPresentin interfaceWebElementState
-
shouldBePresent
- Specified by:
shouldBePresentin interfaceWebElementState
-
shouldNotBePresent
- Specified by:
shouldNotBePresentin interfaceWebElementState
-
isSelected
public boolean isSelected()- Specified by:
isSelectedin interfaceWebElementState
-
getTextValue
public java.lang.String getTextValue()- Specified by:
getTextValuein interfaceWebElementState
-
getValue
public java.lang.String getValue()- Specified by:
getValuein interfaceWebElementState
-
getText
public java.lang.String getText()- Specified by:
getTextin interfaceWebElementState
-
getAttribute
public java.lang.String getAttribute(java.lang.String name)- Specified by:
getAttributein interfaceWebElementState
-
expect
- Specified by:
expectin interfaceWebElementState
-
isClickable
public boolean isClickable()- Specified by:
isClickablein interfaceWebElementState
-