Upload
File input helper
Use the upload helper against the current file input ref instead of faking a text field.
Use this page when the browser workflow needs to attach a file, claim a download, or clear a blocking confirmation prompt.
Uploads, downloads, and confirmation dialogs carry timing and state that ordinary clicks and typing do not handle well by themselves.
Treat them as first-class workflow steps and verify their outcomes separately.
Use the upload helper against the current file input ref instead of faking a text field.
Own the next download intentionally when the exact saved file matters.
Treat a pending confirmation prompt as the real gate if the workflow freezes after a click.
Check whether the route narrows the available file behavior.