Package com.microsoft.playwright
Class Locator.GetByTextOptions
- java.lang.Object
-
- com.microsoft.playwright.Locator.GetByTextOptions
-
-
Constructor Summary
Constructors Constructor Description GetByTextOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locator.GetByTextOptions
setExact(boolean exact)
Whether to find an exact match: case-sensitive and whole-string.
-
-
-
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.
-
-
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.
-
-