Package com.microsoft.playwright
Class ElementHandle.SelectOptionOptions
- java.lang.Object
-
- com.microsoft.playwright.ElementHandle.SelectOptionOptions
-
- Enclosing interface:
- ElementHandle
public static class ElementHandle.SelectOptionOptions extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
force
Whether to bypass the actionability checks.Boolean
noWaitAfter
Deprecated.This option has no effect.Double
timeout
Maximum time in milliseconds.
-
Constructor Summary
Constructors Constructor Description SelectOptionOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ElementHandle.SelectOptionOptions
setForce(boolean force)
Whether to bypass the actionability checks.ElementHandle.SelectOptionOptions
setNoWaitAfter(boolean noWaitAfter)
Deprecated.This option has no effect.ElementHandle.SelectOptionOptions
setTimeout(double timeout)
Maximum time in milliseconds.
-
-
-
Field Detail
-
force
public Boolean force
Whether to bypass the actionability checks. Defaults tofalse
.
-
noWaitAfter
public Boolean noWaitAfter
Deprecated.This option has no effect.
-
timeout
public Double timeout
Maximum time in milliseconds. Defaults to30000
(30 seconds). Pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-
Method Detail
-
setForce
public ElementHandle.SelectOptionOptions setForce(boolean force)
Whether to bypass the actionability checks. Defaults tofalse
.
-
setNoWaitAfter
public ElementHandle.SelectOptionOptions setNoWaitAfter(boolean noWaitAfter)
Deprecated.This option has no effect.
-
setTimeout
public ElementHandle.SelectOptionOptions setTimeout(double timeout)
Maximum time in milliseconds. Defaults to30000
(30 seconds). Pass0
to disable timeout. The default value can be changed by using theBrowserContext.setDefaultTimeout()
orPage.setDefaultTimeout()
methods.
-
-