We have a VSTO addin for MS Project 2010/2013/2016/2019, where it imports/exports data from an external application and these pages are rendered in embedded Internet Explorer browser from MS Project.
Since IE support will be ending in few years, we are moving to new embedded browser control known as the Microsoft Edge WebView2 control.
I need the handle to html document so that I can get elements from html based on element id or tag name and call click handler on html element.
Need equivalent of :
HtmlDocument doc = browser.Document
HtmlElementCollection elCol = doc.GetElementsByTagName("button");
Any help would be highly appreciated.
Thanks,
Priyanka