Table of Contents

Class PageUnrouteAllOptions

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

Constructors

PageUnrouteAllOptions()

public PageUnrouteAllOptions()

PageUnrouteAllOptions(PageUnrouteAllOptions)

public PageUnrouteAllOptions(PageUnrouteAllOptions clone)

Parameters

clone PageUnrouteAllOptions

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?