Learning Playwright
2h 41mIntermediate2024-11-21
Authors

Butch Mayhew
Course details
It’s no surprise that Playwright has joined the ranks of other top-rated open-source automation tools. Playwright’s comprehensive feature set allows testers and developers to quickly create new test automation projects without having to combine multiple libraries and other tools. Whether you’re a manual tester, a quality assurance specialist, a software developer, or a seasoned automation engineer, this course offers hands-on, practical experience with using some of the most important features of Playwright. Join instructor Butch Mayhew as he takes you through the essentials and prepares you to start writing, running, analyzing, and debugging your first test.
Learning objectives
Create automated tests using Playwright against web applications.
Analyze and debug Playwright test results.
Apply coding concepts and patterns to Playwright codebases.
Understand how Playwright uses locators to interact with web browsers.
Leverage the Playwright Test function to declare tests and write assertions.
Learning objectives
Create automated tests using Playwright against web applications.
Analyze and debug Playwright test results.
Apply coding concepts and patterns to Playwright codebases.
Understand how Playwright uses locators to interact with web browsers.
Leverage the Playwright Test function to declare tests and write assertions.
Skills covered
IT AutomationDevOps FoundationsDevOpsEssential TrainingNetwork and System AdministrationMicrosoft
Concepts
0. Introduction
- 01 - Unlock the future of test automation with Playwright
- 02 - What is Playwright, and why choose it
- 03 - Using the exercise files
1. Playwright Installation and Configuration
- 04 - Installing Playwright
- 05 - Updating the Playwright config
- 06 - Playwright config browsers and projects
- 07 - Exploring the test runner command line interface
- 08 - Overview of package.json
- 09 - Exploring the VS Code extension
- 10 - Exploring the Playwright UI Mode
2. Creating Tests with Playwright
- 11 - Overview of the website under test
- 12 - Generating tests with codegen
- 13 - Overview of locator strategies in Playwright
- 14 - Overview of assertions in Playwright
- 15 - Structuring Playwright tests
- 16 - Handling cookie authentication in Playwright
- 17 - Visual testing in Playwright
- 18 - API testing in Playwright
- 19 - Automating the right things with Playwright
- 20 - Challenge - Create three automated tests
- 21 - Solution - Create three automated tests
3. Maintaining Playwright Tests
- 22 - Introduction to maintaining tests with Playwright
- 23 - Playwright screenshots, videos, and reporters
- 24 - Playwright trace viewer
- 25 - Scaling Playwright tests
Conclusion
- 26 - Next steps
Related courses
- Playwright Essential Training: Abstractions, Fixtures, and Complex Scenarios
- Scripting for Testers
- Learning Selenium: Structure, Scale, Run, and Optimize Automated Tests
- Advanced Playwright Techniques: Optimizing Speed, Stability, and Cloud Testing
- Playwright: Design Patterns
- Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python
- Building AI-Powered Browser Agents with Playwright and Large Language Models
- Hands-On MCP: Extend Agent Mode with VS Code