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) |
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
equalToIgnoreCase(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.
|
org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
matches(String expected) |
getNegation, not, setNegationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnotprotected 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()
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>public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> equalToIgnoreCase(String expected)
equalToIgnoreCase in interface StringConditionFactory<AttributeConditionFactory>public org.openqa.selenium.support.ui.ExpectedCondition<Boolean> matches(String expected)
matches 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 © 2017 JBoss by Red Hat. All rights reserved.