A step-by-step walkthrough — no experience needed
Before We Start
Node.js is a runtime environment that lets you run JavaScript outside the browser. Playwright tests run on Node.js — without it, no test can run.
Playwright cannot be installed without Node.js
The package manager — Playwright is installed via npm
Open-source, no subscription required
Powers millions of automation projects worldwide
Open Chrome, Edge, or Firefox and type this address in the URL bar:
You'll see two buttons on the site: LTS (long-term support) and Current. Always pick LTS!
Open your Downloads folder and double-click the file named:
The installer opens. Check "I accept the terms in the License Agreement" then click Next.
Please read the following license agreement carefully.
The installer asks which components to install. Don't change anything — all components, especially npm package manager, are already included.
Select the way you want features to be installed.
Once you've reviewed all the options, click Install. Wait a few dozen seconds while Node.js installs.
Please wait while the Setup Wizard installs Node.js.
Installation is complete. Click Finish — you're done!
Click the Finish button to exit the Setup Wizard.
Open PowerShell or Command Prompt and run these two commands:
v20.x.x.
The core Playwright requirement is ready. What's next:
New beginner guides every week — AI tools, coding, and more