Course · Training · Workshop

Playwright

Robust end-to-end tests with Playwright and TypeScript: cross-browser across Chromium, Firefox and WebKit, auto-waiting, API mocking and integration into CI/CD pipelines.

Playwright is a modern end-to-end testing framework from Microsoft designed for reliable and fast tests across all major browsers. With its powerful API, automatic waiting functionality, and comprehensive browser support, Playwright enables robust testing for modern web applications. The framework offers native TypeScript support, parallel test execution, and integrated debugging tools.

What participants say

These customers booked courses in the same topic cluster.More customers →

Content

During the course, we build step by step a comprehensive set of end-to-end tests for a sample application. We focus on the practical application of Playwright:

– Introduction to modern test automation:

  • What is test automation and how do you define its objectives
  • Where is (test) automation really worthwhile
  • Different types of tests and the test pyramid
  • How do I find the right test strategies and test cases – Overview and Architecture of Playwright:
  • Comparison Playwright vs. Cypress vs. Selenium
  • Browser automation and test runner
  • Installation and project setup – Fundamentals of Test Development:
  • Test structure and best practices
  • Selectors and locators
  • Actions and assertions
  • Auto-waiting and retry mechanisms – Advanced Test Scenarios:
  • Forms and user interactions
  • Navigation and multi-page scenarios
  • File upload and download
  • Drag & drop and complex interactions – Browser Context and Isolation:
  • Browser contexts and sessions
  • Cookies and local storage
  • Authentication and login flows
  • State management between tests – API Testing and Mocking:
  • API requests and response handling
  • Request interception and mocking
  • Network monitoring
  • Combination of UI and API tests – Cross-Browser Testing:
  • Tests across Chromium, Firefox, and WebKit
  • Mobile emulation and responsive testing
  • Browser-specific challenges – Visual Testing and Screenshots:
  • Screenshot comparisons
  • Visual regression testing
  • Video recording of tests – Debugging and Troubleshooting:
  • Playwright Inspector and Trace Viewer
  • Debug mode and breakpoints
  • Test reports and logging – CI/CD Integration:
  • Integration with GitHub Actions, GitLab CI
  • Parallel test execution
  • Test sharding and optimization
  • Docker-based test environments – Component Testing:
  • Playwright Component Testing
  • Integration with React, Vue, Svelte
  • Isolated component tests – Playwright best practices:…
  • Patterns
  • Tooling
  • Best practices for everyday use

The course is based on refined and tested course material with explanation, practical exercises, course project with code, solution code, and further information.

You will not only learn these concepts but also implement them practically.

The actual course content may differ from the above depending on the trainer, delivery, duration and the composition of participants.

Request this course in-house

By submitting you accept our Privacy Policy.

Request a public date

No suitable public date? Register without obligation — once there is enough interest we schedule a new public date and let you know first.

Number of participants (approx.)

More than 3 participants? Best to request a dedicated in-house date directly.

By submitting you accept our Privacy Policy.

More about Playwright

Playwright is a modern end-to-end testing framework developed by Microsoft, designed for reliable tests across all major browsers. It provides a unified API for Chromium, Firefox, and WebKit, enabling true cross-browser testing with automatic waiting functionality and robust test isolation.

Further resources:

History

Playwright was developed in 2020 by Microsoft, primarily by Andrey Lushnikov and the team that had previously worked on Puppeteer at Google. The project emerged from the desire to create a modern testing framework that overcomes the limitations of existing tools and provides true cross-browser support.

Development was significantly influenced by experience with Puppeteer, with Playwright adopting many concepts but extending them with a focus on multi-browser support and test stability. Key milestones included the introduction of auto-waiting (2020), Trace Viewer for better debugging (2021), and Component Testing (2022). The integration of Codegen for automatic test generation revolutionized test development.

Today, Playwright is one of the fastest-growing testing frameworks and is used by companies like Microsoft, Bing, and VS Code itself. It has set new standards for cross-browser testing and, with its TypeScript-first architecture and comprehensive browser support, offers a modern alternative to established tools. The active community and continuous development by Microsoft ensure the framework's future viability.