Class PredicateCollectionCondition
java.lang.Object
com.codeborne.selenide.CollectionCondition
com.codeborne.selenide.collections.PredicateCollectionCondition
@ParametersAreNonnullByDefault
public abstract class PredicateCollectionCondition
extends CollectionCondition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
protected final String
protected final Predicate<org.openqa.selenium.WebElement>
Fields inherited from class com.codeborne.selenide.CollectionCondition
empty, explanation
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PredicateCollectionCondition
(String matcher, String description, Predicate<org.openqa.selenium.WebElement> predicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fail
(CollectionSource collection, List<org.openqa.selenium.WebElement> elements, Exception lastError, long timeoutMs) boolean
toString()
Methods inherited from class com.codeborne.selenide.CollectionCondition
allMatch, anyMatch, attributes, attributes, because, containExactTextsCaseSensitive, containExactTextsCaseSensitive, exactTexts, exactTexts, exactTextsCaseSensitive, exactTextsCaseSensitive, exactTextsCaseSensitiveInAnyOrder, exactTextsCaseSensitiveInAnyOrder, itemWithText, noneMatch, size, sizeGreaterThan, sizeGreaterThanOrEqual, sizeLessThan, sizeLessThanOrEqual, sizeNotEqual, texts, texts, textsInAnyOrder, textsInAnyOrder
-
Field Details
-
matcher
-
description
-
predicate
-
-
Constructor Details
-
PredicateCollectionCondition
-
-
Method Details
-
fail
public void fail(CollectionSource collection, @Nullable List<org.openqa.selenium.WebElement> elements, @Nullable Exception lastError, long timeoutMs) - Specified by:
fail
in classCollectionCondition
-
missingElementSatisfiesCondition
public boolean missingElementSatisfiesCondition()- Specified by:
missingElementSatisfiesCondition
in classCollectionCondition
-
toString
-