Tutorialspoint

Mid-Year Savings Flat 10% OFF, Use Code: MID10

A-Z Selenium WebDriver Locators (CSS, Xpath, more)

person icon Yavor Tsanov

4.2

A-Z Selenium WebDriver Locators (CSS, Xpath, more)

Unique techniques to create impeccable selectors

updated on icon Updated on Jul, 2024

language icon Language - English

person icon Yavor Tsanov

English [CC]

category icon Selenium WebDriver,Software Testing,Development

Lectures -31

Duration -3 hours

4.2

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Students will be perfectly equipped to find the best locator after acquiring the knowledge in this course. In this course students will learn a well defined and highly effective system to help them find the best locator for their needs. With easy set of rules to follow they will not need to change locators because they are flaky. Also, with this set of rules it will be easy to find the fastest and most powerful locator. This will help to reduce the execution time of the tests and avoid some common mistakes that slows them down and makes them easy to fail. This course provides the students with the knowledge for finding the best suitable locator between the most common locators like id, class, partial or full text,  Xpath and CSS. Also, students will be able to tell which locators are least likely to change and break over time and changes in the application/ website. Finally students will learn about how to find elements in the inspect elements tab, locator chaining, what is a search context, how to define search context, how to select a unique element between a list of equal elements in the HTML, what is a DOM Tree.

Goals

  • You will learn how to find and design the best possible Selenium locators and what makes them tick. What are the most frequent mistakes in choosing a selector and how to avoid them. You will learn about speed of each selector and how to find the best performing selector. What is chaining of selectors and how to do that in code or in the inspect elements tab. You will learn the most advanced xpath and css selectors.

Prerequisites

  • Some knowledge about Selenium WebDriver

A-Z Selenium WebDriver Locators (CSS, Xpath, more)

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
7 Lectures
  • play icon What are Selenium Selectors 03:05 03:05
  • play icon Basic selectors in Selenium 07:02 07:02
  • play icon Inspect elements tab 02:57 02:57
  • play icon The most important rules when choosing a selector Part1 05:34 05:34
  • play icon The most important rules when choosing a selector Part2 09:41 09:41
  • play icon Dom structure relationships explained 09:55 09:55
  • play icon Selectors and their speed 06:34 06:34
Xpath selectors
12 Lectures
Tutorialspoint
CSS selectors
6 Lectures
Tutorialspoint
Real life examples
6 Lectures
Tutorialspoint

Instructor Details

user profile image

Yavor Tsanov


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515