Package com.microsoft.playwright
Class Frame.SelectOptionOptions
- java.lang.Object
-
- com.microsoft.playwright.Frame.SelectOptionOptions
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
force
Whether to bypass the actionability checks.Boolean
noWaitAfter
Deprecated.This option has no effect.Boolean
strict
When true, the call requires selector to resolve to a single element.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 Frame.SelectOptionOptions
setForce(boolean force)
Whether to bypass the actionability checks.Frame.SelectOptionOptions
setNoWaitAfter(boolean noWaitAfter)
Deprecated.This option has no effect.Frame.SelectOptionOptions
setStrict(boolean strict)
When true, the call requires selector to resolve to a single element.Frame.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.
-
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
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 Frame.SelectOptionOptions setForce(boolean force)
Whether to bypass the actionability checks. Defaults tofalse
.
-
setNoWaitAfter
public Frame.SelectOptionOptions setNoWaitAfter(boolean noWaitAfter)
Deprecated.This option has no effect.
-
setStrict
public Frame.SelectOptionOptions 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 Frame.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.
-
-