# Window: captureEvents() method



The **`Window.captureEvents()`** method does nothing. Its original behavior has been removed from the specification, but the method itself has been retained so as not to break code that calls it.

## Syntax

```js-nolint
captureEvents()
```

### Parameters

None.

### Return value

None ([undefined](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)).

## Specifications

## Browser compatibility
