Set up your files and run them with Node.js — no browser needed
Open the Playwright project you set up in Module 0 in VS Code. The folder should look like this:
Right-click in the Explorer → New Folder → create exercises/mod1. Then add a file for each exercise:
In VS Code, go to View → Terminal in the top menu. The terminal panel will open at the bottom of the window.
Type the command below in the terminal and press Enter:
tsxIf npx tsx gives a "command not found" error — install it once: