I have the following HTML code snippet:
ThiscodebelongstoapageofanAirOS(internetradio)radio.
IneedtoreferencethisbuttoninsideaprogrammadeinWindowsFormsandmakeafunctionforittobeexecutedandtheradioreboot.
Iwasonlyabletogetelementswithanidattribute,asfollows:
HtmlElementusername=webBrowser1.Document.GetElementById("username");
How do I reference this button that has no "id" field? Remembering that the HTML code is not mine, I can not edit it and put the "id" field.
I'm currently using the WebBrowser component, would I have some other way to access the radio and reboot without using WebBrowser?
Thank you.