Skip to Content
Practical Playwright Test: Next-Generation Web Testing and Automation
book

Practical Playwright Test: Next-Generation Web Testing and Automation

by Jean-François Greffier
January 2026
Intermediate to advanced
288 pages
5h 9m
English
Apress

Overview

Gain cutting-edge skills in crafting reliable, efficient end-to-end tests with Playwright Test. This book is your comprehensive guide to Playwright Test that will help you to create and debug blazing fast tests, and integrate and customize Playwright Test to fit your testing needs. 

The book begins with an introduction to Playwright and teaches you the fundamentals of how to write tests efficiently. The book then gets into concepts like Locators and explains how to set up a CI using Playwright Test. After this, you will gain experience in two important aspects of testing – speed and customization. You will then be taken through a deep dive into Fixtures followed by an exploration of strategies like mocking and emulation through which you can achieve more control of the testing environment. The book also provides a detailed discussion on flakiness and how Playwright Test can help you with it. It then teaches you how to automate tests and ends with a discussion on how Playwright Test changes the landscape of testing, and how to integrate it in your daily practices and testing strategy.

By reading this book, you will become an expert in the specificities of Playwright Test and how to test critical user flows, reduce bugs in production, and ultimately ship reliable software with confidence.

What You Will Learn

  • Create and debug reliable end-to-end tests efficiently with the perfect locators
  • Set up a CI using Playwright Test to get results, test reports and useful traces
  • Understand how to use and write Fixtures
  • Customize Playwright to fit your needs

Who This Book Is For

Frontend developers, full-stack developers, QA Engineers, Software Testers, Test Automation Engineers, QA Leads and QA Managers

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Hands-On Automated Testing with Playwright

Hands-On Automated Testing with Playwright

Faraz K. Kelhini, Butch Mayhew

Publisher Resources

ISBN: 9798868821608