Hands-On Automated Testing with Playwright
Packt Publishing Limited (Verlag)
978-1-80610-647-9 (ISBN)
- Titel nicht im Sortiment
- Artikel merken
Key Features
Architect resilient test suites using Playwright's advanced APIs
Optimize performance, parallelism, and debugging for complex apps
Integrate cross-browser testing into scalable CI/CD workflows
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionHands-On Automated Testing with Playwright draws from Faraz and Butch’s extensive experience to help you harness the full potential of Microsoft's Playwright framework. The book begins with a quick setup refresher, walking you through intermediate and advanced concepts such as dynamic content handling, accessibility testing, AI-generated test scripts, and parallel test execution.
You'll explore real-world applications with end-to-end testing workflows for e-commerce and single-page applications. Alongside traditional topics like accessibility, mobile, and visual regression testing, this book delves into modern trends such as CI/CD pipelines, DevOps integration, and AI-driven testing enhancements. Each chapter is packed with practical examples, expert techniques, and performance optimization tips, helping you gain a deep understanding of maintainable automation strategies.
Whether you're transitioning from manual testing or expanding your automation toolbox, this Playwright book provides the skills and confidence to build future-proof testing systems in today's complex web development landscape.What you will learn
Set up and configure Playwright for cross-browser testing
Generate and refine AI-powered test scripts
Perform mobile, accessibility, and visual regression tests
Debug with Playwright's inspector and trace viewer
Integrate tests into CI/CD with GitHub Actions
Use page objects and patterns for maintainable code
Simulate real-world user flows in complex apps
Optimize performance and parallelize test execution
Who this book is forThis book is for two main groups. Web developers and test automation engineers with up to five years of experience in JavaScript or similar languages and a solid grasp of web development looking to adopt or deepen their use of Playwright will find this book beneficial. Second, QA professionals transitioning from manual to automated testing with basic scripting knowledge who want to upskill using Playwright will gain from this book as they need clear, relatable examples that bridge manual testing concepts with automation.
Faraz K. Kelhini is a full-stack JavaScript expert, teacher, and author with 10+ years of turning complex web problems into elegant solutions. He has written three highly regarded books: Text Processing with JavaScript, Modern Asynchronous JavaScript, and JavaScript Brain Teasers. Beyond books, Faraz creates interactive courses for Educative, pens in-depth tutorials for LogRocket, and polishes manuscripts as a technical editor for Pearson and Packt. Whether he's architecting enterprise-grade applications, developing essential tooling, or guiding emerging talent, Faraz's mission remains the same: empower developers to write smarter, more efficient code—and have fun doing it. Butch Mayhew is a leading expert in software quality testing and a Playwright Ambassador. As the Head of Quality and Reliability at Tilled, Butch brings testing strategies to deliver robust, high-performance solutions to software engineering organizations. His deep expertise in automation and commitment to precision have led to innovative testing frameworks and accelerated release cycles. Butch's expertise with Playwright has revolutionized end-to-end testing processes within his organizations, enabling teams to build fast, scalable feedback loops that drive maximum value. A graduate of Auburn University, Butch brings over a decade of experience in software quality assurance, consistently pushing the boundaries of what automated testing can accomplish. When he's not crafting resilient test automation, you can find him on the disc golf course or playing retro games with his kids.
Table of Contents
Quick Setup Refresher
Advanced Selectors and Handling Dynamic Content
Browser-Agnostic Testing
AI-Powered Test Generation
Crafting Scalable Test with the Fixture System
Test Parallelization and Performance Optimization
Integrating with CI/CD Pipelines
Headless Testing and Debugging
Accessibility Testing
Visual Regression Testing
Mobile Testing
Testing Forms
Handling File Uploads and Downloads
Security and Authentication
Best Practices for Test Maintainability
Real-World Project 1: Testing an E-commerce Website
Appendix A: Streamlining Playwright in Modern Development Workflows
Appendix B: References & Resources
Troubleshooting and Debugging
| Erscheinungsdatum | 12.08.2025 |
|---|---|
| Verlagsort | Birmingham |
| Sprache | englisch |
| Maße | 191 x 235 mm |
| Themenwelt | Informatik ► Software Entwicklung ► Qualität / Testen |
| ISBN-10 | 1-80610-647-7 / 1806106477 |
| ISBN-13 | 978-1-80610-647-9 / 9781806106479 |
| Zustand | Neuware |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
aus dem Bereich