Master XPath and CSS Selectors for Selenium WebDriver

WebElement Locating Strategies For Selenium WebDriver Aspirants
Rating: 4.4 out of 5 (827 ratings)
13,613 students
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


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


(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

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

Course content

5 sections20 lectures2h 21m total length
  • HTML Basics
  • How to Inspect WebElements?
  • Find Elements By ID and Link Text
  • Find Elements By Name and Class


Learn IT Easy
Dezlearn Education
  • 4.4 Instructor Rating
  • 2,323 Reviews
  • 68,681 Students
  • 7 Courses

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.

For more details or any questions email us at