The regular
type | name=upfile | C:\\fakepath\\test.txt
upload method is still not working.
Update 2021: File upload automation continues to be working fine. But meanwhile Chrome changed its behavior a bit, and you need to enable “Allow access to file URLs” for the RPA extension to allow automated file uploads.