com.nordstrom.automation.selenium.interfaces.DriverProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium-foundation Show documentation
Show all versions of selenium-foundation Show documentation
Selenium Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium (WebDriver).
package com.nordstrom.automation.selenium.interfaces;
import java.lang.reflect.Method;
import org.openqa.selenium.WebDriver;
/**
* Test classes with non-standard driver configurations implement this interface, which enables the driver manager
* to obtain a driver from the {@link #provideDriver(Method)} method of test class instance.
*/
public interface DriverProvider {
/**
* Acquire a driver object for the specified method.
* @param method the method being invoked
*
* @return driver object
*/
WebDriver provideDriver(Method method);
}