Package com.microsoft.playwright
Class ElementHandle.CheckOptions
- java.lang.Object
-
- com.microsoft.playwright.ElementHandle.CheckOptions
-
- Enclosing interface:
- ElementHandle
public static class ElementHandle.CheckOptions extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
force
Whether to bypass the actionability checks.Boolean
noWaitAfter
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading.Integer
timeout
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout.
-
Constructor Summary
Constructors Constructor Description CheckOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementHandle.CheckOptions
withForce(Boolean force)
ElementHandle.CheckOptions
withNoWaitAfter(Boolean noWaitAfter)
ElementHandle.CheckOptions
withTimeout(Integer timeout)
-
-
-
Field Detail
-
force
public Boolean force
Whether to bypass the actionability checks. Defaults tofalse
.
-
noWaitAfter
public Boolean noWaitAfter
Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults tofalse
.
-
timeout
public Integer timeout
Maximum time in milliseconds, defaults to 30 seconds, pass0
to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
-
-
Method Detail
-
withForce
public ElementHandle.CheckOptions withForce(Boolean force)
-
withNoWaitAfter
public ElementHandle.CheckOptions withNoWaitAfter(Boolean noWaitAfter)
-
withTimeout
public ElementHandle.CheckOptions withTimeout(Integer timeout)
-
-