Table of Contents

Class FrameTypeOptions

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

Constructors

FrameTypeOptions()

public FrameTypeOptions()

FrameTypeOptions(FrameTypeOptions)

public FrameTypeOptions(FrameTypeOptions clone)

Parameters

clone FrameTypeOptions

Properties

Delay

Time to wait between key presses in milliseconds. Defaults to 0.

[JsonPropertyName("delay")]
public float? Delay { get; set; }

Property Value

float?

NoWaitAfter

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.

[JsonPropertyName("noWaitAfter")]
public bool? NoWaitAfter { get; set; }

Property Value

bool?

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?