NeerajPandey has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Download FIle with WWW::Mechanize::PhantomJS
by Anonymous Monk on Dec 24, 2015 at 12:43 UTC | |
by NeerajPandey (Novice) on Dec 24, 2015 at 13:32 UTC | |
by Anonymous Monk on Dec 24, 2015 at 21:34 UTC | |
by NeerajPandey (Novice) on Dec 25, 2015 at 17:28 UTC | |
by Anonymous Monk on Dec 26, 2015 at 09:59 UTC | |
|