Class Selectors.ByText

  • All Implemented Interfaces:
    Enclosing class:

    public static class Selectors.ByText
    extends org.openqa.selenium.By.ByXPath
    See Also:
    Serialized Form
    • 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
    • Field Summary

      Modifier and Type Field Description
      protected java.lang.String elementText  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class org.openqa.selenium.By.ByXPath

        findElement, findElements
      • 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
    • Field Detail

      • elementText

        protected final java.lang.String elementText
    • Constructor Detail

      • ByText

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

      • toString

        public java.lang.String toString()
        toString in class org.openqa.selenium.By.ByXPath