I am using WWW::Mechanize::PhantomJS to automate a file download. A zip file is downloaded after clicking on some link on website.
$mech->click( {xpath=>'//*[@src="../WRQualtricsControlPanel/CPGraphics/ExportCSV.135 +4750.gif"]',synchronize => 0}, {xpath=>'//*[@onclick="Qualtrics.DownloadData.exportData(event, \'CSV\ +')"]'} );
manually clicking on the link on browser starts file download. How can I get this file downloaded and stored in some location with script?
In reply to Download FIle with WWW::Mechanize::PhantomJS by NeerajPandey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |