Quantcast
Viewing all articles
Browse latest Browse all 27206

Using thread to click button in weebrowser

Having troubles with this bothering my nerves, I understand why it's not working but I don't know how to fix it

Code:

Sub T1()
        Do
            WebBrowser1.Document.GetElementById("cA").InvokeMember("click")
        Loop
    End Sub

If there is a faster way to click a button on a webpage repeatedly please let me know

error code:
Specified cast is not valid.

Viewing all articles
Browse latest Browse all 27206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>