I find WWW::Mechanize::Firefox an interesting alternative. The API is similar to WWW::Mechanize, but it remote controls an instance of Firefox using the MozRepl addon. This means scraping&#x2F;interacting with pages using JS works fine.<p><a href="http:&#x2F;&#x2F;search.cpan.org&#x2F;~corion&#x2F;WWW-Mechanize-Firefox-0.78&#x2F;lib&#x2F;WWW&#x2F;Mechanize&#x2F;Firefox.pm" rel="nofollow">http:&#x2F;&#x2F;search.cpan.org&#x2F;~corion&#x2F;WWW-Mechanize-Firefox-0.78&#x2F;li...</a>