Read a webpage to click the first report generated from that same page

Hi,
I am trying to apply same as Login to website and download - #5 by ArendP
but with a caveat,
I always need to click 2 buttons that will take me to a page (One is a popup, so need to test this one yet), there a report takes around 20min to be generated. Adding the pause is fine, but how can I make sure that after the GET is the 1st report generated, since the names change (with date). In my mind is it possible to GET the page itself, then take the report from the HTML of the page? Thinking what is better way to perform this?

Thank you.

Sure, why not. Get the HTML page then extract the report name using the text functions in EasyMorph, and perform the 2nd request with this name.