<div class="wallet_action" data-ember-action="1097">
<i class ="fa fa-send">..</i>
"Send"
<div class="wallet_action" data-ember-action="1098">
<i class ="download">..</i>
"Request"
How to invoke member on this one, I want to invoke/click the button on the "Send" part of the "Request". I can't make it work, want to get the specific class attribute I desired
PS: The number "1097" and "1098" is not constant, it changes from time to time. How can I click the "Send" / "Request"> Other way that I won't be using the "1097" or "1098" as ToString.
Here's my code for now:
Dim theElementCollection As HtmlElementCollection = NothingtheElementCollection = WebBrowser1.Document.GetElementsByTagName("div")
For Each curElement As HtmlElement In theElementCollection
If InStr(curElement.GetAttribute("data-ember-action").ToString, "1098") Then
curElement.InvokeMember("click")
Timer1.Enabled = False
End If
Next