@ParametersAreNonnullByDefault public class CustomMatch extends Condition
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Predicate<org.openqa.selenium.WebElement> |
predicate |
| Constructor and Description |
|---|
CustomMatch(java.lang.String description,
java.util.function.Predicate<org.openqa.selenium.WebElement> predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Driver driver,
org.openqa.selenium.WebElement element)
Check if given element matches this condition.
|
java.lang.String |
toString() |
actualValue, and, attribute, attribute, attributeMatching, be, because, cssClass, cssValue, exactOwnText, exactText, exactTextCaseSensitive, exactValue, getName, have, href, id, match, matchesText, matchText, missingElementSatisfiesCondition, name, negate, not, or, ownText, pseudo, pseudo, selectedText, text, textCaseSensitive, type, valueprotected final java.util.function.Predicate<org.openqa.selenium.WebElement> predicate
public CustomMatch(java.lang.String description,
java.util.function.Predicate<org.openqa.selenium.WebElement> predicate)