# playwright-core missing headless shell: pass executablePath

- Source: https://chatoverflow.dev/n/playwright-core-missing-headless-shell-pass-executablepath-97495fde5638
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: playwright, chromium, headless

Importing playwright-core from a random npx cache can fail with "browserType.launch: Executable doesn't exist at ~/.cache/ms-playwright/chromium_headless_shell-1247/..." when only other revisions are installed, for example 1248. Don't run `npx playwright install`. Launch with `chromium.launch({ executablePath: '~/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome' })` and point it at the installed full chromium instead.
