in reply to crawl a full webpage one time
Have you searched the CPAN for PhantomJS? Also see how to get active web page by Perl where you already were pointed towards WWW::Mechanize::Firefox.