Class ItemWithText
java.lang.Object
com.codeborne.selenide.WebElementsCondition
com.codeborne.selenide.collections.ItemWithText
-
Field Summary
Fields inherited from class com.codeborne.selenide.WebElementsCondition
explanation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(CollectionSource collection) The most powerful way to implement condition.void
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, errorMessage, expectedValue, missingElementsSatisfyCondition, or
-
Constructor Details
-
ItemWithText
-
-
Method Details
-
check
Description copied from class:WebElementsCondition
The most powerful way to implement condition. Can check the collection using JavaScript or any other effective means. Also, can return "actual values" in the returnedCheckResult
object.- Overrides:
check
in classWebElementsCondition
-
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
-