Downloaded file from browser have dynamic name. How I can get a name of that file, so I can extract it and read the content of some files? I know some part of .zip file name, let say the first 4 characters.
Asked
Active
Viewed 24 times
0
-
1Check this one https://stackoverflow.com/questions/34548041/selenium-give-file-name-when-downloading/56570364#56570364, you have options here for multiple languages. And it's been tested. – supputuri Aug 11 '20 at 13:15
-
@supputuri I have my own download folder, but the logic is same, if you use the latest downloaded file, as I sow. – Gaj Julije Aug 11 '20 at 13:30