Mastering Selectors/ Locators for Automation Testing!
What you'll learn
- Understand XPath and CSS Selectors in detail
- The different types of of XPath and CSS Selectors
- Full understand how to construct XPath and CSS Selector when there is no unique attribute available
- How XPath and CSS Selectors are used in Selenium
- The different types of methods available with XPath and CSS Selectors
- The differences between CSS and XPath selectors
Requirements
- Minimal HTML & CSS knowledge is an advantage (but not mandatory)
- Minimal Selenium Webdriver or general automation knowledge would be an advantage (but not mandatory)
Description
Selectors/ locators is at the heart of automation testing. Learning how to identify them (without relying on tools) is a critical skill to becoming an automation tester.
Locators in Selenium, Cypress, WebdriverIO... can be referred to as one of the most critical components required to build effective and robust automaton tests, in turn making your tests become allot less Flaky. Its ideally the building block of all automation tests / scripts. It helps locate the GUI elements through which multiple user actions can be performed. These are one of the important parameters for scripting, and if they end up to be incorrect or brittle, they may lead to script failure. A good scripting base foundation requires elements to be located appropriately
Tools cannot be relied upon, as they do not often provide the most efficient selector/ locator available. Identifying selectors/ locators is also a common question asked in coding exercise during interviews.
This course teaches you:
How to identify selectors/ locators like a pro
Understand the difference between the different types of locators
The best approach to identify them
How to write your own custom locators
How to prepare for interview questions relating to selectors/ locators
How to gain confidence in writing selectors/ locators so you do not need to rely on tools
And more
By the end of this course you will be able to confidently identify and write your own custom locators without needing to rely on tools. This will provide you with the confidence and knowledge to write high quality Selenium test scripts.
Come master this core skill, today!
Who this course is for:
- Complete beginners with no prior knowledge on XPath and CSS selectors
- Manual Testers that would like to learn a core skill used by automation testers
- Selenium testers that would like to improve their XPath and CSS knowledge
- Selenium testers that would like to refresh their Xpath and CSS knowledge
- Anyone that's wanting to learn how to identify elements using the conventional selector / locator approach
Instructor
I’m Gianni Bruno, a Senior SDET and Test Automation Engineer with over 10 years of hands-on experience building scalable automation frameworks, designing API testing strategies, and mentoring QA professionals worldwide.
I’ve helped over 90,000 students grow their automation skills through my top-rated Udemy courses. Whether you’re a complete beginner, a manual tester stepping into automation, or a Test Automation Engineer expanding your skill set, my courses are built for all experience levels.
My courses focus on real-world, project-based learning using tools like:
* Selenium, Cypress, Playwright, WebDriverIO
* Java, TypeScript/JavaScript, and Python with testing frameworks and BDD tools
* Postman and REST API testing
* Cucumber BDD, Behave BDD, and automation bootcamps
Each course is designed to help you:
* Master tools and frameworks with step-by-step guidance
* Build real automation projects, not just watch demos
* Access original and final code files for key lectures
* Use downloadable resources to practice what you learn
What sets my courses apart?
* Real projects - no fluff, just practical content
* Job-ready skills - built to deliver value and results
* Structured for all experience levels
* Original code and practical exercises included
Let’s build your testing skills and confidence together. Whether you're starting out or levelling up, I’m here to help you succeed.
Happy learning,
Gianni