Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi
I like to get all html elements in array from metro webview
I can get it as string with this code
C#
ttt.Text = w1.InvokeScript("eval", new string[] { "document.documentElement.outerHTML;" });

but want them as array, to search its tagname and innerhtml
even webview doesn't support document.getelementbytagname
or any .contains() so I decided to find a way to get elements as array
but I couldn't find, can some one help me?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900