Class PredicateCollectionCondition
java.lang.Object
com.codeborne.selenide.WebElementsCondition
com.codeborne.selenide.collections.PredicateCollectionCondition
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final String
protected final Predicate<org.openqa.selenium.WebElement>
Fields inherited from class com.codeborne.selenide.WebElementsCondition
explanation
-
Constructor Summary
ModifierConstructorDescriptionprotected
PredicateCollectionCondition
(String matcher, String description, Predicate<org.openqa.selenium.WebElement> predicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fail
(CollectionSource collection, CheckResult lastCheckResult, @Nullable Exception cause, long timeoutMs) Override this method if you want to customize error class or descriptiontoString()
Methods inherited from class com.codeborne.selenide.WebElementsCondition
because, check, check, errorMessage, expectedValue, missingElementsSatisfyCondition, or
-
Field Details
-
matcher
-
description
-
predicate
-
-
Constructor Details
-
PredicateCollectionCondition
-
-
Method Details
-
fail
public void fail(CollectionSource collection, CheckResult lastCheckResult, @Nullable Exception cause, long timeoutMs) Description copied from class:WebElementsCondition
Override this method if you want to customize error class or description- Overrides:
fail
in classWebElementsCondition
-
toString
- Specified by:
toString
in classWebElementsCondition
-