Capture dynamic content (and download pictures)

Hi
I’ve been asked to download all user files from our CRM
In the web UI you put the user id (from a list of IDs), click “Find”
and then you get a list of thumbnails
Finally you need to right-click on each thumbnail, to download each file
(and name the file like user ID)

  1. how can I get each ID from the list?
  2. how can I right-click on each thumbnail, since the number of thumbnails is dynamic?
  3. how can I define the name of the file to be downloaded?

can UI Vision access the DOM ?