Skip to content
UdemySoftware TestingPaid courseAll LevelsCertificate

Master XPath and CSS Selectors for Selenium WebDriver (Udemy.com)

Master XPath & CSS Selectors – The Ultimate Guide to Locating Elements in Selenium WebDriver.

Created by: Dezlearn Education

Last updated January 2026

icon
What you will 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

How it compares

Against the other 281 rated Udemy courses in Software Testing on CourseDuck:

  • Rating4.4 out of 5higher than 35% of them
  • Reviews6,760#28 of 282 by number of reviews
  • Length3.3 hoursshorter than 73% of them
  • Last updatedJanuary 2026more recently than 59% of them

icon
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.


icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Dezlearn Education

Dezlearn provides industry standard training on Software Automation Testing Tools & Programming Languages.

Our programs include extensive and hands-on training on Java, C#, Python, Selenium WebDriver, Appium, TestNG, Cucumber (BDD), Continuous Integration (CI), Jenkins, REST and SOAP API Automation, WireMock, Gatling Load Testing.

We motivate our students to keep up a learner’s attitude. Because, it is very important to adopt new technologies to sustain and grow in this ever-changing world of software technology.

icon
More courses by Dezlearn Education

$64.99

$11.99

$64.99

icon
More Software Testing courses

$59.99

$84.99

$10.99

$10.99

$13.99

$149.99

icon
Reviews

4.4

6,760 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Anonymized User on 4/15/2025

I took the course to review some advanced concepts related to XPath and CSS selectors. I liked the content focused on these topics. However, the other Selenium-related videos weren't helpful to me, as I use other automation frameworks like Cypress or Playwright.

By Sven Spickermann on 2/17/2025

The course was a good match and it's excellently explained in general. The only thing that confused me a bit about video 19 (advance CSS selectors) was that while Node1,Node2 does select both Node1 and Node2 as explained, logically it works as an OR not an AND. This was confusing to me as it was explained as if it was an "and" operator, especially when in the previous section it was shown to be used as an "or" operator. But in general I find the course to be excellent, including video 19.

By Subin S on 11/29/2023

great session.. i've always struggled with xpath and css during my selenium testing.. never been a fan of these overloaded techniques and was very frustrated. now i'm able to do my testing without any worries all thanks to this course. thank you for the session.

By Anonymized User on 9/19/2023

The course is really good. But I was not able to execute the code for amazon xpaths and css selectors practices (amazon is asking if it is a robot captcha). It may be something to update for future students.

By Anonymized User on 2/10/2023

Excelente contenido, reforcé los conocimientos que ya tenia adquiridos y entendí y aprendí varios que no tenia una base clara de como funcionaban, por lo que recomendado el curso. No confundir en que se esta enseñando, como encontrar lo localizadores, no en como se ejecuta una prueba automatizada porque veo que varias personas se quejan por eso y no es el objetivo del curso. Excellent content, I reinforced the knowledge that I already had acquired and I understood and learned several that I did not have a clear basis of how they worked, so I recommend the course. Do not confuse what is being taught, how to find the locators, not how to run an automated test because I see that several people complain about that and that is not the purpose of the course.

By Anonymized User on 3/23/2022

For me it is good experience of learning this course because I was knew some basics of HTML but who don't know basic of HTML it quite hard to understand. So I highly suggest before taking this course anyone have to little bit knowledge about HTML.

By Anonymized User on 6/29/2021

Excellente course. Very well explained and straight forward. Maybe documentation for every chapter can be put inside a single file for the whole section so there's just one item to download for each section but, that's just a personal suggestion. Either way, it is an excellent course.

By Pulkit Sharma on 8/15/2020

Thank you so much for taking time and sharing this knowledge via recorded session. Personally I really enjoyed each and every session. I was continuously engaged with all the knowledge throughout the course. Thanks again for this course....Personally Recommended (5 stars from me) Best Regards, #HappyLearning #BeAble

By Anil Kumar Singh on 4/3/2020

Can you please explain why we don't use double for "value" for the e.g. driver.findElement(By.xpath(//tag[@attribute='value']); you have mentioned that we can write "value" as well as 'value' but I didn't see its usage in the whole section. Thanks.

By Anonymized User on 11/4/2019

These series of videos are really for those who work in Front-End Automation. Xpath and CSS Selector Concepts explained in such a way that anybody can become master in creating their own XPath and CSS Selector in real time.

Showing all 10 reviews on CourseDuck

Read all 6,760 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 88 / 100