You can define where you want files to download using desired capabilities. For Chrome it would be:
1.) Open Project > Settings > Desired Capabilities > Web UI > Chrome:
2.) Add a new desired capability, and set Name = prefs, Type = Dictionary, then click on the ellipses in the Value column:
3.) In the Dictionary Property Builder, add a row and set Name = download.default_directory, Type = String, and set Value to the location you would like files to go to:
Now, any files downloaded by your browser will go to that directory. Then, you can follow @emine’s recommendation on how to delete that file when you’re done.
Hope this helps!