For whatever reason the loop code doesn't seem to work, instead I use
a sleep 5000.
It should work if it's called after Navigate.
I usually use it with WScript.Sleep 100 in
the loop, but it should work either way.
The real issue: Your code works! Well, partially. It prints the
first page, but not the second. There are only 2 pages. The second
page is all images.
The second page? There's only one page that
one navigates to. If there's a page 2, as with many
news articles that run multiple pages, that's just
a link on the first page. You'd have to navigate to
that separately and load it as a second document.