There is a web page that has a bunch of links on it (i.e. "<A
HREF=..."). I am trying to automate clicking on one in a WebBrowser
control. However when I execute the following code:
Dim oCollection As HtmlElementColl ection
oCollection = WebBrowser1.Doc ument.GetElemen tsByTagName("A" )
oCollection.Cou nt is ZERO. I am assuming that I'm not using the
correct Tag Name. I also tried "a" and "link" but they also return no
elements.
What is the correct Tag Name to use?
Is there a list of the possible tag names somewhere?
HREF=..."). I am trying to automate clicking on one in a WebBrowser
control. However when I execute the following code:
Dim oCollection As HtmlElementColl ection
oCollection = WebBrowser1.Doc ument.GetElemen tsByTagName("A" )
oCollection.Cou nt is ZERO. I am assuming that I'm not using the
correct Tag Name. I also tried "a" and "link" but they also return no
elements.
What is the correct Tag Name to use?
Is there a list of the possible tag names somewhere?
Comment