Hello! I've installed WebView2.DevTools.Dom on top of WebView2 and see that there is an HtmlDocument class.
How can I access the HtmlDocument for my WebView2 control?
Several AIs have claimed I can do
var devToolsContext = await webView2Control.CoreWebView2.CreateDevToolsContextAsync();
// Get the HtmlDocument from the context
var htmlDocument = await devToolsContext.GetHtmlDocumentAsync();
but Visual Studio does not recognize GetHtmlDocumentAsync().
What's the correct syntax for this?