Class Frame.GetByTextOptions

java.lang.Object
com.microsoft.playwright.Frame.GetByTextOptions
Enclosing interface:
Frame

public static class Frame.GetByTextOptions extends Object
  • Field Details

    • 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 Details

    • GetByTextOptions

      public GetByTextOptions()
  • Method Details

    • setExact

      public Frame.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.