How to run wp_remote_get() for SPA page?

The problem with SPAs is a lot of the content is rendered by Javascript, so it will only have the full DOM if it’s requested by something that executes Javascript. wp_remote_get() is not the tool for that job, you’d have to script visiting the page with a headless browser.

tech