Disclosure: when you buy through links on our site, we may earn an affiliate commission.

A-Z Selenium WebDriver Locators (CSS, Xpath, more)

Learn how to find the perfect Selenium locators that require no maintenance. XPATH, CSS, HTML DOM Tree, Search Context
(7 reviews)
33 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 3h 26m
Language: English
Next start: On Demand

Table of contents


Students will be perfectly equipped to find the best locator after acquiring the knowledge in this course. In this course students will learn a well defined and highly effective system to help them find the best locator for their needs. With easy set of rules to follow they will not need to change locators because they are flaky. Also, with this set of rules it will be easy to find the fastest and most powerful locator. This will help to reduce the execution time of the tests and avoid some common mistakes that slows them down and makes them easy to fail. This course provides the students with the knowledge for finding the best suitable locator between the most common locators like id, class, partial or full text,  Xpath and CSS. Also, students will be able to tell which locators are least likely to change and break over time and changes in the application/ website. Finally students will learn about how to find elements in the inspect elements tab, locator chaining, what is a search context, how to define search context, how to select a unique element between a list of equal elements in the HTML, what is a DOM Tree.

You will learn

✓ You will learn how to find and design the best possible Selenium locators and what makes them tick. What are the most frequent mistakes in choosing a selector and how to avoid them. You will learn about speed of each selector and how to find the best performing selector. What is chaining of selectors and how to do that in code or in the inspect elements tab. You will learn the most advanced xpath and css selectors.


• Some knowledge about Selenium WebDriver

This course is for

• All levels
• Selenium Webdriver, CSS, XPath, QA Engineers, Web Developers, Quality Assurance
QA Lead/ Mentor/Teacher
I have been leading teams and in house academy in the best software giants. I have taught over 6 years offline in different disciplines. Mentoring people at all levels and helping them grow is my passion. Interested in artificial intelligence and deep learning and all kinds of new technology. I myself started to learn new disciplines from courses so i know how important the teacher  and the lectures are.
Browse all courses by on Coursemarks.
Platform: Udemy
Video: 3h 26m
Language: English
Next start: On Demand

Students are also interested in