Skip to content

Commit

Permalink
Activated AppiumPageFactory as default
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Jun 11, 2024
1 parent 6b727ac commit 3c1f252
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import com.google.inject.multibindings.Multibinder;
import eu.tsystems.mms.tic.testframework.appium.WinAppDriverFactory;
import eu.tsystems.mms.tic.testframework.mobile.driver.AppiumDriverFactory;
import eu.tsystems.mms.tic.testframework.mobile.pageobject.AppiumPageFactory;
import eu.tsystems.mms.tic.testframework.pageobjects.internal.PageFactory;
import eu.tsystems.mms.tic.testframework.utils.AppiumExecutionUtils;
import eu.tsystems.mms.tic.testframework.utils.ExecutionUtils;
import eu.tsystems.mms.tic.testframework.webdriver.WebDriverFactory;
Expand All @@ -46,5 +48,6 @@ protected void configure() {
webDriverFactoryBinder.addBinding().to(AppiumDriverFactory.class).in(Scopes.SINGLETON);
webDriverFactoryBinder.addBinding().to(WinAppDriverFactory.class).in(Scopes.SINGLETON);
bind(ExecutionUtils.class).to(AppiumExecutionUtils.class).in(Scopes.SINGLETON);
bind(PageFactory.class).to(AppiumPageFactory.class).in(Scopes.SINGLETON); // Support for device specific pages
}
}

0 comments on commit 3c1f252

Please sign in to comment.