io.github.sskorol.config.WebDriverConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webdriver-supplier Show documentation
Show all versions of webdriver-supplier Show documentation
WebDriver Supplier library, which helps to effectively manage web browser sessions.
package io.github.sskorol.config;
import org.aeonbits.owner.Config;
import org.aeonbits.owner.ConfigFactory;
import org.aeonbits.owner.Reloadable;
/**
* WebDriver configuration file. Wait timeout could be overridden by system property or custom wd.properties file.
*/
@Config.LoadPolicy(Config.LoadType.MERGE)
@Config.Sources("classpath:wd.properties")
public interface WebDriverConfig extends Config, Reloadable {
WebDriverConfig WD_CONFIG = ConfigFactory.create(WebDriverConfig.class, System.getenv(), System.getProperties());
@Key("wd.wait.timeout")
@DefaultValue("10")
long wdWaitTimeout();
}