Class WithTextCaseInsensitive


  • @ParametersAreNonnullByDefault
    public class WithTextCaseInsensitive
    extends org.openqa.selenium.By
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.openqa.selenium.By

        org.openqa.selenium.By.ByClassName, org.openqa.selenium.By.ByCssSelector, org.openqa.selenium.By.ById, org.openqa.selenium.By.ByLinkText, org.openqa.selenium.By.ByName, org.openqa.selenium.By.ByPartialLinkText, org.openqa.selenium.By.ByTagName, org.openqa.selenium.By.ByXPath
    • Constructor Summary

      Constructors 
      Constructor Description
      WithTextCaseInsensitive​(java.lang.String elementText)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.WebElement findElement​(org.openqa.selenium.SearchContext context)  
      java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext context)  
      protected java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext context, int limit)  
      java.lang.String toString()  
      • Methods inherited from class org.openqa.selenium.By

        className, cssSelector, equals, hashCode, id, linkText, name, partialLinkText, tagName, xpath
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WithTextCaseInsensitive

        public WithTextCaseInsensitive​(java.lang.String elementText)
    • Method Detail

      • findElements

        @Nonnull
        protected java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext context,
                                                                              int limit)
      • toString

        @Nonnull
        @CheckReturnValue
        public java.lang.String toString()
        Overrides:
        toString in class org.openqa.selenium.By
      • findElement

        @Nonnull
        @CheckReturnValue
        public org.openqa.selenium.WebElement findElement​(org.openqa.selenium.SearchContext context)
        Overrides:
        findElement in class org.openqa.selenium.By
      • findElements

        @Nonnull
        @CheckReturnValue
        public java.util.List<org.openqa.selenium.WebElement> findElements​(org.openqa.selenium.SearchContext context)
        Specified by:
        findElements in class org.openqa.selenium.By