AutoClick button in webBrowser?
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-04-09T05:33:13Z
Indexed on
2010/04/09
5:53 UTC
Read the original article
Hit count: 356
What i'm trying to do is automate the clicking of a button if a condition is met but there are other buttons that are on the page that have the same name, but do different things.
Example:
Accept Button-->Some random Text1-->more random Text1 : "onclick=randomwebpage.com/12345.php"
Accept button-->some random Text2-->more random Text2 : "onclick=randomwebpage.com/67890.php"
All Accept buttons belong to the same button class "buttong". How would I simulate a click using the webBrowser controls?
© Stack Overflow or respective owner