Class InteractiveConsequence

java.lang.Object
net.serenitybdd.screenplay.InteractiveConsequence

public class InteractiveConsequence
extends java.lang.Object
An InteractiveConsequence is a convenience class designed to make it easier to write consequences that need to be preceded by actions, for example when performing a number of soft assertions on a page.
  • Constructor Summary

    Constructors
    Constructor Description
    InteractiveConsequence​(Performable[] actions)  
  • Method Summary

    Modifier and Type Method Description
    static InteractiveConsequence attemptTo​(Performable... actions)  
    <T> Consequence<T> thenCheckThat​(Question<? extends T> actual, org.hamcrest.Matcher<T> expected)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InteractiveConsequence

      public InteractiveConsequence​(Performable[] actions)
  • Method Details