Table of Contents

Class FrameFocusOptions

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

Constructors

FrameFocusOptions()

public FrameFocusOptions()

FrameFocusOptions(FrameFocusOptions)

public FrameFocusOptions(FrameFocusOptions clone)

Parameters

clone FrameFocusOptions

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?