Ok so I have tried playing around with your suggestion but I'm not sure how to structure this. I have:
and then in the Class Form1 I have:
However this throws an error at run time saying "Unable to cast object of type 'System.Windows.Forms.HtmlElement' to type 'Link'."
Dim lnk As Link
For Each lnk In WebBrowser1.Document.Links
If WebBrowser1.Document.GetElementById(lnk.ToString).InnerText = "Download file from CANSIM (CSV Version, 5kb)" Then
I will keep tossing around some thoughts while I work on this but I am still stuck.