---
title: webArchive
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webdatasource/webarchive
---

# webArchive

A web archive representing the data source, its subresources, and subframes.

## Declaration

```swift
var webArchive: WebArchive! { get }
```

## Discussion

Discussion In the case of HTML, if the current content is preferred, then send webArchive to the appropriate DOM object.

## See Also

### Related Documentation

- [mainResource](webkit/webdatasource/mainresource.md)
