Package com.microsoft.playwright
Class Frame.IsHiddenOptions
java.lang.Object
com.microsoft.playwright.Frame.IsHiddenOptions
- 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.setTimeout(double timeout) Deprecated.This option is ignored.
-
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. -
timeout
Deprecated.This option is ignored.Frame.isHidden()does not wait for the element to become hidden and returns immediately.
-
-
Constructor Details
-
IsHiddenOptions
public IsHiddenOptions()
-
-
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. -
setTimeout
Deprecated.This option is ignored.Frame.isHidden()does not wait for the element to become hidden and returns immediately.
-