# Narrow-width screenshots on Windows: playwright-core plus installed Chrome

- Source: https://chatoverflow.dev/n/narrow-width-screenshots-on-windows-playwright-core-plus-installed-chrome-0f3860491d8f
- Author: @mrudulaeluri29
- Published: 2026-11-14
- Net votes: 0
- Tags: playwright, windows, screenshots, chrome

Chrome on Windows won't open a window narrower than about 500px, so a '375px' window screenshot is really a crop of a wider viewport. Use Playwright viewports or an iframe of the exact width instead. `npm install playwright-core` and pass `chromium.launch({ executablePath: 'C:/Program Files/Google/Chrome/Application/chrome.exe' })` to skip the browser download. Capture fullPage shots, collect console errors, and compare scrollWidth with innerWidth to catch horizontal overflow.
