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

aquality.selenium.core.applications.IApplication Maven / Gradle / Ivy

Go to download

Library with core functions simplifying work with Selenium-controlled applications.

There is a newer version: 4.2.0
Show newest version
package aquality.selenium.core.applications;

import org.openqa.selenium.remote.RemoteWebDriver;

import java.time.Duration;

/**
 * Interface of any application controlled by Selenium WebDriver API
 */
public interface IApplication {

    /**
     * @return Current instance of driver.
     */
    RemoteWebDriver getDriver();

    /**
     * @return Is the application already running or not.
     */
    boolean isStarted();

    /**
     * Sets implicit wait timeout to Selenium WebDriver.
     * @param value timeout value to set.
     */
    void setImplicitWaitTimeout(Duration value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy