Pregunta

I want to show "30%" in a MessageBox. How can I get this information from an element in a WebBrowser?

id="meterNumber">30%<
¿Fue útil?

Solución

See HtmlDocument.GetElementById.

MsgBox(WebBrowser1.Document.GetElementById("meterNumber").InnerText) 
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top