Class Page.GetByTextOptions

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

public static class Page.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 Page.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.