in reply to Re: WWW::Mechanize::Firefox CSS Selectors
in thread WWW::Mechanize::Firefox CSS Selectors
use WWW::Mechanize::Firefox; my $firefox = WWW::Mechanize::Firefox -> new ( tab=>"current", ); $firefox -> get("http://feeds.cbsnews.com/podcast_eveningnews_video_1? +tag=contentMain%3bcontentBody"); $firefox -> click ({selector => 'a'}); <>;
This is the entire script and every time I run it, I get the following error
No elements found for CSS selector 'a' at test.pl line 8
The script doesn't stall, as you mentioned and which is the problem covered in the troubleshooting, it just ends after this message. Somehow I can't access any CSS Selectors on that page
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: WWW::Mechanize::Firefox CSS Selectors
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 |