Class DefaultLocator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Predicate<org.openqa.selenium.WebElement> filter  
      protected boolean unique  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Locator filter​(java.util.function.Predicate<org.openqa.selenium.WebElement> filter)  
      org.openqa.selenium.By getBy()  
      java.util.function.Predicate<org.openqa.selenium.WebElement> getFilter()  
      boolean isUnique()  
      java.lang.String toString()  
      Locator unique()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • filter

        protected java.util.function.Predicate<org.openqa.selenium.WebElement> filter
      • unique

        protected boolean unique
    • Method Detail

      • getBy

        public org.openqa.selenium.By getBy()
        Specified by:
        getBy in interface Locator
      • isUnique

        public boolean isUnique()
      • filter

        public Locator filter​(java.util.function.Predicate<org.openqa.selenium.WebElement> filter)
        Specified by:
        filter in interface Locator
      • getFilter

        public java.util.function.Predicate<org.openqa.selenium.WebElement> getFilter()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object