Class Focused
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.Focused
- All Implemented Interfaces:
net.serenitybdd.screenplay.Question<Boolean>
Check if an element has focus.
Sample usage:
Boolean focused = actor.asksFor(Focused.of("#email"));
Boolean focused = actor.asksFor(Focused.of(EMAIL_FIELD));
-
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