public class LocatorAttributeConditionFactory extends AbstractBooleanConditionFactory<AttributeConditionFactory> implements AttributeConditionFactory
| Constructor and Description |
|---|
LocatorAttributeConditionFactory(org.openqa.selenium.By locator,
String attribute) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
contains(String expected) |
protected AttributeConditionFactory |
copy() |
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
equalTo(String expected) |
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
isPresent()
Returns a condition holding if and only if the object is present on the page.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
valueContains(String expected)
Returns a condition holding if and only if the attribute value contains
the given string.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
valueEquals(String expected)
Returns a condition holding if and only if the attribute value equals to
the given string.
|
getNegation, not, setNegationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotpublic LocatorAttributeConditionFactory(org.openqa.selenium.By locator,
String attribute)
public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> valueContains(String expected)
AttributeConditionFactoryvalueContains in interface AttributeConditionFactorypublic org.openqa.selenium.support.ui.ExpectedCondition<Boolean> valueEquals(String expected)
AttributeConditionFactoryvalueEquals in interface AttributeConditionFactorypublic org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isPresent()
BasicConditionFactoryisPresent in interface BasicConditionFactory<AttributeConditionFactory>public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> contains(String expected)
contains in interface StringConditionFactory<AttributeConditionFactory>public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> equalTo(String expected)
equalTo in interface StringConditionFactory<AttributeConditionFactory>protected AttributeConditionFactory copy()
copy in class AbstractBooleanConditionFactory<AttributeConditionFactory>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.