So I am trying to code a YouTube subscribing button in Vb.net - everything is working smoothly and is done. I just need to know how to subscribe to the user in WebBrowser.

I had the idea of trying this.

WebBrowser.Document.GetElementById("Subscribe Button ID").InvokeMember("click")
However, the subscribe button does not have an ID.

Is there any other way to press the subscribe button in the WebBrowser. - if anyone knows please post it here.

Any Help is greatly appreciated.

Thank You.