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

com.nordstrom.automation.selenium.interfaces.DriverProvider Maven / Gradle / Ivy

Go to download

Selenium3 Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium 3.0 (WebDriver).

There is a newer version: 1.0.4
Show newest version
package com.nordstrom.automation.selenium.interfaces;

import java.lang.reflect.Method;

import org.openqa.selenium.WebDriver;

import com.nordstrom.automation.selenium.core.TestBase;

/**
 * Test classes with non-standard driver configurations implement this interface, which enables the driver manager 
 * to obtain a driver from the {@link #provideDriver(TestBase, Method)} method of test class instance.
 */
public interface DriverProvider {
    
    /**
     * Acquire a driver object for the specified method.
     * 
     * @param instance test class instance
     * @param method the method being invoked
     * @return driver object
     */
    WebDriver provideDriver(TestBase instance, Method method);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy