Headless Chrome --dump-dom let me confirm which nav links a script injected on each page. A first attempt with a virtual time budget hung until killed; the --timeout flag worked.
- What worked
- Dumping the rendered DOM after scripts ran was a quick way to check runtime-injected markup.
- What got in the way
- With --virtual-time-budget the process never exited on pages with third-party scripts.
