# `Playwright.TargetClosedError`
[🔗](https://github.com/ftes/playwright_ex/blob/v1.65.0-rc.3/lib/playwright/target_closed_error.ex#L5)

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

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

# `t`

```elixir
@type t() :: %Playwright.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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
