Class WidgetListInterceptor

    • Constructor Summary

      Constructors 
      Constructor Description
      WidgetListInterceptor​(CacheableLocator locator, java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver, java.util.Map<ContentType,​java.lang.reflect.Constructor<? extends Widget>> instantiationMap, java.lang.Class<? extends Widget> declaredType, java.time.Duration duration)
      Proxy interceptor class for lists of widgets.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object getObject​(java.util.List<org.openqa.selenium.WebElement> elements, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WidgetListInterceptor

        public WidgetListInterceptor​(@Nullable
                                     CacheableLocator locator,
                                     java.lang.ref.WeakReference<org.openqa.selenium.WebDriver> driver,
                                     java.util.Map<ContentType,​java.lang.reflect.Constructor<? extends Widget>> instantiationMap,
                                     java.lang.Class<? extends Widget> declaredType,
                                     java.time.Duration duration)
        Proxy interceptor class for lists of widgets.
    • Method Detail

      • getObject

        protected java.lang.Object getObject​(java.util.List<org.openqa.selenium.WebElement> elements,
                                             java.lang.reflect.Method method,
                                             java.lang.Object[] args)
                                      throws java.lang.Throwable
        Specified by:
        getObject in class InterceptorOfAListOfElements
        Throws:
        java.lang.Throwable