in reply to Re: How to get an HTML table from the document using WWW::Mechanize::Firefox ?
in thread How to get an HTML table from the document using WWW::Mechanize::Firefox ?
I tried it right after our email exchange, it didn't work for me
Here is a piece of my code:
........ my $id="search_result_next_page_link"; $mech->click({ xpath => qq{//*[\@id="$id"]}, synchronize => 0 }); sleep 2; my @tt= $mech->xpathEx(xpath=>'/html/body/form/div[4]/div/main/div/div +[3]/section/div/div/table/'); print $tt[0]->{innerHTML}; print "\n---\n";
And here is what I get:
>perl search_scotia.pl Use of uninitialized value in print at search_scotia.pl line 37. ---
Property {'innerHTML'} returns nothing...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to get an HTML table from the document using WWW::Mechanize::Firefox ?
by Corion (Patriarch) on Oct 28, 2014 at 20:54 UTC | |
by Smeet2002 (Initiate) on Oct 29, 2014 at 02:25 UTC | |
by Corion (Patriarch) on Oct 29, 2014 at 08:00 UTC |