---
title: "windowProxyFrameInfo(_:)"
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/windowproxyframeinfo(_:)"
---

# windowProxyFrameInfo(_:)

## Declaration

```swift
func windowProxyFrameInfo(_ completionHandler: @escaping @Sendable (WKFrameInfo?) -> Void)
```

```swift
func windowProxyFrameInfo() async -> WKFrameInfo?
```

## 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
