I want to know if I can use WebView2 to browse some web page, and find the links from DOM elements.
For example, I can use Edge browser to visit this web page:
Then from the search results returned, I can see a lot of web links.
var links = document.getElementsByClassName('v-align-middle');
to get all the web URLs (href) from the DOM elements.
I searched around, I can’t find any helpful code example. All other codes didn’t solve my problem.