Playwright · Junior · Question 2 of 75
What does npx playwright install do?
- 1Registers Playwright as a global VS Code extension
- 2Downloads the browser builds Playwright needs
- 3Installs the
@playwright/testpackage from npm
Show the answer
Correct answer: Downloads the browser builds Playwright needs
Explanation
Each Playwright version is tested against specific Chromium, Firefox and WebKit builds. npx playwright install downloads them; --with-deps also installs system libraries, which is handy on Linux CI machines.