ParseHub is able to integrate with your Dropbox account and directly extract images, screenshots or download files from your run to your Dropbox.
Integrate your ParseHub and Dropbox accounts
1) Click the profile dropdown on the menu screen, and select Integrations
2) Click on Dropbox and then click the Enable button
3) Login to DropBox when prompted to. You'll be notified if the integration is successful.
Download Files to Dropbox
To download files from a run into your Dropbox, use a Select command to select the download button or link for any element you would like to download such as PDF links or swf files. Click on the + sign next to that selection and choose an Extract command.
Click on the drop-down menu and choose the "Download to Dropbox" option:
Please note this function is applicable on the websites which allow you to download files through a download link on the web page. If you are interested in the images which are embedded on the web page, you should use the $e.screenshotToDropbox() option
Download Images to Dropbox
To download images from a run into your Dropbox, use a Select command to select any images you would like to download. Click on the + sign next to that selection and choose an Extract command.
Choose "Screenshot to Dropbox" from the Extract dropdown menu
Extract Screenshots to Dropbox
Similarly to extracting images from a webpage, you can extract screenshots from a run into your Dropbox; use a Select command to select any area you would like to screenshot.
You can "zoom" in and out on elements (select a larger or smaller container):
Click on the + sign next to that selection and choose an Extract command.
Click on the drop-down menu and choose the "Screenshot to Dropbox" option:
Additional parameters: folder name, max time and file name
The functions above can also take two additional parameters to specify the name of the folder you would like to download or save the screenshot to, the maximum amount of time (maxtime) you would like the function to run and whether you would like to use a suggested name ("name-$suggestedName"):
folder parameter: you can either enter a String with the text of the folder name between quotation marks (e.g. $e.downloadToDropbox("My Folder Name") ) or you can enter the name of a previous Select or Extract command (e.g. $e.downloadToDropbox(mySelection) )
maxtime parameter: this sets the maximum amount of time ParseHub will wait in seconds.
name parameter: by default, the file will extract with the run token number. Adding in $suggestedName forces it to find the most relevant name for that file (typically its original name), you can also include additional text by adding "mytext-$suggestedName".
Note that to use this parameter, you will need to set the maxtime parameter to null (e.g. $e.imageToDropbox(null,"myImage-$suggestedName") )