Skip to main content

externalBrowserWindowClosedError

Thrown when you're trying to take a screenshot of a browser window that's already been closed.

Learn more

Hierarchy

Index

Constructors

externalconstructor

  • Parameters

    • externalmessage: string
    • externaloptionalcause: Error

    Returns BrowserWindowClosedError

Properties

externaloptionalreadonlycause

cause?: Error

externalname

name: string

externalmessage

message: string

externaloptionalstack

stack?: string

Methods

externaltoString

  • toString(): string
  • Human-readable description of the error


    Returns string

externaltoJSON

  • toJSON(): object
  • Returns object