Hi
Ok so I'm not the most experienced in this field but I'm trying to create a program that visits a page, finds a link and then clicks on it. This is what I have so far:
Any help would be appreciated.
PS Cant use GetElementbyID as there is no visible ID in page source.
Ok so I'm not the most experienced in this field but I'm trying to create a program that visits a page, finds a link and then clicks on it. This is what I have so far:
Any help would be appreciated.
PS Cant use GetElementbyID as there is no visible ID in page source.
Code:
If Web1.Visible Then
For Each elem As HtmlElement In Web1.Document.GetElementsByTagName("a")
If elem.InnerText = "embedded link in href tag" Then
'Invoke("click")?
Exit For
End If
Next
End If