The “download trace” option in automations and scripts does nothing in the iOS app, apparently because there is no download manager implemented in the app.
Personally, I would rather the feature (for all apps and browsers) just displayed the trace and copied it to the clipboard. I find dealing with the downloaded file annoying, since I only want to see it or share it. I never want it stored anywhere.