We need to download PDFs from hyperlinks across multiple transactions, but each link opens the PDF in a new browser tab instead of downloading it. Even after changing the browser settings, the PDFs still open in separate tabs, leaving us with around 30 tabs by the end of the process.
Welcome to the community
you can use go to url instead of clicking to open in same window
also after each transaction instead of keeping tab open you can close it in same iteration as well
cheers
@VamsiNadimpalli Can you try the below approch:
- Capture the PDF URL first instead of clicking it directly.
- Use Download File with that URL, if the link is accessible.
- If clicking is mandatory and it still opens in a new tab, then after the tab opens, use Close Tab or Use Browser to close it once the file is saved.
- If there are many PDFs, consider processing them one by one and closing each generated tab immediately to avoid ending up with 30+ open tabs.