---
title: "getWindowProxyFrame(completionHandler:)"
framework: WebKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+]
path: "webkit/wkjshandle/getwindowproxyframe(completionhandler:)"
---

# getWindowProxyFrame(completionHandler:)

## Declaration

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

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

## Discussion

Discussion The frame represented by the JavaScript value. 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
