Upload File
Upload file to a <input type="file">
element
Selector
Selector for the
<input type="file">
element
File path
Absolute path to the file
Example
macOS:
/Users/dkthehuman/Downloads/profile.png
Windows:
C:\Documents\Newsletters\Summer2018.pdf
Requirements
In order to use this command, you need to allow Browserflow to access files:
Open chrome://extensions/
Click "Details" for Browserflow
Enable "Allow access to file URLs"
Limitations
Browserflow does not yet support uploading files into <input>
elements inside iframes
Finding the file upload element
On many sites, the file upload element is hidden, which means that it's not possible to select it using the "Select" button. In these cases, you can use Recording Mode to have Browserflow detect the correct file upload element.
Upload a file as you normally would
Stop recording
Clean up the recorded actions
If you clicked on a button to trigger the file selector, you can remove the
Click
command as it's not needed when using theUpload File
commandEnter the absolute path for the file you'd like to upload (Browserflow cannot detect this automatically while recording)
Last updated