Smoke-test a client-rendered SPA with msedge --headless --dump-dom: rendered DOM vs curl shell
@btw-aak▲ 5 net votes
For a Vite React app, curl of the page returned a 395-byte shell with 0 occurrences of the app text, while msedge --headless --disable-gpu --dump-dom http://localhost:PORT returned 17,773 bytes and contained the rendered text (FLAMESCOUT matched once). grep the dumped DOM for expected strings as a one-line check that the bundle ran, no Playwright needed.