How do I download multiple pdf that are on a website, one below the other? and being able to vary in number, how can I guarantee that I extract them all?
Use for each ui element activity and it can click on each and inside use steps to downlaod and save
cheers
I recommend using Wait For Download activity inside For Each UI Element block and evaluate output to make sure you are corerctly downloading each pdf file
Thanks a lot. But this error appears!
but it’s already inside an attach browser activity! that’s why I don’t get it.
the robot goes, for several users, to a site, extracting the documents that are in its area, on that site.
Attach browser is an old activity…this is a modern activity and it needs use application/browser which is similar to attach browser
Cheers
oh ok, i got it! but now this error message appears. How I know which is the compatible UiPath.uiautomation.activities package?
Are you on a older UiPath studio?
If yes then either the new chrome extension needs to be installed
Or get the selector of the first pdf downlod file and use for loop and increment the idx property to loop through each of the file
Cheers
I’m using MS. edge. my studio is the version 2020.10.2.
For each ui element is a modern activity so may be that is the issue…
Please try the second method of getting the first selector and use idx to loop theoigh each file to download
Cheers
Hi @antonio.paiva
You can use this xaml
TestA.xaml (11.2 KB)
- you do data scraping as follows (see screenshots) (1st value = 1st link , 2nd value = 2nd link), then tick extract URL
-
- loop over extracted table and call http GET to download each file in the table
3.note* - resourcePath is the downloaded path, in my xaml i just download to the project folder
- loop over extracted table and call http GET to download each file in the table
Regards
Mohini
Happy Automation…!!!