- ホーム
- > 洋書
- > 英文書
- > Computer / General
Full Description
Launch bulletproof web applications confidently by writing smarter, faster, and more reliable tests using Playwright with this comprehensive guide
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.
Contents
Table of Contents
Quick Setup Refresher
Advanced Selectors and Handling Dynamic Content
Browser-Agnostic Testing
AI-Powered Test Generation
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
Troubleshooting and Debugging
Real-World Project 1: Testing an E-commerce Website
Real-World Project 2: Testing a Single-Page Application
Modern Workflows and Tools