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

io.github.kgress.scaffold.WebDriverContext Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
package io.github.kgress.scaffold;

import lombok.Getter;
import lombok.Setter;

/**
 * A model that is used to pair a {@link WebDriverManager} with a TestName. This is used in the {@link BaseTestContext} class.
 *
 * As of now, this file lives under the framework module for ease of use. It is not included under modules due to a cyclical
 * dependency.
 */
public class WebDriverContext {

    @Getter
    public WebDriverManager webDriverManager;

    @Getter @Setter public String testName;

    public WebDriverContext(WebDriverManager webDriverManager, String testName) {
        this.webDriverManager = webDriverManager;
        this.testName = testName;
    }

    public WebDriverContext webDriverManager(WebDriverManager webDriverManager) {
        this.webDriverManager = webDriverManager;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy