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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheck(CollectionSource collection) The most powerful way to implement condition.voidfail(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:WebElementsConditionThe most powerful way to implement condition. Can check the collection using JavaScript or any other effective means. Also, can return "actual values" in the returnedCheckResultobject.- Overrides:
checkin classWebElementsCondition
-
fail
public void fail(CollectionSource collection, CheckResult lastCheckResult, @Nullable Exception cause, long timeoutMs) Description copied from class:WebElementsConditionOverride this method if you want to customize error class or description- Overrides:
failin classWebElementsCondition
-
toString
- Specified by:
toStringin classWebElementsCondition
-