public interface ElementConditionFactory extends BasicConditionFactory<ElementConditionFactory>
Modifier and Type | Method and Description |
---|---|
AttributeConditionFactory |
attribute(String attribute)
Returns a condition factory for the given attribute.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
isEnabled()
Returns a condition holding if and only if the element is enabled.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
isSelected()
Returns a condition holding if and only if the element is selected.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
isVisible()
Returns a condition holding if and only if the element is visible (present and displayed).
|
StringConditionFactory<StringConditionFactory> |
text()
Returns a String condition factory for inner text of the element.
|
isPresent
not
AttributeConditionFactory attribute(String attribute)
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isEnabled()
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isSelected()
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isVisible()
StringConditionFactory<StringConditionFactory> text()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.