public class LocatorAttributeConditionFactory extends AbstractBooleanConditionFactory<AttributeConditionFactory> implements AttributeConditionFactory
Constructor and Description |
---|
LocatorAttributeConditionFactory(org.openqa.selenium.SearchContext searchContext,
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) |
protected org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By by,
org.openqa.selenium.WebDriver driver) |
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
protected static final Logger LOGGER
public LocatorAttributeConditionFactory(org.openqa.selenium.SearchContext searchContext, org.openqa.selenium.By locator, String attribute)
public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isPresent()
BasicConditionFactory
isPresent
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>
protected org.openqa.selenium.WebElement findElement(org.openqa.selenium.By by, org.openqa.selenium.WebDriver driver)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.