Class SizeNotEqual
java.lang.Object
com.codeborne.selenide.WebElementsCondition
com.codeborne.selenide.collections.SizeNotEqual
-
Field Summary
Fields inherited from class com.codeborne.selenide.WebElementsCondition
explanation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
apply
(int size) void
fail
(CollectionSource collection, CheckResult lastCheckResult, @Nullable Exception cause, long timeoutMs) Override this method if you want to customize error class or descriptionboolean
toString()
Methods inherited from class com.codeborne.selenide.WebElementsCondition
because, check, errorMessage, expectedValue, or
-
Field Details
-
expectedSize
protected final int expectedSize
-
-
Constructor Details
-
SizeNotEqual
public SizeNotEqual(int expectedSize)
-
-
Method Details
-
toString
- Specified by:
toString
in classWebElementsCondition
-
apply
protected boolean apply(int size) -
check
- 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
-
missingElementsSatisfyCondition
public boolean missingElementsSatisfyCondition()- Overrides:
missingElementsSatisfyCondition
in classWebElementsCondition
-