1

I would like to know how to programatically click a link from with in a Winform Web Browser control.

 foreach (HtmlElement linkElement in webBrowser.Document.GetElementsByTagName("A")) { if(linkElement.InnerText == "Helpful Tips") { //Click Functionality } 

1 Answer 1

1

You should be able to do this using the InvokeMember method. Something along these lines:

linkElement.InvokeMember("Click") 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.