Table of Contents

Class PageRunAndWaitForDownloadOptions

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

Constructors

PageRunAndWaitForDownloadOptions()

public PageRunAndWaitForDownloadOptions()

PageRunAndWaitForDownloadOptions(PageRunAndWaitForDownloadOptions)

public PageRunAndWaitForDownloadOptions(PageRunAndWaitForDownloadOptions clone)

Parameters

clone PageRunAndWaitForDownloadOptions

Properties

Predicate

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

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

Property Value

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