Package com.microsoft.playwright
Class Page.QuerySelectorOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.QuerySelectorOptions
-
-
Constructor Summary
Constructors Constructor Description QuerySelectorOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.QuerySelectorOptions
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.
-
-
-
Field Detail
-
strict
public Boolean strict
When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
-
-
Method Detail
-
setStrict
public Page.QuerySelectorOptions setStrict(boolean strict)
When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
-
-