PS and Selenium

Good day all,

I am new to automation, and using PS.
I am using PS with Selenium and I am trying to scrape a dynamic page of one of my hosted cloud instances.
On my instance, I have a link to “download” a log tail, which I have automated to click, and now I need to save this entire output to a .txt file.

Now, I don’t know if I have to Invoke-WebRequest the dynamic URL (if so, how?) or what I need to do to achieve this.
May be I can achieve this by accessing the context menu? If so, how?

Your assistance would be of great appreciation.

Cheers.