windowProxyFrameInfo(_:)
Declaration
func windowProxyFrameInfo(_ completionHandler: @escaping @Sendable (WKFrameInfo?) -> Void)func windowProxyFrameInfo() async -> WKFrameInfo?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