Class PageWaitForFunctionOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class PageWaitForFunctionOptions
- Inheritance
-
PageWaitForFunctionOptions
- Inherited Members
Constructors
PageWaitForFunctionOptions()
public PageWaitForFunctionOptions()
PageWaitForFunctionOptions(PageWaitForFunctionOptions)
public PageWaitForFunctionOptions(PageWaitForFunctionOptions 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; }