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

net.thucydides.core.webdriver.Configuration Maven / Gradle / Ivy

There is a newer version: 1.0.47
Show newest version
package net.thucydides.core.webdriver;

import com.google.common.base.Optional;
import net.thucydides.core.model.TakeScreenshots;
import net.thucydides.core.util.EnvironmentVariables;

import java.io.File;

public interface Configuration {
    SupportedWebDriver getDriverType();

    int getStepDelay();

    int getElementTimeout();

    boolean getUseUniqueBrowser();

    void setOutputDirectory(File outputDirectory);

    File getOutputDirectory();

    double getEstimatedAverageStepCount();

    boolean onlySaveFailingScreenshots();

    void setDefaultBaseUrl(final String defaultBaseUrl);

    int getRestartFrequency();
    /**
     * This is the URL where test cases start.
     * The default value can be overriden using the webdriver.baseurl property.
     * It is also the base URL used to build relative paths.
     */

    int getCurrentTestCount();

    String getBaseUrl();

    /**
     * Take a screenshot for each action.
     */
    boolean takeVerboseScreenshots();

    /**
     * How often should screenshots be taken.
     */
    Optional getScreenshotLevel();

    boolean storeHtmlSourceCode();

    void setIfUndefined(String property, String value);

    Configuration copy();

    Configuration withEnvironmentVariables(EnvironmentVariables environmentVariables);

    EnvironmentVariables getEnvironmentVariables();

    int maxRetries();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy