Package net.serenitybdd.screenplay
Class InteractiveConsequence
java.lang.Object
net.serenitybdd.screenplay.InteractiveConsequence
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic InteractiveConsequenceattemptTo(Performable... actions) <T> Consequence<T> thenCheckThat(Question<? extends T> actual, org.hamcrest.Matcher<T> expected)
-
Constructor Details
-
InteractiveConsequence
-
-
Method Details
-
attemptTo
-
thenCheckThat
public <T> Consequence<T> thenCheckThat(Question<? extends T> actual, org.hamcrest.Matcher<T> expected)
-