AI-powered learning
Save this course
Mastering XPath for Selenium
This course teaches how to write efficient XPath expressions to locate DOM elements in UI automation, using Puppeteer with JavaScript, for developers and QA engineers.
12 Lessons
1h
Updated 2 weeks ago
Join 2.9 million developers at
Join 2.9 million developers at
Learning Roadmap
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
XPath, or XML path, is a query language used for locating a node from a DOM. It is one of the most common ways of identifying an element while writing Selenium UI tests.
In this course, you will learn various techniques for writing an expression that identifies a complex locator. In the process, you will also learn the tips and tricks of writing an efficient and optimized locator. We have used puppeteer with Javascript to demonstrate evaluating an XPath expression in this course.
This course is designed for both beginner and intermediate level developers, as well as QA engineers who want to master the art of writing effective XPath expressions.
ABOUT THE AUTHOR
Ezify
We can be reached at ezifydeveloper@gmail.com
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources