Microsoft Playwright Training

Test automation skills with Playwright

This course is designed for professionals who want to develop skills in automated browser testing using Microsoft Playwright. You will learn how to set up the Playwright environment, as well as build and execute automated tests. The course focuses on using Playwright in real testing workflows so you can strengthen your automation capability when testing modern web applications. You will also explore techniques that support more reliable and maintainable automation, including synchronisation, debugging, reporting and GitHub Actions. 

Learning objectives
  • Understand the Playwright framework  
  • Install and configure Playwright  
  • Create automated Playwright tests  
  • Configure Playwright Test runner settings  
  • Use locators to identify elements  
  • Perform common automation actions  
  • Apply assertions in automated tests  
  • Capture element attributes in tests 

Key facts

Certification

This is a skills and knowledge-based course with no formal accreditation. 

Who it's for

This course is suitable for professionals who want to learn how to automate web application tests using the Microsoft Playwright framework. 

Prerequisites

Some familiarity with JavaScript or TypeScript is useful. 

Exam information

There is no exam for this course. 

Optional extras

There are no optional extras for this course. 

Pre-course

There is no required pre-course work. Setup instructions can be provided in advance of the course. 

Course syllabus

Dive into the detail of the course by looking at the syllabus below. 

  • Introduction
    • What is Playwright
    • Technology stack
    • Web browsers supported
  • Visual Studio Code IDE
    • IDE requirements
    • NodeJS
    • NPM
    • Installing and configuring VS Code
    • Executing JavaScript in VS Code
  • Playwright Test runner setup
    • Frameworks
    • Installing Playwright Test
    • Creating your first Playwright Test
  • Recording
    • Recording scripts with the inspector
  • Playwright configuration
    • Config file options
    • Config precedence
    • Base URL
    • Web browser options
    • Browser navigation
    • Project definitions
  • Locators
    • Chrome development tools
    • Using ID, class, CSS, text and XPath Chrome extensions
    • Playwright inspector
    • Scoping elements
    • Regular expressions
  • Actions
    • Common Playwright actions
  • Assertions
    • Assertion libraries
    • Web elements
    • Page assertions
    • Locators vs. element handles
  • Capturing element attributes
    • Specific methods
    • Generic methods for capturing data from the web application
  • Synchronisation (waits)
    • Autowait
    • Local timeouts
    • Test spec timeout
    • Global timeout config
    • Static waits
  • Screenshots
    • Capturing screenshots, video and PDFs
    • Image validation
  • Debugging
    • Browser settings
    • VS Code Node debugger
    • Playwright Test debugger with inspector
    • Trace mode
  • API testing
    • The request fixture
    • Executing API tests against a REST server
  • Hooks and test annotations
    • Grouping tests into test suites
    • Skipping tests
    • Using filter tags
    • Hooks
  • Reporters
    • Built-in reporters
    • Allure-Playwright
  • CLI options
    • Command-line execution
  • Parallelism and sharding
    • Executing tests in parallel
    • Sharding across machines
  • Storage states
    • Capturing login storage state and reusing in other tests
  • Page Object Model
    • What is the POM and how to implement it into Playwright Test
  • GitHub Actions
    • Executing tests automatically against GitHub VMs

FAQs

This training introduces the Playwright automation framework and shows how to create automated browser tests for modern web applications. You will learn practical setup, configuration and test development techniques, so you can start applying Playwright within your testing workflow. 

What is Microsoft Playwright?

Microsoft Playwright is a web testing tool used to create and run automated tests for modern web applications. It is designed to support fast, reliable browser testing across platforms including Chromium, Firefox and WebKit. The tool also includes features that help teams record, inspect, debug and scale their automated tests. 

Do I need programming experience for this course?

Some familiarity with JavaScript or TypeScript is helpful, as Playwright tests are written using these languages. If you are new to JavaScript, the course includes an optional JavaScript and TypeScript pre-course chapter to help you understand the basics before working with Playwright. 

What tools are used during the training?

The course covers tools and technologies used when working with Playwright, including NodeJS, NPM and the Visual Studio Code development environment. 

Is there an exam at the end of this training course?

No. There is no exam requirement for this Microsoft Playwright course. 

How long does this training take to complete?

The course length differs depending on your chosen study option. For classroom learners the training will take place over three full days. For those who opt for live virtual classroom it will be five half days. 

What our customers say

“From the offset of our partnership, the customer service offered by TSG has been extremely positive. The pace of response is great, they are incredibly knowledgeable, and we have a very collaborative relationship.” 

Hajrah Saeed, Capability Manager, Home Office

"Good, experienced teacher, well balanced and clear course." 

Jacky Droushoudt, TSG Learner
Why study with TSG?
25+ years' experience

Trusted by individuals, businesses and public sector organisations for over 25 years.

20,000+ learners trained

Join a network of learners focused on developing their software testing skills 

98% customer satisfaction

TSG trainers are frequently rated as ‘good’ or ‘excellent’ by our learners

Speak to our team
Guidance from experienced advisors

If you’re unsure which course aligns with your technical requirements or career direction, we’ll help you assess your options and choose with confidence.  

Build capability
Develop skills that support real delivery outcomes

From software testing to broader digital skills, we work with you to design learning that strengthens capability, improves performance, and supports long-term business goals.

Quote request

Please complete the form to ensure your quote is accurate and we will contact you soon.

Page {{ step }} of 2

Back Next