I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-05-03 09:28:09-07 by abeltje in response to 408
Re: extracting links without href
Hmmm... I do not believe that is valid HTML, so I don't know if these links are rendered in the IE automation object. One could try to get them like (untested):
my $doc = $ie->agent->Document; my @links; for ( my $i = 0; $i < $doc->all->length; $i++ ) { my $obj = $doc->all( $i ); next unless lc $obj->tagName eq 'a'; next unless $obj->onclick; push @links, $doc->all( $i ); } # now search @links for $link->innerHTML (the text in the tag) # and try $link->click
W::I::M does not deal with popup windows though.
Direct Responses: Write a response