It may be possible to use UI Automation classes to get that. This approach is also fine for test app since you will have limited windows.
var target = UIATarget.localTarget();
var appWindow = target.frontMostApp().mainWindow();

They have also webViews() method in UIAWindow.