You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
browserType.launchPersistentContext: Executable doesn't exist at C:\Users\myuser\AppData\Local\ms-playwright\chromium-1148\chrome-win\chrome.exe
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ npx playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
This is not mentioned in the instructions. Is it expected behavior? Should I run npx playwright install or will it overwrite the patched browser?
You can run npx playwright install and then run patch the installation with bunx rebrowser-patches@latest patch --packageName playwright. Rebrowser does not actually give you a patched chromium executable, you can use whichever you'd like. It only patches code inside puppeteer & playwright.
That's expected. The drop-in patches Playwright's JavaScript, not the browser, so install a browser the same way as with Playwright: npx playwright install chromium (rebrowser-playwright provides the playwright command). Or use channel: 'chrome' / executablePath with a Chrome you already have. It doesn't overwrite anything patched. #132 adds a note about this to the README. Closing.
Activity
daniellionel01 commentedon Dec 22, 2024
You can run
npx playwright installand then run patch the installation withbunx rebrowser-patches@latest patch --packageName playwright. Rebrowser does not actually give you a patched chromium executable, you can use whichever you'd like. It only patches code inside puppeteer & playwright.rebrowsernet commentedon Oct 18, 2026
That's expected. The drop-in patches Playwright's JavaScript, not the browser, so install a browser the same way as with Playwright:
npx playwright install chromium(rebrowser-playwrightprovides theplaywrightcommand). Or usechannel: 'chrome'/executablePathwith a Chrome you already have. It doesn't overwrite anything patched. #132 adds a note about this to the README. Closing.