Reading labels Web browser
I solved how to read the texo of a div:
But am trying to read this:
And i cant find the solution of this i have tried with everything that i know and i cant, somebody know?
What i kind of app i will do? i just want to create a webbrowser bot
i want to take the text "Server is odd" and put it in a label
Code:
For Each el As HtmlElement In WebBrowser1.Document.GetElementsByTagName("div")
If el.GetAttribute("className") = "Name" Then
Label5.Text = el.InnerText
End If
Next
Code:
<label for="On">Server is off</label>
What i kind of app i will do? i just want to create a webbrowser bot

i want to take the text "Server is odd" and put it in a label