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

com.salesforceiq.augmenteddriver.util.AugmentedProvider Maven / Gradle / Ivy

package com.salesforceiq.augmenteddriver.util;

import com.google.inject.Provider;
import org.openqa.selenium.remote.RemoteWebDriver;

/**
 * Provider extension that also allows initializing it
 *
 * (since we cannot initialize it at Guice init time, since the driver needs to be created,
 * and that is at setUp time.
 */
public interface AugmentedProvider extends Provider {
    /**
     * Sets the driver that will be used for this test.
     *
     * 

* SHOULD NOT BE CALLED OUTSIDE THE SETUP FOR THE BASE TESTCASES. *

* @param driver the driver to set. */ void initialize(T driver); /** * @return Whether the provider has been initialized or not. */ boolean isInitialized(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy