
net.serenitybdd.screenplay.waits.Wait Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-screenplay Show documentation
Show all versions of serenity-screenplay Show documentation
Support for the User Journey pattern in Serenity
The newest version!
package net.serenitybdd.screenplay.waits;
import net.serenitybdd.screenplay.Question;
import org.hamcrest.Matcher;
import java.util.concurrent.Callable;
public class Wait {
public static WaitWithTimeout until(Question question, Matcher matcher) {
return new WaitOnQuestion(question, matcher);
}
public static WaitWithTimeout until(Callable expectedState) {
return new WaitOnSupplier(expectedState);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy