Environment Configuration | Bondar Academy
Course: Playwright UI Testing with TypeScript
Module: Introduction
Instructor: Artem Bondar
Lesson Summary
This lesson covers the installation and configuration of your computer to run Playwright , which requires two main components: Node.js and Visual Studio Code (VS Code) . Installing Node.js To install Node.js: Open your browser and go to nodejs.org . Click on the Get Node.js button. Node.js is a virtual environment that allows you to run JavaScript and TypeScript code outside of a browser. It is essential for running Playwright, which is built on these languages. When installing Node.js, always choose the LTS (Long Term Support) version for the best compatibility. Select the appropriate package for your system architecture: Mac OS: Choose x64 for Intel chips or ARM for M chips. Windows: Similar options as Mac OS. Linux: Available as well. Run the installer and follow the default settings to complete the installation. Installing Visual Studio Code Next, install Visual Studio Code : Search for VS Code in your browser. Download and run the standard installer. Validation To confirm successful installation: Open VS Code and launch a new terminal. Type npm -v and node -v to check the versions. Installing Playwright Extension Install the Playwright extension for VS Code: Click on the extensions icon. Search for Playwright Test for VS Code and click Install . Enable Auto-Save Finally, enable auto-save in VS Code to avoid losing changes: Go to File and enable Auto Save . Your computer is now fully configured to run Playwright. In the next lesson, you will learn how to install and run Playwright for the first time.