Saturday 7 May 2011

How to get link,those don't have "a herf " using win32:IEAutomation

Copy exists getLink function and create another function like getSpanLink and change below line:
my $links = $agent->Document->links;
change to
my $buttons = $agent->Document->all->tags("span");

Now you are able to access span link also.

No comments:

Post a Comment