Class WithDevTools
java.lang.Object
net.serenitybdd.screenplay.actions.WithDevTools
- All Implemented Interfaces:
net.serenitybdd.core.SkipNested,net.serenitybdd.markers.CanBeSilent,net.serenitybdd.screenplay.Performable
public class WithDevTools
extends Object
implements net.serenitybdd.screenplay.Performable, net.serenitybdd.markers.CanBeSilent
Perform an action directly using the DevTools API
For example:
actor.attemptsTo(
WithDevTools.perform(
devTools -> devTools.createSession()
)
);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.serenitybdd.screenplay.Question<Object> booleanisSilent()static WithDevTools<T extends net.serenitybdd.screenplay.Actor>
voidperformAs(T actor) net.serenitybdd.screenplay.PerformableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
WithDevTools
-
-
Method Details
-
perform
-
ask
-
performAs
public <T extends net.serenitybdd.screenplay.Actor> void performAs(T actor) - Specified by:
performAsin interfacenet.serenitybdd.screenplay.Performable
-
isSilent
public boolean isSilent()- Specified by:
isSilentin interfacenet.serenitybdd.markers.CanBeSilent
-
withNoReporting
public net.serenitybdd.screenplay.Performable withNoReporting()
-