I intend to get the content of a dom element from a website, I cant use
var html = await client.GetAsync("http://example.com/test.html");
as the specific dom element is populated after the JS is executed I can use a webview to host the content but that won't solve the problem I can't use HtmlDocument.GetElementById Method (String) either as it is under System.Windows.Forms namespace which isn't supported in Universal Windows Platform! Another option would be InvokeAsync
await webView5.InvokeScriptAsync("doSomething", null);
as seen in scenario 5 of XAML WebView control sample but that just fires events and won't help in getting the dom element (or even the source code once the JS execution done). //The app is a C# UWP, not Winjs