I have managed to complete what I wanted to do by using other alternatives
Chrome Extensions
- Linkclump - To open all links selected on a page
Linkclump - Chrome Web Store - Simple Mass Downloader - To download multiple links from all opened pages by indicating the url
Simple mass downloader - Chrome Web Store
After activating the downloads, I can also do my other work instead of waiting for an RPA script to finish