Introduction
  • Introduction
Locators and their types
  • What are the locators and why do we need them ?
  • What are the locators and why do we need them ?
  • How to find locators
  • How can you find locators in Chrome DevTools?
  • Practice
  • Terminology. DOM
  • Dom and terminology
  • Absolute path
  • Relative path and task
  • Absolute and relative xpath
  • PDF version
XPATH basics, operators
  • XPATH agenda and intro
  • Search by attribute
  • Arrays
  • Attributes, contain and practice
  • Search by text
  • Search by text + arrays
  • Attribute starts-with. Practice
  • Answer for practice task
  • Using text() and starts-with
  • Logical operators: AND
  • Logical operators: OR
  • XPATH axes
  • Axes: following::
  • Axes: following:: part 2
  • Axes: preceding::
  • Axes: ancestor::
  • Axes: child::
  • Axes: following-sibling
  • Axes: parent::
  • Axes: self::
  • Axes: descendant::
  • Practice on XPATH axes
  • Other helpful functions and practice
  • PDF version
CSS locators
  • CSS locators, search by name and attribute
  • Search by attribute value
  • Search by class and ID
  • Selecting multiple elements
  • Search child elements
  • Search for next and proceeding elements
  • Search by part of an attribute
  • Search by starts with / ends with
  • Search by first child and last child
  • Search nth-child
  • Search by first and last of type
  • Search by nth of type, type vs child
  • Bonus: DevTools additional features
  • PDF version
Bonus: Using ChatGPT for locators
  • Using ChatGPT for locators generation and optimization
  • How ChatGPT can fix the locators and suggest the best one ?
  • ChatGPT and autocomplete