Commits

Dariusz Kordonski committed 6eb3cef

SELENIUM-77 fixing to return configurableinjectioncontext

Comments (0)

Files changed (1)

atlassian-pageobjects-api/src/main/java/com/atlassian/pageobjects/util/InjectingTestedProducts.java

      * @throws IllegalArgumentException if the product is not providing configurable injection (which can be verified by
      * calling {@link #supportsConfigurableInjection(com.atlassian.pageobjects.TestedProduct)}.
      */
-    public static InjectionContext asConfigurableInjectionContext(TestedProduct<?> product)
+    public static ConfigurableInjectionContext asConfigurableInjectionContext(TestedProduct<?> product)
     {
         if (product instanceof ConfigurableInjectionContext)
         {