Table of Contents

Class BrowserContextUnrouteAllOptions

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

Constructors

BrowserContextUnrouteAllOptions()

public BrowserContextUnrouteAllOptions()

BrowserContextUnrouteAllOptions(BrowserContextUnrouteAllOptions)

public BrowserContextUnrouteAllOptions(BrowserContextUnrouteAllOptions clone)

Parameters

clone BrowserContextUnrouteAllOptions

Properties

Behavior

Specifies whether to wait for already running handlers and what to do if they throw errors:

  • 'default' - do not wait for current handler calls (if any) to finish, if unrouted handler throws, it may result in unhandled error
  • 'wait' - wait for current handler calls (if any) to finish
  • 'ignoreErrors' - do not wait for current handler calls (if any) to finish, all errors thrown by the handlers after unrouting are silently caught
[JsonPropertyName("behavior")]
public UnrouteBehavior? Behavior { get; set; }

Property Value

UnrouteBehavior?