I would like to print text from webpage https://cicero.blazni.cz/lipsum.php . This page generates words when its loaded. It works fine if the page is loaded in browser, powershell prints the sentence which is changed every 5s. If I close browser, the page is not loaded and invoke-request get just the last sentence loaded.
Is there the way to "run" php and than download information? Or another way to get different result everytime I run my code?
$page = Invoke-WebRequest -Uri https://cicero.blazni.cz/lipsum.php
$reading = $page.parsedhtml.getElementById("rightcol").firstChild.innerhtml
$reading
I hope my question is understandable. Thank you for your time.