[Question] What Installing Prerequisites have to be met
I am conviced that someone new to coding and javascript would have difficulties to install playwright.
It would be great if the Installing Prerequisites would be documented in the installation intro.
Two Questions
- Which Installing Prerequisites for playwright do exist
- Which Installation Option (1, 2 or 3, other) would you recommend for a novice?
Installation Option 1
- first install Node.js
- then install npm
- then install playwright
- optional: install an IDE like Visual Studio Code
Or is the following sequence better.
Installation Option 2
- first install Visual Studio Code
- then install Node.js
- then install npm
- then install playwright.
Installation Option 3
For a novice the following might almost seem like a catch-22
- npm recommends to install both node.js and npm using nvm
- playwright recommends to install itself via VS Code
- to install nvm on windows the recommendation is to use WSL - Windows Subsystem for Linux
This means the recommended way for windows is
- Install Windows Subsystem for Linux
- then install nvm
- then install Node.js
- then install npm
- then install Visual Studio Code
- and then install playwright.
A recommendation in the installation guide or here would be very helfpfull and appreciated. Thanks
Thanks for the detail issue @surfmuggle. I am working on a new and simplified getting started guide, one for vscode users and one for cli users and will for sure take your suggestions into consideration. Funnily enough I am also working on WSL so have had to go through the whole installation process just recently too. Will come up with a solution and look forward to hearing your feedback on it.
closing this as docs have been updated and includes installation info for langs that need it