net.thucydides.core.steps.PageObjectStepDelayer Maven / Gradle / Ivy
package net.thucydides.core.steps;
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.model.time.SystemClock;
public class PageObjectStepDelayer {
private final SystemClock clock;
private final T parent;
public PageObjectStepDelayer(SystemClock clock, T parent) {
this.clock = clock;
this.parent = parent;
}
public WaitForBuilder waitFor(int duration) {
return new WaitForBuilder<>(duration, parent, clock);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy