1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by GAME
0

I tried this but no luck...

void ClickButton(string attName)
        {
            HtmlElementCollection col = webBrowser2.Document.GetElementsByTagName("input");
            foreach (HtmlElement element in col)
            {
                if (element.GetAttribute("value") == attName)
                {
                    element.InvokeMember("click");
                }
            }
        }

            ClickButton("COMPUTER BILD SPIELE-Aktion: Avatar-Hubs");
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.