'Fetch path of recently downloaded file
I'm working on an automation task, where a file gets downloaded and I have to extract path of that downloaded file alongwith name (I know that file will be downloaded in Downloads folder, but I want path for the latest downloaded file only). Ultimately, I want to fetch extension. But I'll be able to fetch extension only when path is available, please help me out with extracting path.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
