Table of Contents

Class PageFocusOptions

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

Constructors

PageFocusOptions()

public PageFocusOptions()

PageFocusOptions(PageFocusOptions)

public PageFocusOptions(PageFocusOptions clone)

Parameters

clone PageFocusOptions

Properties

Strict

When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.

[JsonPropertyName("strict")]
public bool? Strict { get; set; }

Property Value

bool?

Timeout

Maximum time in milliseconds. Defaults to 30000 (30 seconds). Pass 0 to disable timeout. The default value can be changed by using the SetDefaultTimeout(float) or SetDefaultTimeout(float) methods.

[JsonPropertyName("timeout")]
public float? Timeout { get; set; }

Property Value

float?