02-10-2011, 02:24 PM
Hi,
I tried fetching all the links on a webpage using the following code.
But it returns me links which are even not visible on the page. I would like to get only a set of visible links on the current page.
I tried using the "Visible" property as well but it reruns 0 objects.
I tried fetching all the links on a webpage using the following code.
Code:
Set oDesc = Description.Create()
oDesc("micclass").Value = "Link"
Set ChildCount = Browser("name:=.*").page("title:=.*").ChildObjects(oDesc)
num = ChildCount.Count
But it returns me links which are even not visible on the page. I would like to get only a set of visible links on the current page.
I tried using the "Visible" property as well but it reruns 0 objects.