Class Count
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.Count
- All Implemented Interfaces:
net.serenitybdd.screenplay.Question<Integer>
Get the count of matching elements.
Sample usage:
Integer count = actor.asksFor(Count.of(".item"));
Integer count = actor.asksFor(Count.of(LIST_ITEMS));
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Question
as, asADate, asADate, asBigDecimal, asBoolean, asCollectionOf, asDouble, asEnum, asFloat, asInteger, asListOf, asLong, asString, describedAs, getSubject, map, mapEach