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