Class EnsureWithTimeout
java.lang.Object
net.serenitybdd.screenplay.playwright.assertions.EnsureWithTimeout
- All Implemented Interfaces:
SkipNested,Performable
public class EnsureWithTimeout extends java.lang.Object implements Performable
-
Constructor Summary
Constructors Modifier Constructor Description protectedEnsureWithTimeout(java.lang.String description, java.util.function.Consumer<Actor> performableOperation, java.lang.Double timeout) -
Method Summary
Modifier and Type Method Description <T extends Actor>
voidperformAs(T actor)static EnsureWithTimeoutthat(java.lang.String description, java.util.function.Consumer<Actor> performableOperation)Methods 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
-
EnsureWithTimeout
protected EnsureWithTimeout(java.lang.String description, java.util.function.Consumer<Actor> performableOperation, java.lang.Double timeout)
-
-
Method Details
-
that
public static EnsureWithTimeout that(java.lang.String description, java.util.function.Consumer<Actor> performableOperation) -
performAs
- Specified by:
performAsin interfacePerformable
-