Class Text

    • Field Detail

      • text

        protected final java.lang.String text
    • Constructor Detail

      • Text

        public Text​(java.lang.String text)
    • Method Detail

      • apply

        public boolean apply​(Driver driver,
                             org.openqa.selenium.WebElement element)
        Description copied from class: Condition
        Check if given element matches this condition.
        Specified by:
        apply in class Condition
        element - given WebElement
        Returns:
        true if element matches condition
      • toString

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