<!--
{
  "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/getWindowProxyFrame(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKJSHandle(im)getWindowProxyFrameWithCompletionHandler:"
  },
  "title" : "getWindowProxyFrame(completionHandler:)"
}
-->

# getWindowProxyFrame(completionHandler:)

```
func getWindowProxyFrame(completionHandler: @escaping (WKFrameInfo?) -> Void)
```

```
var windowProxyFrame: WKFrameInfo? { get async }
```

## Discussion\abstract The frame represented by the JavaScript value.
\discussion If the `WKJSHandle` represents a JavaScript Window proxy object, the result of this method will be a snapshot of the
frame represented by that Window object.
Otherwise the result of this method will be `nil`

---

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)