Package com.microsoft.playwright
Class Frame.QuerySelectorOptions
java.lang.Object
com.microsoft.playwright.Frame.QuerySelectorOptions
- Enclosing interface:
Frame
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetStrict(boolean strict) When true, the call requires selector to resolve to a single element.
-
Field Details
-
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.
-
-
Constructor Details
-
QuerySelectorOptions
public QuerySelectorOptions()
-
-
Method Details
-
setStrict
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.
-