Class Locator.GetByLabelOptions

java.lang.Object
com.microsoft.playwright.Locator.GetByLabelOptions
Enclosing interface:
Locator

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

    • GetByLabelOptions

      public GetByLabelOptions()
  • Method Details

    • setExact

      public Locator.GetByLabelOptions 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.