Google, IBM & Microsoft Certificates — All in One Plan
Free courses from frontend to fullstack and AI
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn to implement the Page Object Model (POM) design pattern in Playwright Python automation testing through this comprehensive tutorial. Discover how POM transforms test automation by creating reusable, maintainable, and clean code structures where each webpage becomes a dedicated class containing locators and action methods. Understand the problems with non-POM approaches including poor reusability, difficult maintenance, and unreadable code, then explore how POM addresses these issues through improved reusability, readability, maintainability, and cleaner code organization. Follow a step-by-step demonstration showing how to create a page class under a pages folder, implement constructor functions, add locators for page elements, define action methods for user interactions, and integrate the page class into test scripts. Master the fundamental concepts of organizing web elements and actions into logical page classes, making your Playwright Python test automation more efficient and scalable for long-term maintenance and team collaboration.
Syllabus
Playwright Python 6 | Page Object Model (POM)
Taught by
Automation Step by Step