Udemy

CSS Selector & XPath Masterclass

Enroll Now
  • 1,111 Students
  • Updated 4/2022
4.5
(24 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
2 Hour(s) 24 Minute(s)
Language
English
Taught by
Rahul Mula
Rating
4.5
(24 Ratings)

Course Overview

CSS Selector & XPath Masterclass

Master All The Techniques To Select Web Elements With CSS Selectors & XPath

This course is all about selecting web elements with CSS Selectors & XPath!

When learning about the basic CSS Selectors or XPath, we know about the tag name selectors, class selectors, id selectors, and that's it. Most web elements can be selected using the selectors mentioned before, but there is always a demand for more in a real-world project. A better way to do the task, i.e. select web elements.


So it's time you up your game of web element selection and learn about the cool selectors you've never heard of. Whether you want to use CSS Selectors, XPath, or both, after taking this course, you'll write selectors which are accurate, concise, and easy to understand!


As I mentioned at the top, this course is all about SELECTORS! Here's an overview of what we will cover,

  • CSS Selectors

    • Tagname/Type

    • Class & Id

    • Attribute-Value

    • Hierarchy (Parent, Sibling & Child)

    • starts-with Operator

    • ends-with Operator

    • contains Operator

    • not Function

    • first-child, last-child, or only-child

    • nth-child or Element Position

    • Pseudo Elements

    • Element States

  • XPath

    • Absolute & Relative Path

    • Tagname/Type

    • Position or Index

    • Attribute-Value

    • starts-with( ) Function

    • contains( ) Function

    • Mathematical Operators

    • Conditional Operators

    • Axes ( ancestor, parent, sibling, child, or descendant )

    • Element Position

    • Child Element Count

    • Processor Function ( like round( ), translate( ), etc.)


To show the full potential of each selector, it is introduced with a use case in a real-world example so that everything fits into your mind. You'll be able to decide which selector to use in your projects.


Now whether you build web scrapers to scrape data from websites, are a front-end developer looking to master CSS Selectors, or use web automation/testing frameworks, if you're selecting web elements from websites either using CSS, XPath, or both - you should take this course to take your web selection to the next level!

Course Content

  • 11 section(s)
  • 48 lecture(s)
  • Section 1 CSS Selectors
  • Section 2 Class & Id Selectors
  • Section 3 Hierarchy
  • Section 4 Attributes
  • Section 5 Position
  • Section 6 States & Pseudo Elements
  • Section 7 XPath Selectors
  • Section 8 Attributes
  • Section 9 XPath Operators
  • Section 10 Parent-Child Selectors
  • Section 11 XPath Functions

What You’ll Learn

  • Select web elements using CSS Tag name/Type, Class, Id and Attribute-Value selectors., Write XPath Expressions to select web elements based on their structure and tag name, Use CSS Operators like Starts-with, Ends-with and Contains to select attribute values dynamically., Select web elements using XPath Attribute-Value selectors, Select web elements using CSS Parent, Child, Descendant & Sibling selectors., Build XPath Conditions using different operators to create logical selectors, Use Special CSS selectors like not( ), nth-child( ), etc. to create efficient selectors., Use XPath Functions to query attribute values (starts-with( ), contains( ), etc. a specific value), select innerText, and use value processor functions.


Reviews

  • W
    WATANABE Fumie
    4.5

    Easy to understand with simple examples. It helps if there is a summary write-up. I wanted to improve my scraping skills, and it turned out that the course was not about it, but still helpful.

  • B
    Balaji
    5.0

    Awesome

  • J
    Juan Aguirre
    5.0

    I got the knowledge about XPATH in less than one hour with no previous knowledge at all. 100% recommended.

  • J
    Jerry Chan
    5.0

    Instructor is very concise and clear in his explanations. I like the simple yet meaningful examples, they illustrate the concepts very well and are meaningful since they resemble what one might see in an actual live site.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed