Package com.microsoft.playwright
Class Page.IsVisibleOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.IsVisibleOptions
-
-
Constructor Summary
Constructors Constructor Description IsVisibleOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Page.IsVisibleOptionssetStrict(boolean strict)When true, the call requires selector to resolve to a single element.Page.IsVisibleOptionssetTimeout(double timeout)Deprecated.This option is ignored.
-
-
-
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.
-
timeout
public Double timeout
Deprecated.This option is ignored.Page.isVisible()does not wait for the element to become visible and returns immediately.
-
-
Method Detail
-
setStrict
public Page.IsVisibleOptions 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.
-
setTimeout
public Page.IsVisibleOptions setTimeout(double timeout)
Deprecated.This option is ignored.Page.isVisible()does not wait for the element to become visible and returns immediately.
-
-