---
title: captureEvents()
framework: webkit
role: symbol
role_heading: Instance Method
path: webkit/domhtmldocument/captureevents()
---

# captureEvents()

## Declaration

```swift
func captureEvents()
```
