---
title: frame
framework: WebKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: webkit/wkjshandle/frame
---

# frame

## Declaration

```swift
@NSCopying var frame: WKFrameInfo { get }
```

## Discussion

Discussion The frame in which the WKJSHandle can be used. If the WKJSHandle is used as an argument to JavaScript in another frame or after the indicated frame has navigated, it will be interpreted as the JavaScript value undefined.
