Table of Contents

Class PageRunAndWaitForWorkerOptions

Namespace
Microsoft.Playwright
Assembly
Microsoft.Playwright.dll
public class PageRunAndWaitForWorkerOptions
Inheritance
PageRunAndWaitForWorkerOptions
Inherited Members

Constructors

PageRunAndWaitForWorkerOptions()

public PageRunAndWaitForWorkerOptions()

PageRunAndWaitForWorkerOptions(PageRunAndWaitForWorkerOptions)

public PageRunAndWaitForWorkerOptions(PageRunAndWaitForWorkerOptions clone)

Parameters

clone PageRunAndWaitForWorkerOptions

Properties

Predicate

Receives the IWorker object and resolves to truthy value when the waiting should resolve.

[JsonPropertyName("predicate")]
public Func<IWorker, bool>? Predicate { get; set; }

Property Value

Func<IWorker, bool>

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; }

Property Value

float?