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

aquality.selenium.configuration.driversettings.IDriverSettings Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
package aquality.selenium.configuration.driversettings;

import aquality.selenium.browser.BrowserName;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.PageLoadStrategy;
import org.openqa.selenium.remote.AbstractDriverOptions;

/**
 * Describes web driver settings.
 */
public interface IDriverSettings {

    /**
     * Gets web driver capabilities.
     * @return initialized {@link Capabilities}
     */
    AbstractDriverOptions getDriverOptions();

    /**
     * Gets WebDriver page load strategy.
     * @return initialized {@link PageLoadStrategy}
     */
    PageLoadStrategy getPageLoadStrategy();

    /**
     * Gets download directory for web driver.
     * @return Path to download directory.
     */
    String getDownloadDir();

    /**
     * Gets web driver capability key for download directory.
     * @return Web driver capability key
     */
    String getDownloadDirCapabilityKey();

    /**
     * Get desired browser name.
     * @return Browser name
     */
    BrowserName getBrowserName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy