Get 20% off all career paths from fullstack to AI
Finance Certifications Goldman Sachs and Amazon Teams Trust
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This short course demonstrates how to implement the Page Object Model in WebdriverIO. It builds a login-page class with element locators and action methods, references it from a test script, and runs the test.
Syllabus
Intro
What is Page Object Model
Advantages of POM
DEMO How to implement POM in WebdriverIO Project
Sample demo application for testing
Sample Login test
Run demo test
Start of Page Object Model Implementation
Create class for each page
Create object locators in the login page class
Create functions for action on the objects
Refer the class in test script
Run POM test
Outro
Taught by
Automation Step by Step