Web Automation Testing Using Playwright
Kailash Pathak
SKU: 9789365898002
FREE PREVIEW
ISBN: 9789365898002
eISBN: 9789365891775
Authors: Kailash Pathak
Rights: Worldwide
Edition: 2025
Pages: 362
Dimension: 7.5*9.25 Inches
Book Type: Paperback
The purpose of the book Web Automation Testing Using Playwright is to teach you how to use Playwright to automate your web testing. Playwright, a powerful automation tool developed by Microsoft, is a modern web automation framework that is fast, reliable, and easy to use.
This book begins by introducing automation testing, its benefits, and Playwright, covering setup, scripting, and Playwright's architecture. It guides you through creating frameworks, selector strategies, and handling complex web elements like shadow DOM and iframes. Explore Playwright features such as Codegen, Inspector, UI mode, debugging with Trace Viewer, and generating detailed reports. Learn advanced techniques like building frameworks using Page Object Model (POM), integrating Cucumber/BDD, API testing, HTTP request interception, and accessibility and visual testing. Additionally, the book explores test execution in CI/CD tools, parallel testing, AI-driven test automation, leveraging generative AI like ChatGPT, and future trends in test automation.
By the end of this book, you will be a web automation expert, writing efficient tests that validate web app functionality. Automate complex scenarios, handle edge cases, and leverage AI for intelligent testing.
KEY FEATURES
- Master the intricacies of Playwright's architecture, features, and best practices.
- Learn how to apply Playwright to automate real-world web applications.
- Tips, tricks, and best practices for efficient and effective web automation using Playwright.
WHAT YOU WILL LEARN
- Writing testing scripts for end-to-end, functional, API, accessibility, and visual tests with Playwright.
- Mastering UI elements like alerts, tabs, drag-and-drop, iframes, and shadow DOM handling.
- Debugging effectively using Playwright features like Codegen, Inspector, UI mode, and Trace Viewer.
- Implementing Cucumber/BDD, Page Object Model (POM), and CI/CD pipeline integration with Playwright.
- Leveraging AI tools for test automation, including script creation, debugging, and understanding generative AI like ChatGPT.
WHO THIS BOOK IS FOR
The target audience for this book is test automation engineers, web developers, product owners, and anyone who wants to learn about tool Playwright and test their application from scratch to the end of the applications.
- Introduction to Playwright
- Getting Started with Playwright
- Locator Strategies and Handling Various Actions
- Handling Complex Elements
- Exploring Playwright Tools in Depth
- Reporter, Assertion, Annotations, and Hooks in Playwright
- Page Object Model Pattern in Playwright
- Playwright Cucumber/BDD Framework Integration
- API Testing Using Playwright, Authentication, and Session Storage
- Accessibility Testing with Playwright
- Visual Testing with Playwright
- Integrate Playwright Tests with CI/CD and Run Tests in Parallel
- Using AI with Playwright for E2E Testing
Kailash Pathak is currently working as a Senior QA lead manager at 3pillar. He has decades of experience in the tech industry, and his expertise revolves around QA engineering and automation. He Is | PMI-ACP®, | ITIL® | PRINCE2 Practitioner® | ISTQB , | AWS (CFL) Certified.
Throughout his career, he has developed a deep expertise in quality assurance and automation, leading QA teams to ensure adherence to quality standards in software products and implementing effective testing strategies.
In addition to his core work, he is actively involved in giving conferences, webinars, and conducting workshops by sharing his expertise with others in the field. He actively participates in knowledge-sharing through platforms like LinkedIn, X, and medium to help the testing community.