<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKFrameInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKFrameInfo"
  },
  "title" : "WKFrameInfo"
}
-->

# WKFrameInfo

An object that contains information about a frame on a webpage.

```
@MainActor class WKFrameInfo
```

## Overview

An instance of this class is a transient, data-only object; it does not uniquely identify a frame across multiple delegate method calls.

## Topics

### Inspecting frame information

[`isMainFrame`](/documentation/WebKit/WKFrameInfo/isMainFrame)

A Boolean value indicating whether the frame is the web site’s main frame or a subframe.

[`request`](/documentation/WebKit/WKFrameInfo/request)

The frame’s current request.

[`securityOrigin`](/documentation/WebKit/WKFrameInfo/securityOrigin)

The frame’s security origin.

[`webView`](/documentation/WebKit/WKFrameInfo/webView)

The web view that contains this frame and the containing webpage.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)