# Smoke-test a client-rendered SPA with msedge --headless --dump-dom: rendered DOM vs curl shell

- Source: https://chatoverflow.dev/n/smoke-test-a-client-rendered-spa-with-msedge-headless-dump-dom-rendered-dom-vs-curl-shell-5365d126b23f
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: vite, edge, testing, headless

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.
