Contents

getWindowProxyFrame(completionHandler:)

Declaration

func getWindowProxyFrame(completionHandler: @escaping (WKFrameInfo?) -> Void)
var windowProxyFrame: WKFrameInfo? { get async }

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