public class MissingWebElement extends Object implements WebElementState
| Constructor and Description |
|---|
MissingWebElement(String elementName) |
public MissingWebElement(String elementName)
public boolean isVisible()
isVisible in interface WebElementStatepublic boolean isCurrentlyVisible()
isCurrentlyVisible in interface WebElementStatepublic boolean isCurrentlyEnabled()
isCurrentlyEnabled in interface WebElementStatepublic WebElementState shouldBeVisible()
shouldBeVisible in interface WebElementStatepublic WebElementState shouldBeCurrentlyVisible()
shouldBeCurrentlyVisible in interface WebElementStatepublic WebElementState shouldNotBeVisible()
shouldNotBeVisible in interface WebElementStatepublic WebElementState shouldNotBeCurrentlyVisible()
shouldNotBeCurrentlyVisible in interface WebElementStatepublic boolean hasFocus()
hasFocus in interface WebElementStatepublic boolean containsText(String value)
containsText in interface WebElementStatepublic boolean containsValue(String value)
containsValue in interface WebElementStatepublic boolean containsOnlyText(String value)
containsOnlyText in interface WebElementStatepublic boolean containsSelectOption(String value)
containsSelectOption in interface WebElementStatepublic WebElementState shouldContainText(String textValue)
shouldContainText in interface WebElementStatepublic WebElementState shouldContainOnlyText(String textValue)
shouldContainOnlyText in interface WebElementStatepublic WebElementState shouldContainSelectedOption(String textValue)
shouldContainSelectedOption in interface WebElementStatepublic WebElementState shouldNotContainText(String textValue)
shouldNotContainText in interface WebElementStatepublic WebElementState shouldBeEnabled()
shouldBeEnabled in interface WebElementStatepublic boolean isEnabled()
isEnabled in interface WebElementStatepublic boolean isDisabled()
isDisabled in interface WebElementStatepublic WebElementState shouldNotBeEnabled()
shouldNotBeEnabled in interface WebElementStatepublic String getSelectedVisibleTextValue()
getSelectedVisibleTextValue in interface WebElementStatepublic List<String> getSelectedVisibleTexts()
getSelectedVisibleTexts in interface WebElementStatepublic String getSelectedValue()
getSelectedValue in interface WebElementStatepublic List<String> getSelectedValues()
getSelectedValues in interface WebElementStatepublic List<String> getSelectOptions()
getSelectOptions in interface WebElementStatepublic boolean isPresent()
isPresent in interface WebElementStatepublic WebElementState shouldBePresent()
shouldBePresent in interface WebElementStatepublic WebElementState shouldNotBePresent()
shouldNotBePresent in interface WebElementStatepublic WebElementState shouldBeSelected()
shouldBeSelected in interface WebElementStatepublic WebElementState shouldNotBeSelected()
shouldNotBeSelected in interface WebElementStatepublic boolean isSelected()
isSelected in interface WebElementStatepublic String getTextValue()
getTextValue in interface WebElementStatepublic String getValue()
getValue in interface WebElementStatepublic String getText()
getText in interface WebElementStatepublic String getAttribute(String name)
getAttribute in interface WebElementStatepublic WebElementState expect(String errorMessage)
expect in interface WebElementStatepublic boolean isClickable()
isClickable in interface WebElementStateCopyright © 2022. All rights reserved.