Currently it seems the default behaviour of puppeteer is to follow redirects and return the DOM at the end of the chain.
How can I make the .goto()
method to stop after the first redirect happened and simply return the html from that first 3xx page when i call page.content() method?