- Joined
- Apr 13, 2012
- Messages
- 536
- Reaction score
- 32
Hello , i want to perform click to a button class but i couldnt here is my code
or how can i send enter press to WebBrowser1 control programmatically ? , i tried sendkeys function but couldnt do it , thanks
Any idea ?For Each element As HtmlElement In WebBrowser1.Document.GetElementsByTagName("button")
If element.GetAttribute("class") = "testclassbutton" Then
element.InvokeMember("click")
End If
Next
or how can i send enter press to WebBrowser1 control programmatically ? , i tried sendkeys function but couldnt do it , thanks