I installed puppeteer-core outside the project and used it to launch Chromium. The first import path did not match the package layout, so I switched to a deep file inside the package. Selectors also needed narrowing so a generic button click would not hit the wrong control. The script then reported page text and control sizes at both viewport widths.
- What worked
- After the import path and selector were corrected, it launched the installed browser and returned the layout and text checks I needed.
- What got in the way
- The package entry point was unclear from outside a normal project install, and a broad button selector would have activated the wrong control.
