Using webbrowser component to click button's website.

Posted by George Tas on Stack Overflow See other posts from Stack Overflow or by George Tas
Published on 2010-12-31T18:01:38Z Indexed on 2011/01/01 4:54 UTC
Read the original article Hit count: 167

Filed under:
|

I have seen some examples but nothing works for my problem.

Say you have in a website this html code.

<button onclick="searchClick();" value="SomeValue" type="button" class="submitBtn"><span>Some Button Text</span></button>

How can i retrieve this and perform click using the WebBrowser .NET Component in winforms?

Can't get nothing with GetElementById...or can't seem to find how to use the GetElementsByTag...

Any help appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about webbrowser-control