Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Use Playwright by users without install Node #7840

Closed
mlxgang opened this issue Jul 26, 2021 · 1 comment
Closed

[Question]: Use Playwright by users without install Node #7840

mlxgang opened this issue Jul 26, 2021 · 1 comment

Comments

@mlxgang
Copy link

mlxgang commented Jul 26, 2021

Your question

Hello everyone I use Playwright in my project on Vue+Electron. In Electron builder settings use externals: ['playwright-chromium'] but end users can`t use Playwright module with error:

Looks like Playwright Test or Playwright was just installed or updated. Please run the following command to download new browsers: npx playwright install

How users can use Playwright module without install Node and Playwright? What I can use to package browsers with Electron-Builder?

@dgozman
Copy link
Contributor

dgozman commented Jul 26, 2021

You probably want to use PLAYWRIGHT_BROWSERS_PATH, here are the docs: https://playwright.dev/docs/library#managing-browser-binaries.

See also #2539 for a similar discussion.

@dgozman dgozman closed this as completed Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants