Class PageRunAndWaitForRequestFinishedOptions
- Namespace
- Microsoft.Playwright
- Assembly
- Microsoft.Playwright.dll
public class PageRunAndWaitForRequestFinishedOptions
- Inheritance
-
PageRunAndWaitForRequestFinishedOptions
- Inherited Members
Constructors
PageRunAndWaitForRequestFinishedOptions()
public PageRunAndWaitForRequestFinishedOptions()
PageRunAndWaitForRequestFinishedOptions(PageRunAndWaitForRequestFinishedOptions)
public PageRunAndWaitForRequestFinishedOptions(PageRunAndWaitForRequestFinishedOptions clone)
Parameters
Properties
Predicate
Receives the IRequest object and resolves to truthy value when the waiting should resolve.
[JsonPropertyName("predicate")]
public Func<IRequest, bool>? Predicate { 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).
[JsonPropertyName("timeout")]
public float? Timeout { get; set; }