Class LazyElementLocator

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

    public class LazyElementLocator
    extends Object
    implements org.openqa.selenium.support.pagefactory.ElementLocator
    • Constructor Detail

      • LazyElementLocator

        public LazyElementLocator​(org.openqa.selenium.support.pagefactory.ElementLocatorFactory elf,
                                  Field field)
    • Method Detail

      • findElement

        public org.openqa.selenium.WebElement findElement()
        Specified by:
        findElement in interface org.openqa.selenium.support.pagefactory.ElementLocator
      • findElements

        public List<org.openqa.selenium.WebElement> findElements()
        Specified by:
        findElements in interface org.openqa.selenium.support.pagefactory.ElementLocator