public interface ElementConditionFactory extends BasicConditionFactory<ElementConditionFactory>
| Modifier and Type | Method and Description |
|---|---|
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).
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
textContains(String expected)
Returns a condition holding if and only if the element contains the given text.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
textEquals(String expected)
Returns a condition holding if and only if the text inside the element
equals to the given one.
|
isPresentnotorg.openqa.selenium.support.ui.ExpectedCondition<Boolean> isSelected()
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isVisible()
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> textContains(String expected)
expected - Copyright © 2012 JBoss by Red Hat. All Rights Reserved.