Class LocatorAttributeConditionFactory
java.lang.Object
org.jboss.arquillian.graphene.condition.AbstractBooleanConditionFactory<AttributeConditionFactory>
org.jboss.arquillian.graphene.condition.attribute.LocatorAttributeConditionFactory
- All Implemented Interfaces:
AttributeConditionFactory,BasicConditionFactory<AttributeConditionFactory>,BooleanConditionFactory<AttributeConditionFactory>,StringConditionFactory<AttributeConditionFactory>
public class LocatorAttributeConditionFactory
extends AbstractBooleanConditionFactory<AttributeConditionFactory>
implements AttributeConditionFactory
- Author:
- Jan Papousek, Jiri Stefek
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocatorAttributeConditionFactory(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By locator, String attribute) -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.support.ui.ExpectedCondition<Boolean>protected AttributeConditionFactorycopy()org.openqa.selenium.support.ui.ExpectedCondition<Boolean>org.openqa.selenium.support.ui.ExpectedCondition<Boolean>equalToIgnoreCase(String expected) protected org.openqa.selenium.WebElementfindElement(org.openqa.selenium.By by, org.openqa.selenium.WebDriver driver) org.openqa.selenium.support.ui.ExpectedCondition<Boolean>Returns a condition holding if and only if the object is present on the page.org.openqa.selenium.support.ui.ExpectedCondition<Boolean>Methods inherited from class org.jboss.arquillian.graphene.condition.AbstractBooleanConditionFactory
getNegation, not, setNegationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.arquillian.graphene.condition.BooleanConditionFactory
not
-
Field Details
-
LOGGER
-
-
Constructor Details
-
LocatorAttributeConditionFactory
public LocatorAttributeConditionFactory(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By locator, String attribute)
-
-
Method Details
-
isPresent
Description copied from interface:BasicConditionFactoryReturns a condition holding if and only if the object is present on the page.- Specified by:
isPresentin interfaceBasicConditionFactory<AttributeConditionFactory>- Returns:
-
contains
- Specified by:
containsin interfaceStringConditionFactory<AttributeConditionFactory>
-
equalTo
- Specified by:
equalToin interfaceStringConditionFactory<AttributeConditionFactory>
-
equalToIgnoreCase
- Specified by:
equalToIgnoreCasein interfaceStringConditionFactory<AttributeConditionFactory>
-
matches
- Specified by:
matchesin interfaceStringConditionFactory<AttributeConditionFactory>
-
copy
- Specified by:
copyin classAbstractBooleanConditionFactory<AttributeConditionFactory>
-
findElement
protected org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by, org.openqa.selenium.WebDriver driver)
-