Class Locator.GetByTextOptions

  • Enclosing interface:
    Locator

    public static class Locator.GetByTextOptions
    extends Object
    • Field Detail

      • exact

        public Boolean exact
        Whether to find an exact match: case-sensitive and whole-string. Default to false. Ignored when locating by a regular expression. Note that exact match still trims whitespace.
    • Constructor Detail

      • GetByTextOptions

        public GetByTextOptions()
    • Method Detail

      • setExact

        public Locator.GetByTextOptions setExact​(boolean exact)
        Whether to find an exact match: case-sensitive and whole-string. Default to false. Ignored when locating by a regular expression. Note that exact match still trims whitespace.