Lobatto has asked for the wisdom of the Perl Monks concerning the following question:
Hey there,
I'm currently working on a script, that should click on a specified link in a website. For this I am using Pelr with the WWW::Mechanize::Firefox module.
I'm trying to use this to click on the Link
use WWW::Mechanize::Firefox; my $firefox = WWW::Mechanize::Firefox -> new ( tab => "current", ); $firefox -> click ({ selector => 'a[href*="2012-06-20"]'});
When I run the script it just does nothing, so I tried to find any CSS selectors on this page, but somehow they cannot be found.
Someone knows a solution to get the CSS selectors ? Kind regards
Update : This is the part of HTML in which I want to access the link<a href="http://feeds.cbsnews.com/~r/podcast_eveningnews_video_1/~5/RL +DkKWpoJSo/cbsnews_2012-06-24-202400.default.flv">cbsnews_2012-06-24-2 +02400.default.flv</a>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: WWW::Mechanize::Firefox CSS Selectors
by Corion (Patriarch) on Jun 25, 2012 at 11:01 UTC | |
by Lobatto (Initiate) on Jun 25, 2012 at 11:21 UTC | |
by Corion (Patriarch) on Jun 25, 2012 at 11:34 UTC | |
by Lobatto (Initiate) on Jun 25, 2012 at 11:38 UTC | |
by Corion (Patriarch) on Jun 25, 2012 at 11:54 UTC | |
|
Re: WWW::Mechanize::Firefox CSS Selectors
by Anonymous Monk on Jun 25, 2012 at 09:52 UTC |