Table of Contents

Class LocatorClearOptions

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

Constructors

LocatorClearOptions()

public LocatorClearOptions()

LocatorClearOptions(LocatorClearOptions)

public LocatorClearOptions(LocatorClearOptions clone)

Parameters

clone LocatorClearOptions

Properties

Force

Whether to bypass the actionability checks. Defaults to false.

[JsonPropertyName("force")]
public bool? Force { get; set; }

Property Value

bool?

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?

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?