Class ElementListInstanceLocator

  • All Implemented Interfaces:
    WrapsElements, org.openqa.selenium.support.pagefactory.ElementLocator

    public class ElementListInstanceLocator
    extends ElementListSupplierLocator
    implements WrapsElements
    ElementLocator for an already found list of WebElement instance.
    • Constructor Detail

      • ElementListInstanceLocator

        public ElementListInstanceLocator​(List<org.openqa.selenium.WebElement> elements)
        Creates a new element list instance locator
        Parameters:
        elements - element list instance
    • Method Detail

      • getWrappedElements

        public List<org.openqa.selenium.WebElement> getWrappedElements()
        Description copied from interface: WrapsElements
        Get the wrapped elements
        Specified by:
        getWrappedElements in interface WrapsElements
        Returns:
        wrapped elements