Class OuterHTML
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.OuterHTML
- All Implemented Interfaces:
net.serenitybdd.screenplay.Question<String>
Get the outer HTML of an element (including the element itself).
Sample usage:
String html = actor.asksFor(OuterHTML.of("#container"));
String html = actor.asksFor(OuterHTML.of(CONTAINER));
-
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