Table of Contents

Class PageWaitForFileChooserOptions

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

Constructors

PageWaitForFileChooserOptions()

public PageWaitForFileChooserOptions()

PageWaitForFileChooserOptions(PageWaitForFileChooserOptions)

public PageWaitForFileChooserOptions(PageWaitForFileChooserOptions clone)

Parameters

clone PageWaitForFileChooserOptions

Properties

Predicate

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

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

Property Value

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