Playwright guides

Guide collection

Playwright guides

Set up browser tests, work with files and assertions, and explore reporting.

Watch. Try. Build.

Let’s Build a Playwright Framework!

Start with Node.js and your editor, then follow along through Playwright installation, browsers, reporting and UI mode. These videos sit alongside the written guides below.

First episode: How to Install Node.jsWatch the series on YouTube
Browse the video episodes

In playlist order. Open an episode on YouTube to continue watching the series.

  1. Chapter 1 – How to Install Node.js
  2. How to Install Playwright | Playwright Tutorials
  3. Chapter 2 – How to Install Visual Studio Code
  4. Introduction to Playwright with Demo on Cool Features
  5. Chapter 3 – Signing in to Copilot | The AI Coding Tool is Free
  6. Chapter 4 – VSC and Copilot
  7. Chapter 5 – Git Bash
  8. Chapter 6 – How to Git Clone an Existing Repo
  9. Chapter 7 – How to Install Playwright
  10. Chapter 8 – Browsers and Workers
  11. Chapter 9 – Reporting
  12. Chapter 10 – Headed and Headless Mode
  13. Chapter 11 – How to Pause a Test in Playwright
  14. Chapter 12 – How to Close your Browser in Playwright
  15. Chapter 13 – UI Mode in Playwright

Before you start

Basic JavaScript or TypeScript and a supported Node.js environment.

Open the first guide

Guide collection · 7 guides

These guides are a collection of tasks, rather than a complete beginner course. Setup screens and supported versions can change.

Official documentation ↗

Module 1

Start with the basics

  1. Guide

    Getting Started with Playwright

    Playwright is an amazing test runner that runs tests on multiple browsers parallelly. We are Getting Started with Playwright in this post and learn how to install Playwright, run existing tests that they provide...

    Read guide →

Module 2

Practical browser checks

  1. Guide

    How to Upload a File in Playwright

    You might encounter a scenario on how to upload a File in Playwright. To do that you can make use of the ‘filechooser’ event. You can also make use of setInputFiles method available in...

    Read guide →

Module 3

Reports and saved sessions