public class ElementAttributeConditionFactory extends AbstractBooleanConditionFactory<AttributeConditionFactory> implements AttributeConditionFactory
Constructor and Description |
---|
ElementAttributeConditionFactory(org.openqa.selenium.WebElement element,
String attribute) |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
contains(String expected) |
protected ElementAttributeConditionFactory |
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.
|
getNegation, not, setNegation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
not
public ElementAttributeConditionFactory(org.openqa.selenium.WebElement element, String attribute)
public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isPresent()
BasicConditionFactory
isPresent
in interface BasicConditionFactory<AttributeConditionFactory>
protected ElementAttributeConditionFactory copy()
copy
in class AbstractBooleanConditionFactory<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>
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.