Xpath And Css Selectors

WebElement Locating Strategies For Selenium WebDriver Aspirants

Last updated 2022-01-10 | 4.5

- HTML Basics
- Locating Elements Using ID
- Name
- Class
- Creating XPath

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

* 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

Course content

6 sections • 22 lectures

HTML Basics Preview 05:48

How to Inspect WebElements? Preview 04:41

Find Elements By ID and Link Text Preview 09:02

Find Elements By Name and Class Preview 10:20

***NEW***SelectorsHub Chrome Extension Preview 03:30

SelectorsHub Tool Preview 01:21

ChroPath (Deprecated. Use SelectorsHub Instead) Preview 05:17

Create XPath Using Attributes Preview 09:34

Create XPath Using Text Preview 05:21

XPath for Dynamic Elements Preview 14:16

XPath Using Parent - Child Relationship Preview 09:37

XPath Using Ancestor - Descendant Relationship Preview 07:54

XPath Using Preceding - Following Relationship Preview 07:51

Absolute XPath Vs Relative XPath Preview 06:32

What is CSS and CSS Selectors? Preview 04:29

Create CSS Selectors Using Attributes Preview 12:23

CSS Selectors for Dynamic Elements Preview 05:10

Create CSS Selectors Using Multiple Attributes Preview 03:38

Advance CSS Selectors Preview 12:16

Creating CSS Selectors Using Child-Node Numbering Preview 05:30