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

net.serenitybdd.screenplay.Tasks Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package net.serenitybdd.screenplay;

import net.thucydides.core.pages.Pages;
import net.thucydides.core.steps.StepFactory;

public class Tasks {

    private static Pages pages = new Pages();
    private static StepFactory stepFactory = StepFactory.getFactory().usingPages(pages);

    public static  T instrumented(Class stepClass, Object... parameters) {
        return stepFactory.getUniqueStepLibraryFor(stepClass, parameters);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy