All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.thucydides.core.steps.PageObjectStepDelayer Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
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