Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27569

VS 2008 Click on button id ?

$
0
0
Hello guys i want to click a button who got this ID:

Name:  screenshot_23.png
Views: 60
Size:  7.2 KB

But i dont know how to figure it out...
i tryed
Code:

For Each Element As HtmlElement In WebBrowser1.Document.GetElementsByTagName("button")
            If Element.OuterHtml.Contains("do_signup") Then
                Element.InvokeMember("click")
                Exit For
            End If
        Next

Tryed this:

Code:

WebBrowser1.Document.All("button").InvokeMember("click")
And other codes but it dont work.. anyone can help me ?
Attached Images
 

Viewing all articles
Browse latest Browse all 27569

Trending Articles



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