Class TextOfAll
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.TextOfAll
Get the text content of all matching elements.
Sample usage:
List<String> texts = actor.asksFor(TextOfAll.of(".list-item"));
List<String> texts = actor.asksFor(TextOfAll.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