in reply to Mechanizing around Javascript
if ($mech->success()){ [download]
$mech->follow_link( url=> 'https://... [download]