-
Method Summary
Returns a condition factory for the given attribute.
org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
Returns a condition holding if and only if the element is clickable (visible and enabled).
org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
Returns a condition holding if and only if the element is enabled.
org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
Returns a condition holding if and only if the element is selected.
org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
Returns a condition holding if and only if the element is visible (present and displayed).
Returns a String condition factory for inner text of the element.
-
Method Details
-
attribute
Returns a condition factory for the given attribute.
- Returns:
-
isEnabled
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isEnabled()
Returns a condition holding if and only if the element is enabled.
-
isSelected
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isSelected()
Returns a condition holding if and only if the element is selected.
- Returns:
-
isVisible
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isVisible()
Returns a condition holding if and only if the element is visible (present and displayed).
- Returns:
-
isClickable
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isClickable()
Returns a condition holding if and only if the element is clickable (visible and enabled).
- Returns:
-
text
Returns a String condition factory for inner text of the element.
- Returns: