<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKJSHandle/sourceFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKJSHandle(py)sourceFrame"
  },
  "title" : "sourceFrame"
}
-->

# sourceFrame

```
@NSCopying var sourceFrame: WKFrameInfo { get }
```

## Discussion\abstract The frame from which the `WKJSHandle` originates and where it can be used.
\discussion 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`.

---

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)