Solved - Select specific hyperlinks within HTML table

Few ways:

  1. What if you datascrape that specific column? Are you able to get the Urls? If so, you can use foreach loop and use Navigate to.
  2. Use Find Children and loop all the children, use one of below queries in for each to directly get the links ( did not test) or do GetAttribute inside foreach for “Tag” and perform Click only for “A”

children.Where(Function(s) s.Get("href") isnot string.Empty)

children.Where(Function(s) s.Selector.ToString.Contains("tag='A'"))

  1. to create a dynamic selector inside the loop

"<html title='Debtstream - new files awaiting confirmation' /><webctrl parentname='f_confirm' tableRow='"+rowNum.ToString()+"' tag='A' />"

1 Like