aquality.selenium.browser.BrowserModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aquality-selenium Show documentation
Show all versions of aquality-selenium Show documentation
Library around Selenium WebDriver
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