Class UnresolvedTargetWebElementState
- java.lang.Object
-
- net.serenitybdd.screenplay.questions.UnresolvedTargetWebElementState
-
- All Implemented Interfaces:
WebElementState
public class UnresolvedTargetWebElementState extends Object implements WebElementState
Created by john on 14/01/2016.
-
-
Constructor Summary
Constructors Constructor Description UnresolvedTargetWebElementState(String name)
-
Method Summary
-
-
-
Constructor Detail
-
UnresolvedTargetWebElementState
public UnresolvedTargetWebElementState(String name)
-
-
Method Detail
-
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
public void shouldBeVisible()
- Specified by:
shouldBeVisiblein interfaceWebElementState
-
shouldBeCurrentlyVisible
public void shouldBeCurrentlyVisible()
- Specified by:
shouldBeCurrentlyVisiblein interfaceWebElementState
-
shouldNotBeVisible
public void shouldNotBeVisible()
- Specified by:
shouldNotBeVisiblein interfaceWebElementState
-
shouldNotBeCurrentlyVisible
public void shouldNotBeCurrentlyVisible()
- Specified by:
shouldNotBeCurrentlyVisiblein interfaceWebElementState
-
hasFocus
public boolean hasFocus()
- Specified by:
hasFocusin interfaceWebElementState
-
containsText
public boolean containsText(String value)
- Specified by:
containsTextin interfaceWebElementState
-
containsValue
public boolean containsValue(String value)
- Specified by:
containsValuein interfaceWebElementState
-
containsOnlyText
public boolean containsOnlyText(String value)
- Specified by:
containsOnlyTextin interfaceWebElementState
-
containsSelectOption
public boolean containsSelectOption(String value)
- Specified by:
containsSelectOptionin interfaceWebElementState
-
shouldContainText
public void shouldContainText(String textValue)
- Specified by:
shouldContainTextin interfaceWebElementState
-
shouldContainOnlyText
public void shouldContainOnlyText(String textValue)
- Specified by:
shouldContainOnlyTextin interfaceWebElementState
-
shouldContainSelectedOption
public void shouldContainSelectedOption(String textValue)
- Specified by:
shouldContainSelectedOptionin interfaceWebElementState
-
shouldNotContainText
public void shouldNotContainText(String textValue)
- Specified by:
shouldNotContainTextin interfaceWebElementState
-
shouldBeEnabled
public void shouldBeEnabled()
- Specified by:
shouldBeEnabledin interfaceWebElementState
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceWebElementState
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceWebElementState
-
shouldNotBeEnabled
public void shouldNotBeEnabled()
- Specified by:
shouldNotBeEnabledin interfaceWebElementState
-
getSelectedVisibleTextValue
public String getSelectedVisibleTextValue()
- Specified by:
getSelectedVisibleTextValuein interfaceWebElementState
-
getSelectedValue
public String getSelectedValue()
- Specified by:
getSelectedValuein interfaceWebElementState
-
getSelectOptions
public List<String> getSelectOptions()
- Specified by:
getSelectOptionsin interfaceWebElementState
-
isPresent
public boolean isPresent()
- Specified by:
isPresentin interfaceWebElementState
-
shouldBePresent
public void shouldBePresent()
- Specified by:
shouldBePresentin interfaceWebElementState
-
shouldNotBePresent
public void shouldNotBePresent()
- Specified by:
shouldNotBePresentin interfaceWebElementState
-
isSelected
public boolean isSelected()
- Specified by:
isSelectedin interfaceWebElementState
-
getTextValue
public String getTextValue()
- Specified by:
getTextValuein interfaceWebElementState
-
getValue
public String getValue()
- Specified by:
getValuein interfaceWebElementState
-
getText
public String getText()
- Specified by:
getTextin interfaceWebElementState
-
expect
public WebElementState expect(String errorMessage)
- Specified by:
expectin interfaceWebElementState
-
isClickable
public boolean isClickable()
- Specified by:
isClickablein interfaceWebElementState
-
-