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
    protected EnsureWithTimeout​(java.lang.String description, java.util.function.Consumer<Actor> performableOperation, java.lang.Double timeout)  
  • Method Summary

    Modifier and Type Method Description
    <T extends Actor>
    void
    performAs​(T actor)  
    static EnsureWithTimeout that​(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, wait

    Methods 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

      public <T extends Actor> void performAs​(T actor)
      Specified by:
      performAs in interface Performable