Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master XPath and CSS Selectors for Selenium WebDriver
Highest Rated
Rating: 4.6 out of 5(6,646 ratings)
36,543 students

Master XPath and CSS Selectors for Selenium WebDriver

Master XPath & CSS Selectors – The Ultimate Guide to Locating Elements in Selenium WebDriver.
Last updated 1/2026
English

What you'll learn

  • HTML Basics
  • Locating Elements Using ID, Name, Class
  • Creating XPath
  • Creating CSS Selectors
  • Using Locaters in Selenium WebDriver Scripts
  • Using XPath and CSS in Selenium WebDriver Scripts

Course content

7 sections29 lectures3h 19m total length
  • HTML Basics5:48
  • How to Inspect WebElements?4:41
  • Find Elements By ID and Link Text9:02
  • Find Elements By Name and Class10:20

Requirements

  • No prior coding experience required. Anyone willing to learn XPath and CSS Selectors can take this course.

Description

(Please Read) Note: ChroPath extension for Chrome, which is used in this course to inspect the elements, is no more available on Chrome. Please use SelectorsHub extension for the same purpose. Installing and using SelectorsHub is very similar to as that of ChroPath.

For the best video streaming quality, please adjust the resolution from 'settings' at bottom right-hand corner of video player. Choose 1080p or 720p as per your network speed.

This course covers:

  • WebPage HTML Structure Basics

  • Element Locating Strategies

  • Locating Elements By ID

  • Locating Elements By Name

  • Locating Elements By Link Text

  • Locating Elements By Partial Link Text

  • Locating Elements By Class

  • Hands on Exercises on Locaters

  • XPath - Basics

  • XPath - Axes

  • CSS Selectors - Basics

  • CSS Selectors - Advance

To get the maximum benefit from the course, please take a look at following steps explaining 'How to take this course?'

Step 1:  Schedule 30-45 minutes of your time daily for 5 days a week. 'Continuity' is the key.

Step 2:  All sessions are divided in small videos of less than 20 minutes. Watch 2-3 videos daily.

Step 3:  Hands-on exercise is very important. So, immediately try out the programs discussed in the session. Try them on your won. You can download these programs from lecture resources.

Step 4: Assignments with answer keys are provided where-ever necessary. Complete the assignments before jumping on to the next sessions.

Step 5:  If you come across any questions or issues, please feel free to contact me and I will make sure that your queries are resolved.

Wish you all a very happy learning.

Note: All the course videos are in Quad HD. For the best video streaming quality, please adjust the resolution from 'settings' at bottom right-hand corner of video player. Choose 1080p or 720p as per your network speed.


Who this course is for:

  • Anyone who wants to learn Element Locating Strategies in Selenium WebDriver
  • Manual Testing Professionals
  • Selenium Testers
  • Automation Aspirants
  • QE Testing Professionals
  • Automation Test Engineers
  • QE Automation Engineers
  • Software Testing Professionals