Hello, I would like to type on twitch.tv chat through my vb .net application. I mean that I type text in program, and then I click send and the program is typing on twitch.tv chat and clicking chat. I know how to do this, but I have a problem, program can't find id of textarea object in twitch chat. Im using this code to type on chat:
But this don't work, so I tried to find the chat area by class name so I used this
This also won't work. Please help me.
Code:
WebBrowser1.Document.GetElementById("ember447").InnerText = "My text"
But this don't work, so I tried to find the chat area by class name so I used this
Code:
For Each webpageelement As HtmlElement In allelemtens
If webpageelement.GetAttribute("className") = "ember-view ember-text-area" Then
webpageelement.InnerText = "My Text"
End If
Next
This also won't work. Please help me.