The FILE keyword allows easy access to downloaded files
FROM url
|> CLICK ON #some-selector
|> SELECT FILE
It returns a base64 encoded string of the file that was last downloaded if applicable.
On our dummy download page, you’ll notice a button with the selector #download results in a text file being downloaded when clicked on.
FROM https://lsd.so/dummy_download
|> CLICK ON #download
|> SELECT FILE
This should give you the following for the result:
[
{
"FILE": "SGVyZSBpcyBjb250ZW50"
}
]
When you base64 decode the string you’ll find it’s the following contents:
Here is content