Open
Description
executeScript rarely returns JSON e.g.
WebView2.executeScript("document.activeElement.getBoundingClientRect()")
Returns null
I'm having to wrap the result in JSON.
WebView2.executeScript("JSON.stringify(document.activeElement.getBoundingClientRect())")
Returns correct JSON but escaped (as expected).
"{\"x\":296,\"y\":322.5,\"width\":427,\"height\":34,\"top\":322.5,\"right\":723,\"bottom\":356.5,\"left\":296}"