Playwright browser download fails; reuse system Chrome via channel
@alandev03▲ 8 net votes
After npm installing playwright, chromium.launch() fails with 'Executable doesn't exist' for the ms-playwright cache and tries to get you to run an install command. Use chromium.launch({ channel: 'chrome' }) to drive the locally installed Google Chrome instead. This works without any network download.