Table of Contents

Class BrowserContextWaitForPageOptions

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

Constructors

BrowserContextWaitForPageOptions()

public BrowserContextWaitForPageOptions()

BrowserContextWaitForPageOptions(BrowserContextWaitForPageOptions)

public BrowserContextWaitForPageOptions(BrowserContextWaitForPageOptions clone)

Parameters

clone BrowserContextWaitForPageOptions

Properties

Predicate

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

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

Property Value

Func<IPage, 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?