Class Absence
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.Absence
- All Implemented Interfaces:
net.serenitybdd.screenplay.Question<Boolean>
Check if an element is absent from the DOM.
This is the inverse of
Presence.
Sample usage:
Boolean absent = actor.asksFor(Absence.of("#element"));
Boolean absent = actor.asksFor(Absence.of(MY_TARGET));
-
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