Class LocatorAssertions.HasTextOptions

    • Field Detail

      • ignoreCase

        public Boolean ignoreCase
        Whether to perform case-insensitive match. ignoreCase option takes precedence over the corresponding regular expression flag if specified.
      • timeout

        public Double timeout
        Time to retry the assertion for in milliseconds. Defaults to 5000.
      • useInnerText

        public Boolean useInnerText
        Whether to use element.innerText instead of element.textContent when retrieving DOM node text.
    • Constructor Detail

      • HasTextOptions

        public HasTextOptions()
    • Method Detail

      • setIgnoreCase

        public LocatorAssertions.HasTextOptions setIgnoreCase​(boolean ignoreCase)
        Whether to perform case-insensitive match. ignoreCase option takes precedence over the corresponding regular expression flag if specified.
      • setUseInnerText

        public LocatorAssertions.HasTextOptions setUseInnerText​(boolean useInnerText)
        Whether to use element.innerText instead of element.textContent when retrieving DOM node text.