Class FrameWaitForFunctionOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class FrameWaitForFunctionOptions
- Inheritance
-
FrameWaitForFunctionOptions
- Inherited Members
Constructors
FrameWaitForFunctionOptions()
public FrameWaitForFunctionOptions()
FrameWaitForFunctionOptions(FrameWaitForFunctionOptions)
public FrameWaitForFunctionOptions(FrameWaitForFunctionOptions clone)
Parameters
Properties
PollingInterval
If specified, then it is treated as an interval in milliseconds at which the function
would be executed. By default if the option is not specified expression
is executed in requestAnimationFrame
callback.
[JsonPropertyName("pollingInterval")]
public float? PollingInterval { get; set; }
Property Value
Timeout
Maximum time to wait for in milliseconds. Defaults to 30000
(30 seconds).
Pass 0
to disable timeout. The default value can be changed by using the
SetDefaultTimeout(float) or SetDefaultTimeout(float)
methods.
[JsonPropertyName("timeout")]
public float? Timeout { get; set; }