> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PageEvent

A list of events that can occur on a page, such as 'load', 'crash', or 'console' messages. These can be waited for or monitored.

## Definition

```graphql theme={null}
enum PageEvent {
  CLOSE
  CONSOLE
  CRASH
  DIALOG
  DOM_CONTENT_LOADED
  DOWNLOAD
  FILE_CHOOSER
  FRAME_ATTACHED
  FRAME_DETACHED
  FRAME_NAVIGATED
  LOAD
  PAGE_ERROR
  POPUP
  REQUEST
  REQUEST_FAILED
  REQUEST_FINISHED
  RESPONSE
  WEBSOCKET
  WORKER
}
```

## Values

### `CLOSE`

The page has been closed.

### `CONSOLE`

A console message was logged by the page's JavaScript.

### `CRASH`

The page or one of its frames has crashed.

### `DIALOG`

A JavaScript dialog (alert, confirm, prompt, or beforeunload) has appeared.

### `DOM_CONTENT_LOADED`

The \`DOMContentLoaded\` event was fired on the page.

### `DOWNLOAD`

A download has started.

### `FILE_CHOOSER`

A file chooser dialog has been opened.

### `FRAME_ATTACHED`

A new frame has been attached to the page.

### `FRAME_DETACHED`

A frame has been detached from the page.

### `FRAME_NAVIGATED`

A frame within the page has navigated to a new URL.

### `LOAD`

The \`load\` event was fired on the page.

### `PAGE_ERROR`

An uncaught exception occurred within the page.

### `POPUP`

A new page (popup) has been opened from this page.

### `REQUEST`

A network request is issued by the page.

### `REQUEST_FAILED`

A network request initiated by the page has failed.

### `REQUEST_FINISHED`

A network request initiated by the page has finished successfully.

### `RESPONSE`

A response to a network request is received.

### `WEBSOCKET`

A WebSocket connection has been opened.

### `WORKER`

A new WebWorker has been created by the page.
