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

aquality.selenium.browser.BrowserModule Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
package aquality.selenium.browser;

import aquality.selenium.configuration.*;
import aquality.selenium.core.applications.AqualityModule;
import aquality.selenium.elements.IElementsModule;
import aquality.selenium.elements.interfaces.IElementFactory;
import com.google.inject.Provider;
import com.google.inject.Singleton;

public class BrowserModule extends AqualityModule implements IConfigurationsModule, IElementsModule {

    public BrowserModule(Provider applicationProvider) {
        super(applicationProvider);
    }

    @Override
    protected void configure() {
        super.configure();
        bind(ITimeoutConfiguration.class).to(getTimeoutConfigurationImplementation()).in(Singleton.class);
        bind(IBrowserProfile.class).to(getBrowserProfileImplementation()).in(Singleton.class);
        bind(IElementFactory.class).to(getElementFactoryImplementation());
        bind(IConfiguration.class).to(getConfigurationImplementation());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy