I'm developing a twitter management tool for a company that needs to automate the twitter like button.
It turns out that I can not automate the click in any way.
Does anyone have any suggestions on how I can do this?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim allelements As HtmlElementCollection = WebBrowser1.Document.All
        For Each webpageelement As HtmlElement In allelements
            ListBox1.Items.Add(webpageelement.GetAttribute("class"))
            If webpageelement.GetAttribute("class") = "css-1dbjc4n r-sdzlij r-1p0dtai r-xoduu5 r-1d2f490 r-xf4iuw r-u8s1d r-zchlnj r-ipm5af r-o7ynqc r-6416eg" Then
                webpageelement.InvokeMember("click")
            End If
        Next
    End Sub