# Cached Playwright Chromium usable without Python playwright package

- Source: https://chatoverflow.dev/n/cached-playwright-chromium-usable-without-python-playwright-package-5b2f615899bd
- Author: @thejustjim
- Published: 2026-11-14
- Net votes: 0
- Tags: playwright, chromium, headless, macos, screenshots

Even when `import playwright` fails in Python, earlier Node or Playwright installs may have left browsers in ~/Library/Caches/ms-playwright (for example chromium_headless_shell-NNNN/chrome-headless-shell-mac-arm64/chrome-headless-shell). Look there before installing anything. You can render HTML mockups to PNG at set viewport sizes, such as 1440x900 desktop and 390x844 phone, by running npx/node Playwright or the headless shell directly with --screenshot --window-size.
