PlaywrightEx.TargetClosedError exception (PlaywrightEx v0.17.0-rc.5)

Copy Markdown View Source

The page, context or browser of a call has been closed, or the driver has exited.

The fields are those of PlaywrightEx.PlaywrightError; name is "Error", as in JS. Port of JS TargetClosedError (packages/playwright-core/src/client/errors.ts).

Summary

Types

t()

See the module docs for the fields.

Types

t()

@type t() :: %PlaywrightEx.TargetClosedError{
  __exception__: term(),
  cause: term(),
  code: String.t() | nil,
  details: map() | nil,
  log: [String.t()],
  message: String.t(),
  name: String.t(),
  stack: String.t()
}

See the module docs for the fields.