Click on a link that is in the format 111-222-3333(phone number). I have a page that has a lot of links.
How can i Descriptively or using regualar expression to click on a link that is phone number format.
I was trying the below but this script is not working in Production.
Set NW = description.Create() ' Creates a blank description object
NW("micClass").value = "WebTable" ' Objects of type link
NW(" name").value = ""
NW("index").value = 14
Set myP1= Browser("title:=.*").Page("title:=.*")
Set oDesc = Description.Create
oDesc("micClass").value = "Link"
Set collection = myP1.WebTable(NW).Childobjects(oDesc)
Click on the collection found
If collection.count > 0 Then